Comment 8 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

> This clarifies some things to me, but ( :-) ) it is confusing,
> since in case the package vanishes from any repository the
> candidate is shown as "<none>" (or "<keiner>" in german),
> indicating there is no package with this name available any
> more

Right, that does seem inconsistent and I see in pkg_columnizer.cc
we are special-casing the idea that the package is "not
available".

> -- thus it would be more convenient and logical to have
> the candidate be the one which has the highest available
> version available in the repositories, not the one which is
> installed.

The concept of a candidate version is defined by apt, and
aptitude should not deviate from that (though in this case it
currently does). It may be just as clear to remove the special
case and report the current/candidate version accurately based on
apt instead of "<none>".