With my particular issue:

> Preconfiguring packages ...
> dpkg: warning: obsolete option '--print-installation-architecture', please
> use '--print-architecture' instead.
> E: Sub-process /usr/bin/dpkg returned an error code (2)

was due to dpkg being run without the PATH environment variable
being set (I was running in a chroot).

This bug could be fixed if dpkg checked the environment for the  PATH
variable and it if is empty, setting it to some sensible default.

Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to