[Pkg-ia32-libs-maintainers] Bug#531515: Processed: Re: Bug#531515: ia32-apt-get: breaks "dpkg --control" (>= 1.15.1) and debsums
Goswin von Brederlow
goswin-v-b at web.de
Fri Jun 12 19:20:32 UTC 2009
Hi,
thank you for starcing the problem. Too me it looks like debsums calls
dpkg-deb in an undocumented (although not uncommon for tools in
general) way:
4: /usr/bin/dpkg-deb --control -- /var/cache/apt/archives/bzip2_1.0.5-2_amd64.deb /tmp/gD4mFRK2gm/DEBIAN
According to the manpage the syntax is:
-e, --control archive [directory]
There is no mention in the docs that dpkg-deb supports "--". Maybe
because it is such a common option.
Your patch isn't correct though, at least not complete. Think of this
invocation:
dpkg-deb --control -- /var/cache/apt/archives/bzip2_1.0.5-2_amd64.deb
In that case, despite having 3 arguments, the DIR has to default to
$(pwd)/DEBIAN. I guess there is no way around fully scanning the
arguments and counting the valid bits. That should allow the use of
the "-D" option as well.
MfG
Goswin
More information about the Pkg-ia32-libs-maintainers
mailing list