Bug#339624: `apt-cache show' disrespects apt/preferences using AllVersions "false"
Package: apt
Version: 0.5.28.6
The apt-cache man page says:
` If --no-all-versions is specified, only the
candidate version will displayed
(the one which would be selected for installation)'
Here's what actually happens when this option is set
as default through apt.conf:
$ apt-cache policy xtell
xtell:
Installed: (none)
Candidate: 2.10.1-0.1
Version Table:
2.10.3 0
650 ftp://ftp.br.debian.org testing/main
Packages
600 ftp://ftp.br.debian.org unstable/main
Packages
2.10.1-0.1 0
700 ftp://ftp.br.debian.org stable/main
Packages
$ apt-cache show xtell
Package: xtell
Priority: optional
Section: net
Installed-Size: 96
Maintainer: Radovan GarabÃk
<garabik@kassiopeia.juls.savba.sk>
Architecture: i386
Version: 2.10.3
Depends: libc6 (>= 2.3.5-1), libident (>= 0.22-1),
libreadline5, netbase (>= 4.06), debconf, adduser
Filename: pool/main/x/xtell/xtell_2.10.3_i386.deb
Size: 27242
MD5sum: 733f822a6934df2619f4f8b2774db93f
Description: Simple messaging client and server, sort
of networked write
Simple messaging client and server, allowing you to
send messages
from computer running xtell client to computer
running xtelld server.
Can be used as replacement for write(1).
Tag: interface::commandline, role::sw:client,
role::sw:server, use::chatting
As you can see, apt is not showing the candidate
version, but the newest one.
It should show the candidate version.
Regards,
José Toneh
_______________________________________________________
Yahoo! Acesso Grátis: Internet rápida e grátis.
Instale o discador agora!
http://br.acesso.yahoo.com/
Reply to: