[Aptitude-devel] Bug#698768: aptitude: "versions" incorrectly reports status of package as "purged" when it is "config-files"

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Sep 24 22:58:52 UTC 2015


Control: tags -1 + pending


Hi Stuart,

2013-01-23 11:53 Stuart Prescott:
>On my own system, I was able to replicate and investigate this with the package
>"global" that I had recently installed and removed (some build-dep or other, I
>guess). I see the following output from aptitude and dpkg which shows that
>"aptitude versions" is incorrectly reporting the state of removed-but-not-purged
>packages:
>
>$ aptitude search ~c
>c   global                                   - Source code search and browse tools
>
>$ dpkg-query -f'${Status}' --show global
>deinstall ok config-files
>
>$ aptitude versions ~n^global$
>Package global:
>p   5.7.1-2                                               testing,unstable                   550
>$ aptitude versions ~n^global$ -F"state=%C action=%A  %p %t %i"
>Package global:
>state=purged      action=none        5.7.1-2                               testing,unstable  550

Thanks for the report and the analysis.  The problem was this indeed,
and also in the curses interface 'c' was shown in the list of packages
(main view), but in the package info screen/view, the version showed 'p'
as well, now it will show 'c'.

So fixed and marked as +pending, will be included in the next release.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list