[Aptitude-devel] Bug#816497: aptitude: problems with (un)markauto

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Mar 4 11:19:58 UTC 2016


Control: tags -1 - moreinfo + pending

(re-sending, didn't seem to work the first time)

2016-03-03 23:08 GMT+00:00 Manuel A. Fernandez Montecelo
<manuel.montezelo at gmail.com>:
>>
>> And I think the difference is that on my system the package gnupg2 has the
>> additional new attribute "Auto-New-Install" set to "yes" in the file
>> /var/lib/aptitude/pkgstates.
>> Indeed, for any package with this new attribute in
>> var/lib/aptitude/pkgstates
>> "aptitude (un)markauto" doesn't work.
>> For a package without this new attribute "(un)markauto" still works here.
>
> Uhm, that's an interesting hint, thanks.  I will look into this in the
> next days.

So I changed this to only save this flag if the package is still
pending for installation, otherwise removes it.


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



More information about the Aptitude-devel mailing list