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

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



hendrik@topoi.pooq.com wrote:
On Mon, Dec 18, 2006 at 10:59:34PM -0500, Grok Mogger wrote:

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".

I'm puzzled that you say you "always" run aptitude and lust below you say you used to use apt-get. Don't you then "always" get the two-lists you mention?
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?

Yes, probably. Aptitude simply doesn't know which packages you wanted to install as opposed to which packages were just installed because another package wanted them. Go through the list and type '+' on each
package you want because you really use it directly.

Then type 'q' to get out of the 'g' mode and type 'g' again. I believe that it will then recompute the lists of packages to be installed and removed. Repeat until happy.

There may be problems with packages which are needed but which you are unaware you need.

Also, be aware that until aptitude starts actually installing or uninstalling something, or until you leave aptitude, control-U undoes the last thing you did -- and repeated control-U can back you all the way out to where you were doing nothing -- unless you hit an aptitude bug, of course.

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.

If you're using the 2.4 kernels, I suppose that's the one you need.
But I believe sarge also provided 2.6-era kernels, which should work, but may give you headaches with udev and hotplug.

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.

Thanks,
- 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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




Thanks for the help everyone, I finally got this cleared up. Would have taken me forever without everyone's help.

For the curious:
I had kernel-image-2.4.27-2-386 installed. I actually have a Pentium Pro, so I'm not quite sure why I had this kernel package installed. I noticed that there were two packages that both looked more appropriate called...

kernel-image-2.4.27-2-686
kernel-image-2.4.27-3-686

The description for both of these said that they were for a PPro/Celeron/P3/P4 or something like that.

I noticed the difference between these two packages seemed to be the "Version" (as displayed by typing 'aptitude show $PACKAGE').

kernel-image-2.4.27-2-686
  Version: 2.4.27-10sarge1

kernel-image-2.4.27-3-686
  Version: 2.4.27-10sarge5

Naturally, I installed kernel-image-2.4.27-3-686. Now I'm just wondering why kernel-image-2.4.27-2-686 even exists....



Finally, thanks to Hendrik for the advice on how to clear up my problems with aptitude left over from my apt-get days. Worked great. =) I had never noticed this problem before because I still usually use aptitude from the command line... as one would use apt-get / apt-cache.

Thanks again everyone,
- GM


--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM



Reply to: