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

apt-cache show and aptitude show report different dependencies - Why?



I always use the aptitude package manager. I never use the apt-get
package manager.

Today, I noticed that apt-cache show and aptitude show are reporting
different dependencies for the package:- linux-image-2.6-486. If you
see the aptitude output, it clearly shows:-

Depends: linux-image-2.6.22-3-486
Provides: linux-latest-modules-2.6.22-3-486

apt-cache output has two blocks. The first block correctly shows:-

Provides: linux-latest-modules-2.6.22-3-486
Depends: linux-image-2.6.22-3-486

but the second one shows:-

Provides: linux-latest-modules-2.6.22-2-486
Depends: linux-image-2.6.22-2-486

Why this difference? Why two blocks of output for the same package in
apt-cache show. I have included the full outputs of both the tools
below.

# aptitude show linux-image-2.6-486
Package: linux-image-2.6-486
State: not installed
Automatically installed: yes
Version: 2.6.22+11
Priority: optional
Section: admin
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Uncompressed Size: 8192
Depends: linux-image-2.6.22-3-486
Provides: linux-latest-modules-2.6.22-3-486
Description: Linux 2.6 image on x86
 This package depends on the latest binary image for Linux kernel 2.6 on x86 and
 compatible machines.

Tags: admin::kernel, role::dummy

# apt-cache show linux-image-2.6-486
Package: linux-image-2.6-486
Priority: optional
Section: admin
Installed-Size: 8
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Source: linux-latest-2.6 (11)
Version: 2.6.22+11
Provides: linux-latest-modules-2.6.22-3-486
Depends: linux-image-2.6.22-3-486
Filename: pool/main/l/linux-latest-2.6/linux-image-2.6-486_2.6.22+11_i386.deb
Size: 2196
MD5sum: b4d942c73746a29cd3eb3ce5d9c9515f
SHA1: 9df21c590f9dc958edd2e895f246c5f4214c6d78
SHA256: b631068bdd1777c35b10036cfda0ef437b5efb3c9044522acd12d5ed50db3c32
Description: Linux 2.6 image on x86
 This package depends on the latest binary image for Linux kernel 2.6 on
 x86 and compatible machines.
Tag: admin::kernel, role::dummy

Package: linux-image-2.6-486
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 8
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Source: linux-latest-2.6 (10)
Version: 2.6.22+10
Provides: linux-latest-modules-2.6.22-2-486
Depends: linux-image-2.6.22-2-486
Description: Linux 2.6 image on x86
 This package depends on the latest binary image for Linux kernel 2.6 on
 x86 and compatible machines.



Reply to: