Yum dependency resolving & remove_leaf_only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   Hello

It is an often experience that I try to remove a package(ex: bluez, kernel, gnome-bluetooth) and yum(8) prompts me to remove nearly 200-300MB worth of critical packages, which has no connection(ex. kernel => Xchat  OR bluez => gedit  etc.) with the package I want to remove. Recently I was told to set remove_leaf_only=1 in yum.conf, which should help remove only the leaf node packages and nothing else. So I set it. 

But after setting remove_leaf_only=1, I can remove _none_ of the packages because of the dependency issues. Even when I try to remove _all_ of the dependency packages I'm barely allowed to remove but a single package. (see below)

I wonder why is this so? Is this an error in the way packages are built  OR  isit yum(8)'s dependency resolving algorithm that is broken? I've also seen instances wherein yum installs _new_ package during yum update. All this does not seem good at all. Many of the folks, with whom I've argued for Fedora, cite yum(8) to be the foremost reason for not liking Fedora.

Does the new DNF(https://fedoraproject.org/wiki/Features/DNF) plans to address these issues? Till then is there a known remedy for yum(8)'s illness??

===

[~ @ 21:44]# yum remove bluez
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package bluez.x86_64 0:4.101-9.fc19 will be erased
---> Keeping package: bluez-4.101-9.fc19.x86_64 due to pulseaudio-module-bluetooth-3.0-10.fc19.x86_64
--> Finished Dependency Resolution
[~ @ 21:45]# 

[~ @ 21:46]# yum remove pulseaudio-module-bluetooth
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package pulseaudio-module-bluetooth.x86_64 0:3.0-10.fc19 will be erased
---> Keeping package: pulseaudio-module-bluetooth-3.0-10.fc19.x86_64 due to 1:gnome-bluetooth-3.8.2.1-1.fc19.x86_64
--> Finished Dependency Resolution
[~ @ 21:46]# 

[~ @ 21:46]# yum remove gnome-bluetooth
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package gnome-bluetooth.x86_64 1:3.8.2.1-1.fc19 will be erased
---> Keeping package: 1:gnome-bluetooth-3.8.2.1-1.fc19.x86_64 due to bluez-4.101-9.fc19.x86_64
--> Finished Dependency Resolution
[~ @ 21:46]# 
[~ @ 21:46]# yum remove gnome-bluetooth bluez pulseaudio-module-bluetooth
Loaded plugins: langpacks, refresh-packagekit
Resolving Dependencies
--> Running transaction check
---> Package bluez.x86_64 0:4.101-9.fc19 will be erased
---> Package gnome-bluetooth.x86_64 1:3.8.2.1-1.fc19 will be erased
---> Keeping package: 1:gnome-bluetooth-3.8.2.1-1.fc19.x86_64 due to gnome-shell-3.8.4-2.fc19.x86_64
---> Package pulseaudio-module-bluetooth.x86_64 0:3.0-10.fc19 will be erased
---> Keeping package: pulseaudio-module-bluetooth-3.0-10.fc19.x86_64 due to 1:gnome-bluetooth-3.8.2.1-1.fc19.x86_64
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================
 Package                      Arch                          Version                              Repository                       Size
=======================================================================================
Removing:
 bluez                        x86_64                        4.101-9.fc19                         @updates                        1.9 M

Transaction Summary
=======================================================================================
Remove  1 Package

Installed size: 1.9 M
Is this ok [y/N]: N
===


Thank you. 

---
Regards
   -Prasad
http://feedmug.com
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux