Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
smooOffline
Post subject: stop automatic kernel headers installations?  PostPosted: 20.10.2010, 15:46



Joined: 2010-10-20
Posts: 10

Status: Offline
Hi, all,

New kernel headers want to be installed on nearly dist-upgrade I do. (For example, I'm running the 2.6.35-4.slh.15-aptosid-686 kernel at the moment, but linux-headers-2.6.35-7.slh.5-aptosid-686 wants to get installed this morning.)

Is there a way to disable all of these header installs until I request 'em?

Thanks,
smoo
 
 View user's profile Send private message  
Reply with quote Back to top
towoOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 20.10.2010, 16:01



Joined: 2010-09-13
Posts: 497
Location: Pößneck / Thüringen
Status: Offline
apt-get purge linux-image-2.6-aptosid-i686 linux-headers-2.6-aptosid-i686
 
 View user's profile Send private message  
Reply with quote Back to top
smooOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 20.10.2010, 16:07



Joined: 2010-10-20
Posts: 10

Status: Offline
Bingo. Thanks, towo!
 
 View user's profile Send private message  
Reply with quote Back to top
slamOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 20.10.2010, 18:37
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
If you want to just stop the headers to be upgraded (check if you actually need them), just remove linux-headers-2.6-aptosid-i686. That way kernels will be upgraded, but headers not.
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
myloOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 20.10.2010, 22:42



Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
slam,

interesting! Are you willing to spend some minutes to detail/explain in some words what consequences, dis-/advantages this might/can have? This to understand or to see a more complete picture of header and kernel.

Thanks in advance!

_________________
Regards
mylo

Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
sx9Offline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 21.10.2010, 09:07



Joined: 2010-09-12
Posts: 219
Location: Wiesbaden,Germany
Status: Offline
I know when you remove the headers, some kernel modules can't be compiled anymore, so I everytime leave them where they are (And I need them for development purposes).

_________________
My new self-made computer:
Intel Core i7-2600k
ASUS Maximus IV Gene-Z (Mainboard)
2x4GB DDR3 RAM
ATI Radeon HD 6770
OCZ Vertex 3 60GB (SSD)
Western Digital Caviar Green WD20EARX 2TB (HDD)
...
aptosid x86_64
 
 View user's profile Send private message Send e-mail Yahoo Messenger  
Reply with quote Back to top
slamOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 21.10.2010, 09:54
Team Member


Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
linux-image-2.6-aptosid-i686 is a meta-package, doing nothing else than installing the newest kernel with every dist-upgrade. linux-headers-2.6-aptosid-i686 does the same for the kernel headers. If your system runs without any extra compiled kernel modules, you do not need the headers. If you e.g. depend on proprietary graphics drivers from Nvidia or ATI, use Virtualbox, then you will need the headers.
Greetings,
Chris

_________________
an operating system must operate
development is life
my Debian repo
 
 View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number 
Reply with quote Back to top
broweOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 21.10.2010, 16:00



Joined: 2010-09-12
Posts: 152
Location: Canada
Status: Offline
Many of slh's tweaks give performance and security. I've chosen to remove these packages however, and monitor kernel changes here: http://svn.berlios.de/wsvn/fullstory/li ... /changelog and decide when to install manually. If a kernel patch is small and wouldn't affect anything on my machine I skip the upgrade.
 
 View user's profile Send private message  
Reply with quote Back to top
myloOffline
Post subject: RE: stop automatic kernel headers installations?  PostPosted: 21.10.2010, 19:20



Joined: 2010-09-11
Posts: 116
Location: Wiesbaden, Germany
Status: Offline
slam,

thanks for the info. That makes the interconnections/relations inbetween understandable for me!

_________________
Regards
mylo

Linux 3.1-6.slh.1-aptosid-amd64 x86_64[2010-03 Ἀπάτη (201012262151)]
Intel Core2 Duo E6550 @ Cache/Ram 4MB/4GB nVidia G72 7300 nouveau 2*250GB
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio