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

Re: apt-get upgrade and kernel images



Andris Kalnozols <andris@hpl.hp.com> wrote:

> lpans1# dpkg -l | grep kernel-image
> ii  kernel-image-2 2.4.23-1       Linux kernel image for version 2.4.23 on PPr
> ii  kernel-image-2 2.4.24-2       Linux kernel image for version 2.4.24 on PPr
      ^^^^^^^^^^^^^^

Note that the package name is truncated with "dpkg -l"
(cf. dpkg-query...).

> lpans1# apt-get upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following packages will be upgraded:
>   console-common console-data console-tools ddd gettext gettext-base
>   gettext-el kernel-image-2.4.24-1-686-smp libconsole libgphoto2-2
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[...]

> Why is apt-get now bringing in kernel-image packages and needlessly so
> since I already have the indicated version installed?

What you underlined is the package _name_, not version. If you want to
know the versions, you can use "dpkg -l kernel-image-2.4.24-1-686-smp"
or "dpkg -s kernel-image-2.4.24-1-686-smp", for the installed version,
"apt-cache show kernel-image-2.4.24-1-686-smp" for the available
version, or do all this in dselect.

What apt wants to do here is an upgrade of the
kernel-image-2.4.24-1-686-smp package (presumably a security update,
given the recent events).

What will not happen automatically is an upgrade from a 2.4.24 kernel to
a 2.4.25 kernel for instance. These are provided by two different
packages.

-- 
Florent



Reply to: