reassign 529393 popularity-contest 1.47 thanks Please don't hijack bugs and don't falsely reassign it once you have identified that your bug is about something else...
I reported the bug and I am a dpkg maintainer. If you have another problem that differs from the one that I reported (undesired usage of dpkg --print-installation-architecture by popcon) please file a new bug (and on the right package if possible). On Mon, 01 Jun 2009, Erik de Castro Lopo wrote: > 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. 1/ The part "Preconfiguring packages" is not run by dpkg but by debconf with dpkg-preconfigure. 2/ Dpkg does verify/ensure the PATH is sane when running installation scripts. You should be more precise on how the problem can be reproduced. 3/ The warning displayed above is the consequence of some "config" script that calls dpkg --print-installation-architecture and nothing more. It's probably unrelated to your problem. 4/ The apt-get error message might be misleading... are you sure that dpkg is failing and not dpkg-preconfigure ? dpkg is usually verbose when it fails and we should see an error message displayed. Don't discuss this in this bugreport however, copy the relevant info in a new one against debconf/dpkg/apt-get or whatever is most likely responsible of the problem according to your tests. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org