>> Besides, there is another problem with the script. If you imagine the
>> packages installed in the system as a tree of dependencies, you can
>> see that your script will only remove two levels of the branch you
>> want to delete. Example: X depends on Y that depends on Z: X -> Y ->
>> Z. In your script, X and Y will be removed but Z will not.
>
> True
>
> I was not thinking to solve the general case, but more to help with an
> immeditate need.

I agree. This can solve some of the situations.

>> It seems like an additional information should be added to the package
>> database. A bit indicating if the package was installed manually by
>> the user (admin?) or not. Then, the package can only be deleted if the
>> the user explicitly say so as oppose to "automatic deletion as
>> dependency".
>
> This has been brought up many times before and a lot of people would
> like to see it (me too). I know some work has been done and some info is
> now kept, but this functionality isn't there yet.

Can you point me to documentation about this?

Luis Useche
use...@gmail.com

Reply via email to