** Description changed: + [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 + dpkg-deb --control subprocess returned error exit status 2 Errors were encountered while processing: - /tmp/autopkgtest.4vFMyL/1-autopkgtest-satdep.deb + /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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1947810 Title: autopkgtest-satdep.deb unpack fails on Debian images To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1947810/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs