[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Use of dpkg --print-architecture in xserver-xfree86.config



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:

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

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

malcolm@arthur:~$ dpkg --print-installation-architecture
i386



Reply to: