[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do I upgrade my stock kernel via aptitude?

Douglas Tutty wrote:
On Mon, Dec 18, 2006 at 09:26:44PM -0500, Grok Mogger wrote:
Hey everyone,

I am running a 2.4.27 kernel that came with my sarge system, no fancy custom stuff. I recently got a Debian Security update telling me about these vulnerabilities in the 2.4 kernel, and so naturally I'd like to upgrade to the 2.4.27-10 kernel.

I'm imagining that since I'm just using a stock kernel, this should be as simple as "aptitude upgrade $KERNEL-PACKAGE". Unfortunately, I can't quite seem to figure out what $KERNEL-PACKAGE should be. "aptitude search $whatever" turns up all sorts of kernel related results, and I don't see an obvious one that makes sense. "aptitude upgrade" also doesn't seem to upgrade my kernel.

I hate to ask the list what seems like such a basic question, but I've spent quite a bit of time on this and am just getting more confused. Seems like it should be easy, but maybe not...?

I think you forgot to update the list of available packages.
If you use aptitude interactively (just aptitude with no parameters),
hit 'u' to update aptitude on what packages are avilable.  You will then
get a tab of 'upgradable packages'.  hit enter on this list to see what
all are wanting upgrading.  If you hit '+' on this list tab it will
select all the upgradeable packages.  Hit 'g' to see what all aptitude
wants to do, edit the list if you must, then hit 'g' again to tell it to
do so.

You can do all this from the command line but I always use the UI to


Hmm.... interesting, I tried doing what you suggested, and didn't get a list of upgradeable packages. Which is what I expected, because I upgrade often and if I do an "aptitude upgrade" it also doesn't upgrade anything. I always run "aptitude update" followed by "aptitude upgrade".

But then I hit 'g', and I get two lists. One very short one of "Packages to be installed" and a very LONG "Packages to be removed". It looks like it wants to remove just about everything I've ever installed. I used to use apt-get maybe that's the problem?

I looked at my Installed Packages > base > main > kernel-image-2.4.27-2-386 package, and I noticed that at the bottom under "Versions" it says 2.4.27-10sarge1. From what I gather from the Debian Security e-mail, I should see 2.4.27-10sarge5 if my kernel is up to date.

Also, if I do 'uname -r' I get "2.4.27-2-386" is that what I should see with an up to date kernel? Sorry for so many questions, but I am thoroughly confused now and if someone could help me out, I'd really appreciate it.

- GM

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.24/592 - Release Date: 12/18/2006 1:45 PM

Reply to: