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

Unable to install package gcc-4.7-arm-linux-gnueabi



Hello.

I try to setup a debian wheezy machine to cross compile a debian system for arm.
I’m having trouble to get packages installed. If i’m wrong here at the mailing list please let me now.

This is how my sources.lst looks like:

#
# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official i386 NETINST Binary-1 20141018-11:52]/ wheezy main
#deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official i386 NETINST Binary-1 20141018-11:52]/ wheezy main

deb http://ftp.de.debian.org/debian/ wheezy main
deb-src http://ftp.de.debian.org/debian/ wheezy main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

# wheezy-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ wheezy-updates main
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main

# Add embedded debian repositories
deb http://www.emdebian.org/debian wheezy main
deb-src http://www.emdebian.org/debian wheezy main


I did an apt-get update and an apt-get install emdebian-archive-keyring. So i do not get any NO_PUBKEY error - fine.

Next i try to install gcc-4.7 for arm. I’m doing this like;

  apt-get install gcc-4.7-arm-linux-gnueabi

Which ends up in 

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:
 gcc-4.7-arm-linux-gnueabi : Depends: libgomp1-armel-cross (>= 4.7.2-5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Ok. Now when i try to install libgomp1-armel-cross like this:

  apt-get install libgomp1-armel-cross

This leads to a:

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:
 libgomp1-armel-cross : Depends: gcc-4.8-base-armel-cross (= 4.8.2-1) but it is not installable
E: Unable to correct problems, you have held broken packages.


Ok. So we try to pull in gcc-4.8-base-armel-cross 

  apt-get install gcc-4.8-base-armel-cross

But this ends in 

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gcc-4.8-base-armel-cross is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'gcc-4.8-base-armel-cross' has no installation candidate


When running a

  apt-cache search gcc-4

i get 4.4, 4.5, 4.6 and 4.7 but no entries for 4.8.


I guess ‘wheezy’ is stable so i should not get package problems like they may appear in testing or unstable.
What am i doing wrong?
Do i have to build 4.8 from sources using an installed gcc-4.7?

Can someone shed some light on this?

regards
Andi


Reply to: