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

Unmet dependencies problem in CrossToolchains



Hello all,

I tried to install crosstoolchain packages for arm and powerpc architectures on GNU/Linux 7.7 (wheezy) distro with kenel debian 3.2.0.4-686-pae #1 SMP Debian 3.2.63-2+deb7u2 i686 GNU/Linux. Here is a list of command sequence I used, this manual I took from here.

debootstrap sid sid
chroot sid
Added "deb http://emdebian.org/tools/debian/ jessie main" in "/etc/apt/sources.list"
curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key |apt-key add -
dpkg --add-architecture powerpc
dpkg --add-architecture armel
sudo apt-get update

Everything goes fine untill the moment I want to install crossbuild-essential-armhf package, the command
apt-get install crossbuild-essential-armhf

gives me

The following packages have unmet dependencies:
 crossbuild-essential-armhf : Depends: gcc-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
                              Depends: g++-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Attempts to install crossbuild-essential-powerpc with this command
apt-get install crossbuild-essential-powerpc

gives me

The following packages have unmet dependencies:
 crossbuild-essential-powerpc : Depends: gcc-powerpc-linux-gnu (>= 4.9.1-1) but it is not going to be installed
                                Depends: g++-powerpc-linux-gnu (>= 4.9.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

All attempts to intall missing dependencies for powerpc architecture leaded to:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Unable to locate package gcc-powerpc-linux-gnueabihf
 
For arm croosstoolchain, it ends up with
The following packages have unmet dependencies:
 g++-arm-linux-gnueabihf : Depends: g++-4.9-arm-linux-gnueabihf (>= 4.9.2-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

What did I do wrong? How could I satisfy missing dependencies?? Thank you in advance.

Kind Regards,
Oleg

Reply to: