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

Christian Pernegger pernegger at gmail.com
Tue Feb 23 18:31:19 GMT 2016


> 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.

> How much time passes between the sessions, [...]

Doesn't matter, see above. I'm positive that no other tools are involved.

> 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";

Thank you for looking at this,


More information about the Aptitude-devel mailing list