LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 03-15-2008, 01:47 PM   #1
carlosinfl
Senior Member
 
Registered: May 2004
Location: Orlando, FL
Distribution: Debian
Posts: 2,895

Rep: Reputation: 73
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...

Code:
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

Example

**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, 03:16 PM   #2
makuyl
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, 04:21 PM   #3
Telemachos
Member
 
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:
Code:
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: http://forums.debian.net/viewtopic.php?t=25139
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 11:36 AM
Install falls over once 69% of packages installed digjoh Debian 1 03-05-2008 08:53 PM
Packages installed that weren't selected during install Moonman Red Hat 6 01-10-2008 04:08 PM
What default packages are installed on a Server install of Redhat 7? thekillerbean Linux - Software 9 05-02-2006 11:35 PM
apt is confused, trying to install packages that are already installed tomj88 Debian 10 09-11-2005 06:33 PM


All times are GMT -5. The time now is 11:40 PM.

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