Comment 6 for bug 1317193

Revision history for this message
Daniel Hartwig (wigs) wrote : Re: aptitude doesn't correctly report the version of packages available within repositories

> Next you remove the added repository, by commenting the lines in the
> above added file out. Then
>
> apt-get clean all
> apt-get update
>
> Calling aptitude after will show no updates available.

Correct. “No updates” means that the current (installed) version is more recent than any other.

> Searching for vlc will show the same version as installed and
> available in the repositories! This is wrong, since the version
> installed came from the videolan project nightly build and the
> repository given was disabled! aptitude shall show the version
> available now not the one installed!

On the screenshots the second number is the candidate version. This is similar but not exactly the same thing as "the latest version available in configured repositories". From the users manual:

  [The candidate version is] the version of the package which
  would be installed if Package → Install (+) were issued on
  the package …

When the currently installed version is more recent than any other that version is also the candidate regardless of what is available in apt repositories.

Does that clarify things for you?