[Bug 987161] [NEW] aptitude search reports outdated dependency
Sergio Gelato
Sergio.Gelato at astro.su.se
Mon Apr 23 08:19:05 UTC 2012
Public bug reported:
Seen in lucid after the latest kernel ABI upgrade to 2.6.32-41:
$ aptitude search --disable-columns ~i~Dlinux-image-2.6.32-40-generic
i linux-image-generic - Generic Linux kernel image
$ aptitude show linux-image-generic
Package: linux-image-generic
State: installed
Automatically installed: no
Version: 2.6.32.41.48
Priority: optional
Section: metapackages
Maintainer: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>
Uncompressed Size: 32.8k
Depends: linux-image-2.6.32-41-generic, linux-firmware
Description: Generic Linux kernel image
This package will always depend on the latest generic kernel image available.
Since the currently installed version of linux-image-generic does not
depend on linux-image-2.6.32-40-generic, I would expect it NOT to be
returned by a search for packages that depend on linux-
image-2.6.32-40-generic.
It doesn't matter whether I include ~i in the search filter or not. If I
leave out ~i the output is naturally longer but still mentions linux-
image-generic.
It also doesn't matter whether linux-image-2.6.32-40-generic is still
installed. The above gave identical results before and after I purged
the package. One thing did change, though: after purging I see
$ aptitude search --disable-columns -F '%r %p %v %V' linux-image-2.6.32-40-generic
0 linux-image-2.6.32-40-generic <none> 2.6.32-40.87
0 linux-image-2.6.32-40-generic-pae <none> 2.6.32-40.87
but when linux-image-2.6.32-40-generic was still installed there was a 1
in the %r column for it.
Version information:
$ lsb_release -rd
Description: Ubuntu 10.04.4 LTS
Release: 10.04
$ aptitude search --disable-columns -F '%p %v' '^aptitude$'
aptitude 0.4.11.11-1ubuntu10lucid1
$ aptitude --version
aptitude 0.4.11.11 compiled at Oct 20 2011 13:35:11
Compiler: g++ 4.4.3
Compiled against:
apt version 4.8.0
NCurses version 5.7
libsigc++ version: 2.2.4.2
Ept support enabled.
Current library versions:
NCurses version: ncurses 5.7.20090803
cwidget version: 0.5.13
Apt version: 4.8.0
** Affects: aptitude (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptitude in Ubuntu.
https://bugs.launchpad.net/bugs/987161
Title:
aptitude search reports outdated dependency
Status in “aptitude” package in Ubuntu:
New
Bug description:
Seen in lucid after the latest kernel ABI upgrade to 2.6.32-41:
$ aptitude search --disable-columns ~i~Dlinux-image-2.6.32-40-generic
i linux-image-generic - Generic Linux kernel image
$ aptitude show linux-image-generic
Package: linux-image-generic
State: installed
Automatically installed: no
Version: 2.6.32.41.48
Priority: optional
Section: metapackages
Maintainer: Ubuntu Kernel Team <kernel-team at lists.ubuntu.com>
Uncompressed Size: 32.8k
Depends: linux-image-2.6.32-41-generic, linux-firmware
Description: Generic Linux kernel image
This package will always depend on the latest generic kernel image available.
Since the currently installed version of linux-image-generic does not
depend on linux-image-2.6.32-40-generic, I would expect it NOT to be
returned by a search for packages that depend on linux-
image-2.6.32-40-generic.
It doesn't matter whether I include ~i in the search filter or not. If
I leave out ~i the output is naturally longer but still mentions
linux-image-generic.
It also doesn't matter whether linux-image-2.6.32-40-generic is still
installed. The above gave identical results before and after I purged
the package. One thing did change, though: after purging I see
$ aptitude search --disable-columns -F '%r %p %v %V' linux-image-2.6.32-40-generic
0 linux-image-2.6.32-40-generic <none> 2.6.32-40.87
0 linux-image-2.6.32-40-generic-pae <none> 2.6.32-40.87
but when linux-image-2.6.32-40-generic was still installed there was a
1 in the %r column for it.
Version information:
$ lsb_release -rd
Description: Ubuntu 10.04.4 LTS
Release: 10.04
$ aptitude search --disable-columns -F '%p %v' '^aptitude$'
aptitude 0.4.11.11-1ubuntu10lucid1
$ aptitude --version
aptitude 0.4.11.11 compiled at Oct 20 2011 13:35:11
Compiler: g++ 4.4.3
Compiled against:
apt version 4.8.0
NCurses version 5.7
libsigc++ version: 2.2.4.2
Ept support enabled.
Current library versions:
NCurses version: ncurses 5.7.20090803
cwidget version: 0.5.13
Apt version: 4.8.0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/aptitude/+bug/987161/+subscriptions
More information about the foundations-bugs
mailing list