Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-15-2008, 02:47 PM   #1
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 75
Request To Install Packages Already Installed?

OK - I am using Debian Lenny and noticed that the update notification utility wants me to update a kernel I don't want to use. Which is fine however it wants to install 2.6.22-3-686 and I recently installed 2.6.22-3-686-bigmem.

Now my question is how do I tell Debian I don't want this update and remove it from my update list so I never am prompted again to install it.

2nd question is why in the world is Debian asking me to install a file / package that already appears to be installed on my system to begin with...

tunafish:~# dpkg --get-selections | grep "linux-image"
linux-image-2.6-686				install
linux-image-2.6.22-3-686			install
linux-image-2.6.22-3-686-bigmem			install


**Please don't respond with "just install it and remove / purge after" as I find that to be a lazy and cluttered solution**
Old 03-15-2008, 04:16 PM   #2
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 53
echo "2.6.22-3-686 hold"|dpkg --set-selections # to hold the package
echo "2.6.22-3-686 install"|dpkg --set-selections # to unhold the package

apt-cache policy linux-image-2.6-686 # will show the installed/upgradable package versions.
Old 03-15-2008, 05:21 PM   #3
Registered: May 2007
Distribution: Debian
Posts: 754

Rep: Reputation: 59
You probably have something like "linux-image-2.6-686" installed. That is a virtual kernel package: there's no real kernel there, but it has as a dependency whatever -686 kernel is available for your Debian box (given your sources list and current package list). So, it keeps trying to install the -686 kernel for your branch of Debian - even if you have already installed a different kernel, as you have. (The -686-bigmem is different than just -686.) Some people like to have this since it will make sure to upgrade your kernel whenever an upgrade is available to a newer series. I find it to be a pain in the ass.

To see what you have installed already, do this:
aptitude search linux-image | grep ^i
Then, if you only want the -bigmem kernel, remove the "virtual -686" one (eg, linux-image-2.6-686") and anything else you don't want.

Finally, if you want to always stay in the most current series of the -bigmem kernel, install "linux-image-2.6-686-bigmem"

Man this thread seems familiar:


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
how to save a list of installed packages and install these packages later mandavi Ubuntu 5 09-07-2009 12:36 PM
Install falls over once 69% of packages installed digjoh Debian 1 03-05-2008 09:53 PM
Packages installed that weren't selected during install Moonman Red Hat 6 01-10-2008 05:08 PM
What default packages are installed on a Server install of Redhat 7? thekillerbean Linux - Software 9 05-03-2006 12:35 AM
apt is confused, trying to install packages that are already installed tomj88 Debian 10 09-11-2005 07:33 PM

All times are GMT -5. The time now is 12:02 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