Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-23-2011, 12:49 PM   #1
LQ Newbie
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Custom kernel and apt-upgrade

I use debian squeeze, and upgraded the kernel with the latest source from (2.6.38). Everything is fine, except when I try to upgrade software/security, it also try to update the linux kernel (to linux-image-2.6.32-5-amd64).

My current kernel, from apt-cache,

linux-image-2.6.38-amd64 - Linux kernel binary image for version 2.6.38-amd64

apt-get upgrade --show-upgraded

The following packages will be upgraded:
base-files console-setup desktop-base gdm3 gedit gedit-common git gnome-screensaver google-chrome-stable ia32-libs keyboard-configuration libnautilus-extension1 libnm-glib-vpn1 libnm-glib2 libnm-util1 libpulse-mainloop-glib0
libpulse0 linux-base linux-image-2.6.32-5-amd64 linux-libc-dev nautilus nautilus-data network-manager python python-minimal sudo sun-java6-bin sun-java6-jdk sun-java6-jre ttf-liberation usb-modeswitch-data xserver-common
xserver-xephyr xserver-xorg-core xserver-xorg-video-intel
35 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 159 MB/182 MB of archives.

How to prevent this?

Old 03-23-2011, 02:46 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,701

Rep: Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566Reputation: 566
Pin linux-image-2.6.32-5-amd64 to its current version (search apt pinning), or uninstall it? But I don't see a problem with having a 2.6.32 kernel and a 2.6.38 kernel installed. You seem to have properly built the 2.6.38 kernel as a .deb and installed it that way, so letting apt upgrade the 2.6.32 kernel should be harmless. Just check that 2.6.38 remains the default choice in grub after.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom kernel && apt-get upgrade props666999 Debian 5 08-01-2008 07:03 PM
apt: keeping custom kernel: equivs? pin? HowDoIProgramIt Debian 11 08-21-2007 02:18 PM
Apt wants to upgrade the same kernel I have foodhater Debian 14 03-18-2006 10:34 AM
apt-get upgrade does not upgrade my kernel halfpower Debian 5 12-11-2005 10:53 AM
Can't apt-get After Kernel Upgrade halfpower Debian 8 10-13-2005 12:38 PM

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration