[plug] Debian Package Management

Peter F Bradshaw pfb at users.sourceforge.net
Sat Jul 23 18:18:06 WST 2005


Hi;

On Sat, 23 Jul 2005, Onno Benschop wrote:

> So, how are you supposed to deal with the following scenario:
>
>     apt-get install a
>     => a requires b and c, so they get installed
>
>     apt-get --purge remove a
>     => a gets removed, but b and c are still lying around
>
>
>
> Or:
>
>     apt-get install a
>     => a requires b and c, so they get installed
>
>     apt-get install d
>     => d requires b, which is already installed
>
>     apt-get --purge remove a
>     => a gets removed, but c is still lying around
>
>     apt-get --purge remove d
>     => d gets removed, but b is still lying around and was installed
>     because of a, not d
>
>
>
> How do you keep sane and not have all this stuff lying around?
>

I find that aptitude does a reasonable job in this regard most of the
time. For instance 'aptitude upgrade' will probably find some unused
packages and remove them.

>
>
>

Cheers

-- 
Peter F Bradshaw, personal.exadios.com, ICQ 75431157 (exadios).
PGP public key at personal.exadios.com/public_key.html
"Needs more salt" - Archimedes



More information about the plug mailing list