On Thu, 29 Dec 2005 12:59:33 -0800
Carl Lowenstein <[EMAIL PROTECTED]> wrote:
> On 12/29/05, John H. Robinson, IV <[EMAIL PROTECTED]> wrote:
> > Carl Lowenstein wrote:
> > > I have been running Ubuntu 5.10 for a couple of months now. There
> > > have been some kernel upgrades during that time, and older versions of
> > > the kernel are still present in /boot and show up in the GRUB menu.
> > > What is the approved (Debian-oriented) method of doing this?
> >
> > If you have been using apt-get instead of aptitude, you can ``apt-get
> > remove''. You can also ``dpkg --remove'' (dpkg -r) the packages.
>
> Of course, in the "newbie" mode, I have been using whatever is the
> Ubuntu equivalent of Fedora's "up2date". That is, responding to a
> prompting icon with "yes". So I don't know exactly what it did.
>
> > Neither will remove dependencies that are no longer required. This is a
> > job for deborphan.
> >
> > If you have been using aptitude(1) to install packages, then ``aptitude
> > remove'' will remove, and any non-required dependencies.
> >
> > > Is this a job for "# apt-get remove"? What is the best way to get the
> > > package names that belong to these older kernel versions?
> >
> > % COLUMNS=200 dpkg -l | grep \^i.*kernel-image | awk '{print $2}'
> >
> > There is probably an easier way, but this is the way that is easiest for
> > me (though I usually leave off the awk)
>
> Eventually one finds out that the files are called "linux-image" in
> the Ubuntu context. And "#apt-get remove" seems to have done the job,
> including cleaning up the GRUB menu.lst.
>
> Now if I only knew the version difference between files with name and version:
> linux-image-386 2.6.12.16.1
> linux-image-2.6.12-10-386 2.6.12-10.25
> That is, what's with a dot or a dash after the third field in the version
> name.
> This is a job for Samuel F.B. Morse, to distinguish the dots from the dashes.
>
I believe that linux-image-386 is a basic or dummy type of package, sort of
like a meta package to distinguish your the 386 kernel from the 686 kernel and
probably the amd64 and ppc kernels as well.
The package called linux-image-2.6.12-10-386 is the version with 2.6.12 being
the linux version and the -10 being the ubuntu revision number, because they
don't upgrade kernel numbers between releases, so they probably backport the
security fixes. On my ubuntu system I just went through and removed the old
linux-image packages, and because I use the 686 set I also removed all of the
386 packages and once they were removed I was able to remove the
linux-image-386 package, which I'm guessing will mean that I don't get asked to
install anymore 386 kernels.
All the above info is based on my observations and is not backed up by any
research whatsoever. ;)
Dovber Shapiro
> carl
> --
> carl lowenstein marine physical lab u.c. san diego
> [EMAIL PROTECTED]
>
> --
> [email protected]
> http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie