I have just successfully upgraded from Fedora 16 to Fedora 17 using the Preupgrade tool. One of the post-upgrade steps suggested here is to "remove unsupported packages".
The guide says to run
package-cleanup --orphans to obtain a list of said packages and then
yum remove each one.
Rather than blindly do this I thought I'd check to make sure that this wouldn't unintentionally remove any needed dependencies. For example,
ModemManager-0.5.3.96-1.fc16.x86_64 is the first package in the list. When I run:
yum remove ModemManager-0.5.3.96-1.fc16.x86_64
I see that it also wants to remove a number of dependencies that look like valid Fedora 17 packages:
======================================================================================= Package Arch Version Repository Size ======================================================================================= Removing: ModemManager x86_64 0.5.3.96-1.fc16 @updates/16 952 k Removing for dependencies: NetworkManager x86_64 1:0.9.4.0-7.git20120403.fc17 @anaconda-0 6.7 M NetworkManager-gnome x86_64 1:0.9.4.0-7.git20120403.fc17 @anaconda-0 1.3 M NetworkManager-openconnect x86_64 0.9.4.0-7.git20120612.fc16 @updates/16 274 k NetworkManager-openvpn x86_64 1:0.9.3.997-1.fc17 @anaconda-0 679 k NetworkManager-pptp x86_64 1:0.9.3.997-1.fc17 @anaconda-0 467 k NetworkManager-vpnc x86_64 1:0.9.3.997-1.fc17 @anaconda-0 474 k anaconda x86_64 17.29-1.fc17 @anaconda-0 12 M evolution-NetworkManager x86_64 3.4.1-2.fc17 @anaconda-0 14 k Transaction Summary ======================================================================================= Remove 1 Package (+8 Dependent packages)
If I do
yum list NetworkManager I see:
Installed Packages NetworkManager.x86_64 1:0.9.4.0-7.git20120403.fc17 @anaconda-0 Available Packages NetworkManager.x86_64 1:0.9.6.4-1.fc17 updates
I also notice that none of the dependencies listed by
yum remove are in the orphaned package list.
- Is it safe for me to go ahead and remove these "orphaned" packages?
- Do I have to remove these orphaned packages (I'm not short on disk space)?