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

Mathew Hodson 1926771 at bugs.launchpad.net
Thu Jul 22 23:37:40 UTC 2021


** Changed in: wslu (Ubuntu Focal)
   Importance: Undecided => Medium

** Changed in: wslu (Ubuntu Impish)
   Importance: Undecided => Medium

** Tags added: unmetdeps

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1926771

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

Status in wslu package in Ubuntu:
  Fix Released
Status in wslu source package in Focal:
  New
Status in wslu source package in Impish:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wslu/+bug/1926771/+subscriptions




More information about the Ubuntu-sponsors mailing list