[Popcon-developers] Bug#529393: More info
Guillem Jover
guillem at debian.org
Mon Jun 1 19:04:38 UTC 2009
reassign 529393 popularity-contest
found 529393 1.47
thanks
Hi,
On Mon, 2009-06-01 at 20:07:53 +1000, 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.
What you are seeing is unrelated to the filed bug report, as
“dpkg --print-installation-architecture” exits with 0, please don't
mix issues. dpkg already checks for a usable PATH in some operations,
and should have given a proper error message in that case anyway.
If you can reproduce this other issue, please file a bug report against
dpkg including apt and dpkg log files, so that we can track it down.
My guess is that the problem is somewhere else though.
regards,
guillem
More information about the Popcon-developers
mailing list