Bug#625960: /usr/bin/apt-cache: apt-cache policy prints blocks in an arbitrary order
Package: apt
Version: 0.8.14.1
Severity: normal
File: /usr/bin/apt-cache
Hi, the order or arguments submitted to 'apt-cache policy' is not preserved in
the command output:
-8<-
$ apt-cache policy cupt dpkg libc6
libc6:
Installed: 2.11.2-7
Candidate: 2.11.2-11
Version table:
2.13-2 0
500 http://ftp.fi.debian.org/debian/ unstable/main i386 Packages
2.11.2-11 0
990 http://ftp.fi.debian.org/debian/ testing/main i386 Packages
2.11.2-10 0
500 http://ftp.fi.debian.org/debian/ stable/main i386 Packages
*** 2.11.2-7 0
100 /var/lib/dpkg/status
dpkg:
Installed: 1.15.8.10
Candidate: 1.16.0.2
Version table:
1.16.0.3 0
500 http://ftp.fi.debian.org/debian/ unstable/main i386 Packages
1.16.0.2 0
990 http://ftp.fi.debian.org/debian/ testing/main i386 Packages
*** 1.15.8.10 0
500 http://ftp.fi.debian.org/debian/ stable/main i386 Packages
100 /var/lib/dpkg/status
cupt:
Installed: 2.0.1
Candidate: 2.0.2
Version table:
2.0.2 0
500 http://ftp.fi.debian.org/debian/ unstable/main i386 Packages
*** 2.0.1 0
100 /var/lib/dpkg/status
2.0.0 0
990 http://ftp.fi.debian.org/debian/ testing/main i386 Packages
1.5.14.1 0
500 http://ftp.fi.debian.org/debian/ stable/main i386 Packages
->8-
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep
ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.5.2-1 GCC support library
ii libstdc++6 4.5.2-1 The GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none> (no description available)
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii dpkg-dev 1.15.8.10 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.97.1 Python interface to libapt-pkg
-- no debconf information
Reply to: