[TriLUG] URPMI and Emacs
John F Davis
johndavi at us.ibm.com
Tue May 14 15:07:59 EDT 2002
Apt will merrily delete package A, B, and C when you remove C.
where [Package C] doesn't depend on anything else and nothing else
depends on [Package C] and [Package B]. I believe
you're asking if you use urpmi (actually, the command is urpme,
where the "e" comes from the "-e" you pass to rpm to remove a
package) to delete [Package A], will it also delete packages
[B] and [C]. The answer to this is no. The cost of figuring
out all those links at run time would be to prohibitively
expensive (I believe the problem may even be NP-complete).
However, if you use urpme to delete [Package C] it will notice
that packages [A] and [B] depend on [C] and ask you if you
would like to delete [A] and [B] too.
I believe apt works in exactly the same way.
More information about the TriLUG