John Clarke <[EMAIL PROTECTED]> writes:

> There's still something I don't understand.  Ubuntu released a new
> kernel yesterday, which I think I've installed, but the kernel still
> reports the same release number as it did before the upgrade:
>
>     [EMAIL PROTECTED] ~]# uname -r
>     2.6.10-5-686-smp
>
> apt-cache gives me two version numbers for this kernel:
>
>     [EMAIL PROTECTED] ~]# apt-cache show linux-image-2.6.10-5-686-smp|grep 
> Version
>     Version: 2.6.10-34.2
>     Version: 2.6.10-34
>
> How do I know which of these two I actually have?  And if it's the later
> one, why does the kernel report exactly the same release number as the
> older package?

I got confused by this, too. The package name has a version number in it,
which is independent to the package Version: number.

$ apt-cache policy linux-image-2.6.10-5-686-smp
linux-image-2.6.10-5-686-smp:
  Installed: (none)
  Candidate: 2.6.10-34.2
  Version table:
     2.6.10-34.2 0
        500 http://security.ubuntu.com hoary-security/main Packages
     2.6.10-34 0
        500 http://mirror.isp.net.au hoary/main Packages

There are 2 linux-image-2.6.10-5-686-smp packages with different version
numbers, one in hoary/main the other in hoary-security/main.

The Candidate: line points to the preferred package, the one that will
get installed on an upgrade.  

dpkg -s linux-image-2.6.10-5-686-smp will tell you which one you
currently have installed.
-- 
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