I belive I've encountered this before and discovered that packages that
refuse to be installed using apt-get can be installed using aptitude.
Might want to give that a try first.

Cheers,
Carlo


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of James Gray
Sent: Tuesday, 14 March 2006 10:59 AM
To: SLUG
Subject: [SLUG] Ubuntu Kernel Updates

Some may have seen the latest Ubuntu Security Notice (USN-263-1) which
requires a new kernel.  Now like many, I like my systems to run as slick
as possible and I've manually installed a 686 kernel on my lappy and
uninstalled every other "linux-image*" package.

This is a problem.  Because the new kernel is a new package (not just a
version increment) it wont be installed with an "apt-get upgrade" or
even and "apt-get dist-upgrade".  This problem burnt me when I went from
Hoary->Breezy on my AMD64 machine too; the underlying system was
upgraded but not the kernel.  All manner of freaky juju then occurred
until I manually grabbed Breezy's kernel, then balance was restored to
the force. ;)

There is an EASY solution  though!  There are a number of meta-packages
that
*always* depend on the latest kernel for a given architecture:
linux-image-386
linux-image-686
... etc

Here's (a subset) of what apt has to say about the linux-image-686
package:
Package: linux-image-686
Source: linux-meta
Version: 2.6.12.16
Depends: linux-image-2.6.12-9-686
Description: Linux kernel image on PPro/Celeron/PII/PIII/PIV.
 This package will always depend on the latest kernel image available
for Pentium Pro/Celeron/Pentium II/Pentium III/Pentium IV.

As these are updated to depend on the new kernel, when a new kernel is
released you get it by virtue of the meta package's dependence on it.
See how it works?

Just thought with the looming release of Ubuntu 6.04 (Dapper Drake) and
the recent security update, I'd share my (limited) insights to the
wonderful world of apt on Ubuntu :)  (BTW - I'm pretty sure Debian does
things the same way, just double check the package names).

Cheers,

James
--
I didn't get sophisticated -- I just got tired.  But maybe that's what
sophisticated is -- being tired.
                -- Rita Gain
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to