Is yum dependency resolution upside down?

Klaus Pedersen projectu at gmail.com
Mon Jun 13 09:48:12 UTC 2011


On Mon, Jun 13, 2011 at 4:31 PM, Michael Schwendt <mschwendt at gmail.com> wrote:
>
> You read the dependencies backwards.
[...]
> If you remove ppp, you cannot keep any packages that depend on ppp.

Remember that what I wanted was to remove "Dial-up Networking Support" - it is
not expected that this operation should remove all Networking!

Just as when I tried to remove "Electronic Lab" - it is not expected that this
operation should remove eclipse, fonts and screensavers, right?

I am pretty sure I had fonts and screensavers before I installed "drawtiming"
and "openocd". Do you see what I mean?

> Your option in such a scenario is to remove leaf packages only, or to
> erase individual packages (with either Yum or RPM).

Good point - I can remove NetworkManager and eclipse myself !! :-P

My point is that "groupremove" doesn't do the right thing. If I installed
eclipse using "Fedora Eclipse" then I don't want it automatically removed when
I uninstall something unrelated because of complicated indirect dependencies.

The same way I don't want to uninstall NetworkManager from the group
"System Tools", when I try to remove the group "Dial-up Networking Support".


More information about the users mailing list