[Bug 1947810] Re: autopkgtest-satdep.deb unpack fails on Debian images

Brian Murray 1947810 at bugs.launchpad.net
Fri Dec 17 16:27:28 UTC 2021


Hello Athos, or anyone else affected,

Accepted autopkgtest into impish-proposed. The package will build now
and be available at
https://launchpad.net/ubuntu/+source/autopkgtest/5.16ubuntu2 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
impish to verification-done-impish. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-impish. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: autopkgtest (Ubuntu Impish)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-impish

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

Title:
  autopkgtest-satdep.deb unpack fails on Debian images

Status in autopkgtest package in Ubuntu:
  Fix Released
Status in autopkgtest source package in Impish:
  Fix Committed

Bug description:
  [Impact]

  dpkg defaults to the zstd compression format for compressing the
  members in a deb package archive. This compression format is not
  supported in Debian. Therefore, running autopkgtest from an Ubuntu
  (21.10) host on a Debian target fails, since autopkgtest uses dpkg-deb
  to generate the autopkgtest-satdep.deb package.

  [Test Plan]

  For any package with dep8 tests, run

  $ autopkgtest-build-lxd images:debian/sid
  $ autopkgtest ./. -- lxd autopkgtest/debian/sid/amd64

  and verify it fails with:

  autopkgtest [18:32:17]: build needed for binaries
  autopkgtest [18:32:24]: ERROR: "dpkg --unpack /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb" failed with stderr "dpkg-deb: error: archive '/tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb' uses unknown compression for member 'control.tar.zst', giving up
  dpkg: error processing archive /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  Errors were encountered while processing:
   /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb

  Then, upgrade the package to the version with the proposed fix and re-
  run the tests

  $ autopkgtest ./. -- lxd autopkgtest/debian/sid/amd64

  Finally, verify the error no longer occurs.

  [Where problems could occur]

  We will be enforcing the xz compression format. While this is
  available in dpkg throughout all supported Ubuntu releases, this could
  become an issue for targets that do not support such compression
  format. In this case, the  change would need to be reverted or changed
  to a compression format supported by older versions of dpkg (i.e.,
  gz).

  [Other Info]
   
  This have been fixed in jammy on 5.19.

  [Original message]

  Since impish, dpkg defaults to the zstd compression format for
  compressing the members in a deb package archive [1,2].

  However Debian zstd support efforts are still in progress [3].

  Therefore, running autopkgtest from an Ubuntu (>= 21.10) host on a
  Debian target fails, since autopkgtest uses dpkg-deb to generate the
  autopkgtest-satdep.deb package.

  For instance, running the following commands for a given package

  $ autopkgtest-build-lxd images:debian/sid
  $ autopkgtest ./. -- lxd autopkgtest/debian/sid/amd64

  results in the following error:

  autopkgtest [18:32:17]: build needed for binaries
  autopkgtest [18:32:24]: ERROR: "dpkg --unpack /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb" failed with stderr "dpkg-deb: error: archive '/tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb' uses unknown compression for member 'control.tar.zst', giving up
  dpkg: error processing archive /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb (--unpack):
   dpkg-deb --control subprocess returned error exit status 2
  Errors were encountered while processing:
   /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb

  [1] https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1923845
  [2] https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1923845/comments/34
  [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664

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




More information about the foundations-bugs mailing list