On 8 May 2012 06:51, Marcin Juszkiewicz marcin.juszkiewicz@linaro.org wrote:
W dniu 06.05.2012 16:06, Michael Hope pisze:
Hi there. Hopefully an easy question but I'm stumped. How do I install the armel softfp libc6 on a new Precise armhf install?
I set APT::Architectures to { "armel" } and then tried a apt-get install libc6:armel but I get errors about the package not matching the host architecture.
echo 'foreign-architecture armel' >>/etc/dpkg/dpkg.cfg.d/multiarch echo 'deb [arch=armel] http://ports.ubuntu.com/ precise main universe'
/etc/apt/sources.list.d/armel.list
apt-get update apt-get install libc6:armel
Ah, that's the magic. The sources.list entry isn't needed as apt automatically includes any foreign architectures in the update. Probably only works as armhf is also on ports.ubuntu.com.
-- Michael