[Bug 1978931] Re: `debsums -c` returns the error of /sbin/start-stop-daemon

Launchpad Bug Tracker 1978931 at bugs.launchpad.net
Thu Jul 13 18:05:02 UTC 2023


This bug was fixed in the package ubiquity - 22.04.20

---------------
ubiquity (22.04.20) jammy; urgency=medium

  [ Steve Langasek ]
  * Whenever removing packages, use apt-get autoremove --purge instead of
    apt-get purge so that no-longer-used dependencies are removed together
    with the package in question, and we do not leave behind any packages
    that will be reported as autoremovable later.  LP: #1925265.
  * bin/oem-config-remove-gtk uses aptdaemon to remove packages, not
    apt-get.  Set the flag to autoremove dependencies here as well.

  [ Nick Rosbrook ]
  * tests: modify test_city_entry to adapt to tzdata update (LP: #2022965)

  [ Shih-Yuan Lee (FourDollars) ]
  * Use dpkg-divert /sbin/start-stop-daemon unconditionally instead of just
    renaming it conditionally.  (LP: #1978931)

 -- Steve Langasek <steve.langasek at ubuntu.com>  Mon, 05 Jun 2023
14:36:01 -0700

** Changed in: ubiquity (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1978931

Title:
  `debsums -c` returns the error of /sbin/start-stop-daemon

Status in OEM Priority Project:
  Fix Committed
Status in ubiquity package in Ubuntu:
  Fix Released
Status in ubiquity source package in Focal:
  New
Status in ubiquity source package in Jammy:
  Fix Released

Bug description:
  [Impact]

   * Affects Canonical OEM images for Dell on focal and jammy

  [Test Plan]

   * Built Canonical OEM images for Dell on focal or jammy that includes
  the latest Ubiquity packages from *-proposed or *-updates.

   * Use the customized image to install Ubuntu system

   * Install debsums after the installation to check the system.

  [Where problems could occur]

   * N/A

  [Other Info]

   * I have built and included the customized Ubiquity packages that
  included the patch for focal and jammy so there should also be no
  problem after we finished the SRU updates.

  [Original Bug Description]

  1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu
  Description:	Ubuntu 22.04 LTS
  Release:	22.04

  2) The version of the package you are using, via 'apt-cache policy pkgname' or by checking in Software Center
  ubiquity 22.04.16

  3) What you expected to happen
  `debsums -c` returns no error.

  4) What happened instead
  `debsums -c` returns the error of /sbin/start-stop-daemon

  We made the OEM jammy base image for Dell that contains dpkg
  1.21.1ubuntu2 and then use dell-recovery (Ubiquity plugin) fish
  mechanism to install/upgrade dpkg 1.21.1ubuntu2.1.

  Because Ubiquity will rename it to /sbin/start-stop-daemon.REAL and provide a fake /sbin/start-stop-daemon during the installation.
  When installing newer dpkg, /sbin/start-stop-daemon will be replaced. However Ubiquity will rename /sbin/start-stop-daemon.REAL back to /sbin/start-stop-daemon after the installation.
  So /sbin/start-stop-daemon will be kept as the older one.
  That is why the issue happens.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1978931/+subscriptions




More information about the foundations-bugs mailing list