[SRU] Hard dependency on desktop-file-utils not declared

Bug #1926771 reported by Clement Cherlin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wslu (Ubuntu)
Fix Released
Medium
Patrick Wu
Focal
Won't Fix
Medium
Patrick Wu
Impish
Fix Released
Medium
Patrick Wu

Bug Description

[Impact]

This bug will cause installation issues once LP #1911432 SRU Process complete.

[Test Case]

 * checkout the ubuntu/master branch on wslu GitHub or launchpad repository;
 * Run the autopktest with command "autopkgtest path/to/folder -- null" in Ubuntu 20.04 on WSL1 and WSL2.
 * View the result of the test, it should be passed with 7 Windows Explorer open and 3 webpage open on the default browser.

[Regression Potential]

The potential regressions would be a result of badly generated ~/.config/wslu/, or a badly merged package.

[Original Bug Report]

Context:
Manual upgrade (via updating sources.list, not do-release-upgrade) of Windows Store version of Ubuntu 20.04 to 20.10 failed.

Expected:
wslu declares all required dependencies as mandatory dependencies (Depends:).

Actual:
wslu's post-installation script requires desktop-file-utils, but wslu declares desktop-file-utils as a recommended dependency (Recommends:).

Attempting to install wslu 3.2.1-0ubuntu1.1 without desktop-file-utils installed results in the following error:

E: Sub-process /usr/bin/dpkg returned an error code (1)
Setting up wslu (3.2.1-0ubuntu1.1) ...
/var/lib/dpkg/info/wslu.postinst: 13: desktop-file-install: not found
dpkg: error processing package wslu (--configure):
 installed wslu package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of ubuntu-wsl:
 ubuntu-wsl depends on wslu; however:
  Package wslu is not configured yet.

$ lsb_release -rd
Description: Ubuntu 20.10
Release: 20.10

$ apt-cache policy wslu
wslu:
  Installed: 3.2.1-0ubuntu1.1
  Candidate: 3.2.1-0ubuntu1.1
  Version table:
 *** 3.2.1-0ubuntu1.1 500
        500 https://atl.mirrors.clouvider.net/ubuntu groovy-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     3.2.1-0ubuntu1 500
        500 https://atl.mirrors.clouvider.net/ubuntu groovy/main amd64 Packages

Tags: unmetdeps
Patrick Wu (callmepk)
Changed in wslu (Ubuntu):
status: New → Confirmed
assignee: nobody → Patrick Wu (callmepk)
Patrick Wu (callmepk)
Changed in wslu (Ubuntu):
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package wslu - 3.2.3-0ubuntu2

---------------
wslu (3.2.3-0ubuntu2) impish; urgency=medium

  * debian/control:
    - fix a Depends syntax error in the previous changes

 -- Sebastien Bacher <email address hidden> Thu, 13 May 2021 13:01:07 +0200

Changed in wslu (Ubuntu):
status: In Progress → Fix Released
Patrick Wu (callmepk)
summary: - Hard dependency on desktop-file-utils not declared
+ [SRU] Hard dependency on desktop-file-utils not declared
Patrick Wu (callmepk)
description: updated
Iain Lane (laney)
Changed in wslu (Ubuntu Hirsute):
assignee: nobody → Patrick Wu (callmepk)
Changed in wslu (Ubuntu Focal):
assignee: nobody → Patrick Wu (callmepk)
no longer affects: wslu (Ubuntu Hirsute)
Mathew Hodson (mhodson)
Changed in wslu (Ubuntu Focal):
importance: Undecided → Medium
Changed in wslu (Ubuntu Impish):
importance: Undecided → Medium
tags: added: unmetdeps
Revision history for this message
Brian Murray (brian-murray) wrote :

I'm unsubscribing the sponsors team as I don't see anything to actually sponsor or upload here.

Changed in wslu (Ubuntu Focal):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.