[Aptitude-devel] Bug#814996: aptitude: purge does not "stick" the first time

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Thu Feb 25 13:51:32 GMT 2016


2016-02-23 18:31 Christian Pernegger:
>Hello,
>
>> I cannot reproduce this behaviour.
>
>Lucky you! I've since found out that I don't even have to quit and
>restart aptitude for this to trigger:
>
>mark package for purging, [g],[g] --> package is purged (as expected)
>[g] again --> package shows up marked for installation (instead of
>nothing to do message)
>set package to purge again, [g] -> skips right to the finished, press
>any key message,*now* it stays purged
>
>> Do you launch aptitude as user and then become root, or launch it as
>> root?
>
>I launch it as user and then become root as necessary. Standard
>sudo-setup as done by the installer when the option to prohibit root
>login is selected.

I can reproduce it, when doing it as user.


It looks like the same problem described here, which seems to have been
fixed in the 0.7 series:

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570492


>> How much time passes between the sessions, [...]
>
>Doesn't matter, see above. I'm positive that no other tools are involved.

So a couple of more questions...

Did you just dicover this recently so you don't know if it happened with
older versions of aptitude?  Or otherwise, do you know if this happens
only since recently (as in, you are sure that it wasn't happening
before)?  Or you have been experiencing it for a long time but only
reported it now?


>> Do you have the options to automatically install Recommends or Suggests
>> enabled, in the system, root .aptitude/config or user .aptitude/config?
>
>Ah, yes ... there's this conf file in /etc/apt/apt.conf.d/, meant to
>disable the automatic installation of Recommends and make the UI a
>little more dselect-like. I've been using it since dselect was
>deprecated, but it looks innocuous enough?
>
>Aptitude::Get-Root-Command "sudo:/usr/bin/sudo";
>//Aptitude::Auto-Install "false";
>Aptitude::Auto-Fix-Broken "false";
>Aptitude::Recommends-Important "false";
>APT::Install-Recommends "false";
>Aptitude::Keep-Recommends "true";
>Aptitude::Keep-Suggests "true";
>Aptitude::Purge-Unused "false";
>
>Aptitude::UI::Default-Grouping "filter(missing),status,priority,section";
>Aptitude::UI::Advance-On-Action "true";
>//Aptitude::Theme "Dselect";

Probably not related, but if we need to dig into the code, maybe some of
this becomes relevant.


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



More information about the Aptitude-devel mailing list