Hi,

I noticed today that xserver-xfree86 fails to configure if gcc is not
installed, this appears to be due to the use of dpkg --print-architecture:

[EMAIL PROTECTED]:~$ dpkg --print-architecture
i386
[EMAIL PROTECTED]:~$ sudo dpkg --remove gcc
(Reading database ... 11128 files and directories currently installed.)
Removing gcc ...
[EMAIL PROTECTED]:~$ dpkg --print-architecture
dpkg: warning, architecture `i386-none' not in remapping table
i386-none

I think dpkg --print-installation-architecture should be used instead:

[EMAIL PROTECTED]:~$ dpkg --print-installation-architecture
i386

Reply via email to