[Aptitude-devel] Bug#366520: aptitude: please consider implementing "uninstall on sight" option

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Sat Dec 19 13:49:16 UTC 2015


Control: tags -1 + moreinfo


Hi Marc,

2006-05-09 12:58 Marc Haber:
>Package: aptitude
>Version: 0.4.1-1
>Severity: wishlist
>
>Using debfoster, I have some packages like strace or tcpdump marked in
>a way that the packages are uninstalled whenever debfoster is invoked.
>This is a very handy way to get rid of packages that tend to get
>installed on productive systems for debugging while nobody bothers to
>remove them afterwards.
>
>debfoster is going to be removed from Debian, losing this
>functionality. Please consider implementing persistent package states,
>which survive manual package state changes. That way, I'd like to have
>tcpdump maked as "to be uninstalled" even if it just was manually
>installed.

I don't know if this was possible back in 2006, but nowadays and for
many years one can mark packages to remove/purge, and then quit
aptitude, and the state will be saved / "scheduled" -- it persists, as
requested here.

The next time that one starts aptitude, it will be marked in the same
way, and some actions in the command line will have scheduled actions
into account.


In addition, there's this:

2012-12-08 05:31 Daniel Hartwig:
>
>User tags can do this:
>
># aptitude add-user-tag keep-uninstalled strace tcpdump
># aptitude install strace
>[… do stuff …]
># aptitude remove '?user-tag(keep-uninstalled)'


I think that these two ways already cover what it was requested, in
different and complementary ways, so I don't know if there's much left
to do for this bug report.

What's your opinion, Marc?


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



More information about the Aptitude-devel mailing list