dselect error: foreign architectures enabled but multi-arch is not supported
LANG=C ; dselect select
dselect: error: foreign architectures enabled but multi-arch is not supported
Maybe we should add "Please try another package manager for now. For example aptitude or .." to the error message.
Or should we remove package dselect completely from amd64 arch if it is not able to handle it?
Bug or feature request to add multi-arch support to dselect and what to do if you want to continue using it.
Description: Ubuntu 12.10
apt-cache policy dselect
*** 1.16.7ubuntu6 0
Same from Debian dselect: no support for multi-arch
grep -n -A2 -B4 "foreign architectures" dselect/main.cc
366- // XXX: Multi-Arch is not supported, bail out.
367- for (arch = dpkg_arch_
368- if (arch->type == arch_foreign)
369: ohshit(_("foreign architectures enabled but multi-arch is not supported"));
authorGuillem Jover <email address hidden>
Tue, 31 Jan 2012 18:57:18 +0000 (19:57 +0100)
committerGuillem Jover <email address hidden>
Wed, 1 Feb 2012 05:31:46 +0000 (06:31 +0100)
"The selection code does not support multi-arch at all, so do not even try to run it if there's a foreign architecture configured."
OK so if I reverse the patch it is working as before in precise. mulit-arch selection is not working great but at least it can do other things like before quantal 12.10.
apt-get source dselect
Reverse patch in dselect/main.cc
dpkg-buildpackage -b -us -uc
dpkg -i dpkg -i dselect_*.deb