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

Bug#691281: apt-cache man page mentions wrong information



Package: apt
Version: 0.9.7.5
Severity: minor

Hi,

apt-cache man page in the description of the "stats" command says:
" Total distinct versions is the number of package versions found
               in the cache; this value is therefore at least equal to the
               number of total package names."

however if I use that command on my Debian testing, I get:

Total package names: 47466 (949 k)
Total package structures: 47466 (2658 k)
  Normal packages: 36170
  Pure virtual packages: 324
  Single virtual packages: 4379
  Mixed virtual packages: 1025
  Missing: 5568
Total distinct versions: 37199 (2678 k)

and as you can see the number of total distinct versions (37199) is
lower than the number of total package names (47466)

I hope I am not wasting your time by missing something obvious.

Thanks,
Beatrice

-- Package-specific info:

-- (no /etc/apt/preferences present) --


-- (/etc/apt/sources.list present, but not submitted...well yes, sorta) --

-- what follows is the content of my /etc/apt/sources.list stripped only
-- of the many comment lines. Please note that in /usr/local/debs there are only 5 debs.


deb http://ftp.fr.debian.org/debian testing main contrib non-free

deb file:/usr/local debs/

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib




-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt depends on:
ii  debian-archive-keyring  2012.4
ii  gnupg                   1.4.12-4+b1
ii  libapt-pkg4.12          0.9.7.5
ii  libc6                   2.13-35
ii  libgcc1                 1:4.7.1-7
ii  libstdc++6              4.7.1-7

apt recommends no packages.

Versions of packages apt suggests:
pn  apt-doc     <none>
ii  aptitude    0.6.8.1-2
ii  dpkg-dev    1.16.8
ii  python-apt  0.8.4
ii  synaptic    0.75.12
ii  xz-utils    5.1.1alpha+20120614-1

-- no debconf information


Reply to: