[Aptitude-devel] Bug#539978: marked as done ("show" says an installed package is not installed)
mandyke at gmail.com
Sat Feb 1 05:58:43 UTC 2014
Control: reopen -1
Control: tags -1 = confirmed
Control: severity -1 minor
Control: owner -1 !
Control: retitle -1 [cmdline] "show UPGRADE" misleads by reporting "not installed"
[To clarify this report. Also, taking ownership as it is entangled with
"Manuel A. Fernandez Montecelo" <manuel.montezelo at gmail.com> wrote:
> # aptitude versions '^apt$'
> Package apt:
> i 0.9.14.2 100
> p 0.9.15 unstable 500
> # aptitude show apt
> Package: apt
> Essential: yes
> State: installed
> Automatically installed: no
> Version: 0.9.14.2
The package details shown above are for the installed version. The
manual states that "show" displays the candidate version, which is
presently not the case due to open issues with version selection on the
command line .
Details for the candidate version still show "not installed":
$ aptitude show acpi | grep '^\(Pac\|Ver\|Sta\)'
$ aptitude show acpi=CANDIDATE | grep '^\(Pac\|Ver\|Sta\)'
State: not installed
The concern being that it is misleading to report "not installed" for
upgrades, though it may be technically correct, in a sense. It has been
suggested to make things more clear by changing the state field to say
"not installed, upgrade" or similar.
An alternative is for "aptitude show PKG" to display both the candidate
and installed versions, as apt-cache does.
The wip-cmdline branch resolves the version selection issues and will
make this issue with State more prominent again. The issue will be
tended to in a continuation of that work.
More information about the Aptitude-devel