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

Launchpad Bug Tracker 1926771 at bugs.launchpad.net
Mon Jun 28 04:45:12 UTC 2021


You have been subscribed to a public bug by Patrick Wu (callmepk):

[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

** Affects: wslu (Ubuntu)
     Importance: Undecided
     Assignee: Patrick Wu (callmepk)
         Status: Fix Released

** Affects: wslu (Ubuntu Focal)
     Importance: Undecided
     Assignee: Patrick Wu (callmepk)
         Status: New

** Affects: wslu (Ubuntu Impish)
     Importance: Undecided
     Assignee: Patrick Wu (callmepk)
         Status: Fix Released

-- 
[SRU] Hard dependency on desktop-file-utils not declared
https://bugs.launchpad.net/bugs/1926771
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list