Bug#287034: Attempted chroot on --unpack
Package: dpkg
I have observed that when dpkg --unpack is attempted using the --root
option, a chroot into the --root option is attempted in the preinst
script step. However, an --unpack is not supposed to even run the
preinst scripts, so this chroot is unnecessary.
I am observing this problem when trying to unpackage a .deb file into a
Debian Installer image. I do not have a desire, time, nor need to create
a .udeb file (without pre/post scripts) for this package.
Would it be a suitable fix to prevent the chroot in the case of a
--unpack, as it is known that the script will not need to be executed?
--
Jerry Haltom <wasabi@larvalstage.net>
Feedback Plus, Inc.
Reply to: