Re: Unmet dependencies problem in CrossToolchains

Neil Williams <[email protected]> Fri, 16 Jan 2015 09:18:54 +0000
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
On Thu, 15 Jan 2015 23:16:42 +0100
Oleg Popkov <[email protected]> wrote:

> 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 
> <https://wiki.debian.org/CrossToolchains>.
> 

> debootstrap sid sid
> chroot sid
> Added "deb http://emdebian.org/tools/debian/ jessie main" in 

No. Wrong repository. You may want packages from Debian experimental
but emdebian.org is the wrong place.

> "/etc/apt/sources.list"
> curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key 
> |apt-key add -

That is NOT on the page you describe! That key has been revoked and
must never be trusted! The instructions relate to adding the cross
toolchains from unstable, not emdebian.

> 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

> What did I do wrong?

Drop the Emdebian repositories and remove the revoked emdebian key from
your apt key list.

> How could I satisfy missing dependencies?? Thank 
> you in advance.

Use Debian experimental or just install without using the
crossbuild-essential-* meta package.

Throw that chroot away and start again using only Debian mirrors.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUuNd+AAoJEPFn5DyBQ7aCchAP/08SQug3sY1EBQnu88US3f47
FhyGUSiRfo9eEQ0CGviyzT2lzc0QofVa0bp6pdAp45L/i1DrRP/lKF53cdr0P198
9WcyH1hy8pXmVJ0RZuJGoBrAH1JjwkxwGxzSJiFV7cpCleLkVmVyreOLzR2FUmMl
4YnIwcTHySsHKItydW/jVKo+E4cMRI8dbGleuzon5vWJPZ/DDEbbcGjq73xjcG8u
y62R6JpQcOxD9lZ0WYDVGU8V3XHk0pg39g4KbsT78YGajh8PYMl081v0KJSMhg4X
7qy7sjCQ2HkULMQnIGcTXB793Rzmafx3LxpCyyr7XDxBEjdvCf9Vt+uAtG1s1u2S
ts80hQlG095LvWQxPmB/MJ2LYLsUHI5C3WvcsrfNRd/41faCe6SUIK5KsqyK2gmn
4ppMC+PEVt2uOaAo23LrhAR9NrnN3ZEl2jcZ4h3UH7X/HtfdDT0e2LyZTCDWo8bt
/Ts9gNCM5xosO7/+JnjKS8CAqEXLBVzwrPBMg6WOVWyS//xSdxFpkNJN44vYYtkr
7B9h+s4BU9VVjOVo4W7CoIS6igrDF47ky/7O4fXizBi04KnaWdUbo4yQwJ+iRRIA
Rf+IEP9iNpY/4GenPLen0njZP45JCqDAw0bW+yckCW/TLtEQ4TIcVakV7xdSiTN9
MCMDK3HS2j7ZjPgeJXab
=eRku
-----END PGP SIGNATURE-----