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 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org