четверг, 16 января 2014 г.

Решение проблемы с зависимотями при установке кросскомпилятора arm в Debian Wheezy. Depends: libgmp3c2 but it is not installable.

При установке компилятора для arm я столкнулся с небольшой неприятностью, а иммено:
root@debian:~# apt-get install -f  g++-4.4-arm-linux-gnueabi
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 g++-4.4-arm-linux-gnueabi : Depends: gcc-4.4-arm-linux-gnueabi (= 4.4.5-8) but it is not going to be installed
                             Depends: libgmp3c2 but it is not installable

E: Unable to correct problems, you have held broken packages.
можно добавив в /etc/apt/sources.list
deb http://www.emdebian.org/debian squeeze main
deb http://ftp.us.debian.org/debian squeeze main contrib non-free

Вот собственно и все.