[Bug 1947810] Re: autopkgtest-satdep.deb unpack fails on Debian images
Athos Ribeiro
1947810 at bugs.launchpad.net
Wed Oct 20 01:04:41 UTC 2021
A possible solution here would be to force the dpkg-deb operation to use
a different compression format until https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=892664 gets sorted out (patch proposal attached).
This would enable developers running Ubuntu to perform autopkgtest tests
against Debian before submitting patches there.
A PPA with the proposed patch is available at
https://launchpad.net/~athos-ribeiro/+archive/ubuntu/autopkgtest-
zstd/+packages
** Bug watch added: Debian Bug tracker #892664
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892664
** Patch added: "1-5.17ubuntu1.debdiff"
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1947810/+attachment/5534460/+files/1-5.17ubuntu1.debdiff
--
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:
New
Bug description:
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