On 2013-03-31 15:26 +0200, Nick Black wrote:

> Sven Joachim left as an exercise for the reader:
> 
>> What does "apt-cache policy apt" print?
>
> [skynet](0) $ apt-cache policy apt
> apt:
>   Installed: 0.9.7.8-SprezzOS1
>   Candidate: 0.9.7.8-SprezzOS1
>   Version table:
>      0.9.7.8-SprezzOS1 0
>         500 http://www.sprezzatech.com/apt/ unstable/main amd64 Packages
>  *** 0.9.7.8-SprezzOS1 0
>         100 /var/lib/dpkg/status

Is it possible that the package you installed locally is different from
the one on http://www.sprezzatech.com/apt/, despite having the same
version number?  Compare your output with what I get here:

,----
| $ LANG=C apt-cache policy apt
| apt:
|   Installed: 0.9.7.8
|   Candidate: 0.9.7.8
|   Version table:
|      0.9.7.9~exp1 0
|         101 http://ftp.de.debian.org/debian/ experimental/main i386 Packages
|  *** 0.9.7.8 0
|         500 http://ftp.de.debian.org/debian/ unstable/main i386 Packages
|         100 /var/lib/dpkg/status
`----

By default, "aptitude show" only prints the status of the "candidate"
version, and if that one is different from the installed version, you'll
see that the package is "not installed", see #539978¹.  You can request
it to show all versions with the -v option.

Cheers,
       Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539978


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to