Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

linux headers for debian armhf and gcc

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
cswl
Posts: 6
Joined: 2015-06-23 12:51

linux headers for debian armhf and gcc

#1 Post by cswl »

I'm running debian testing on my armhf machine.
I need to install linux headers after searching with apt-cache. I ran the command

Code: Select all

sudo apt-get install linux-headers-3.16.0-4-all-armhf
But it says it will also install gcc-4.8..
I checked my gcc version which is 4.9. and running. sudo apt-get install gcc . says gcc is already the new version.

How do i install the headers without installing gcc-4.8

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: linux headers for debian armhf and gcc

#2 Post by Head_on_a_Stick »

Post the output of:

Code: Select all

apt-cache policy gcc
deadbang

reinob
Posts: 1196
Joined: 2014-06-30 11:42
Has thanked: 99 times
Been thanked: 47 times

Re: linux headers for debian armhf and gcc

#3 Post by reinob »

cswl wrote:I'm running debian testing on my armhf machine.
I need to install linux headers after searching with apt-cache. I ran the command

Code: Select all

sudo apt-get install linux-headers-3.16.0-4-all-armhf
But it says it will also install gcc-4.8..
I checked my gcc version which is 4.9. and running. sudo apt-get install gcc . says gcc is already the new version.

How do i install the headers without installing gcc-4.8
It wants 4.8 because that's (presumably) the version with which the kernel was compiled.

cswl
Posts: 6
Joined: 2015-06-23 12:51

Re: linux headers for debian armhf and gcc

#4 Post by cswl »

Installing the linux-headers-3.16.0-4-common does not pull in the old gcc.

Thanks for the helps..

Post Reply