Author |
Message |
smoo
|
|
Post subject: stop automatic kernel headers installations?
Posted: 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 |
|
|
|
|
 |
towo
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 20.10.2010, 16:01
|
|

Joined: 2010-09-13
Posts: 522
Location: Pößneck / Thüringen
Status: Offline
|
|
apt-get purge linux-image-2.6-aptosid-i686 linux-headers-2.6-aptosid-i686 |
_________________
Code:
System: Host: Defiant Kernel: 4.15.0-towo.1-siduction-amd64 x86_64 bits: 64 Desktop: Cinnamon 3.4.6
Distro: siduction 13.2.0 December - xfce - (201312310323)
|
|
|
|
 |
smoo
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 20.10.2010, 16:07
|
|

Joined: 2010-10-20
Posts: 10
Status: Offline
|
|
|
|
 |
slam
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 20.10.2010, 18:37
|
|
Team Member

Joined: 1970-01-01
Posts: 607
Location: w3
Status: Offline
|
|
|
|
 |
mylo
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 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
|
|
|
|
 |
sx9
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 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
|
|
|
|
 |
slam
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 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
|
|
|
|
 |
browe
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 21.10.2010, 16:00
|
|

Joined: 2010-09-12
Posts: 157
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. |
|
|
|
|
 |
mylo
|
|
Post subject: RE: stop automatic kernel headers installations?
Posted: 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
|
|
|
|
 |
|