Fedora remove old leftover package after upgrade



The step below show how you can remove old leftover orphans package after you upgrade Fedora... this example show orphans package remove after upgrade Fedora 16 to 17...

1.  Open terminal Applications -> System Tools -> Terminal.
2.  Execute su - command to make sure you have every priviledged to remove Fedora package from the system.
[fedora@fedora120 ~]$ su -
Password:
[root@fedora120 ~]#

3.  Execute package-cleanup --orphans to list all leftover orphans packages
[root@fedora120 ~]# package-cleanup --orphans
Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile
 * fedora: mirror.nus.edu.sg
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.nus.edu.sg
dbus-cxx-0.7.0-2.fc14.1.i686
dbus-cxx-devel-0.7.0-2.fc14.1.i686
dbus-cxx-doc-0.7.0-2.fc14.1.noarch
dbus-cxx-glibmm-0.7.0-2.fc14.1.i686
dbus-cxx-glibmm-devel-0.7.0-2.fc14.1.i686
dbus-cxx-tools-0.7.0-2.fc14.1.i686
kernel-PAE-3.3.6-3.fc16.i686
kernel-PAE-3.3.7-1.fc16.i686
kernel-PAE-devel-3.3.6-3.fc16.i686
kernel-PAE-devel-3.3.7-1.fc16.i686
pyxf86config-0.3.37-10.fc15.i686
tamil-typing-booster-0.9.0-1.fc16.noarch
telepathy-butterfly-0.5.15-4.fc16.noarch
tomcat5-jasper-eclipse-5.5.31-3.fc15.noarch
xmldb-api-0.1-0.5.20011111cvs.2.fc15.noarch
xmldb-api-sdk-0.1-0.5.20011111cvs.2.fc15.noarch

4.  Then execute yum remove [package name 1] [package name 2] [e.t.c.] to remove orphans package from the system... e.g. (easier to just copy the package name from above command and paste it here)
[root@fedora120 ~]# yum remove dbus-cxx-0.7.0-2.fc14.1.i686 dbus-cxx-devel-0.7.0-2.fc14.1.i686 dbus-cxx-doc-0.7.0-2.fc14.1.noarch dbus-cxx-glibmm-0.7.0-2.fc14.1.i686 dbus-cxx-glibmm-devel-0.7.0-2.fc14.1.i686 dbus-cxx-tools-0.7.0-2.fc14.1.i686 kernel-PAE-3.3.6-3.fc16.i686 kernel-PAE-3.3.7-1.fc16.i686 kernel-PAE-devel-3.3.6-3.fc16.i686 kernel-PAE-devel-3.3.7-1.fc16.i686 pyxf86config-0.3.37-10.fc15.i686 tamil-typing-booster-0.9.0-1.fc16.noarch telepathy-butterfly-0.5.15-4.fc16.noarch tomcat5-jasper-eclipse-5.5.31-3.fc15.noarch xmldb-api-0.1-0.5.20011111cvs.2.fc15.noarch xmldb-api-sdk-0.1-0.5.20011111cvs.2.fc15.noarch




12 comments:

Daniel Mason said...


it was really a nice article and i was really impressed by reading this
article We are also giving Software Course Online Training.the Best- -Online-Training is the one of the leading Online Training institute.

KoenFietst said...

You can combine this action:

package-cleanup --orphans| xargs -l1 yum -y remove

Also nice:
package-cleanup --leaves | xargs -l1 yum -y remove

Rai Muzammal said...

7 Amazing Recent Posts Widgets for Blogger visit: www.mytrickspedia.blogspot.com

Devika said...


Thanks a lot for all your valuable article! We are really happy about the your...
SEO Training in Chennai

Yazhini said...

Thank you for your post. This was really an appreciating one. You done a good job. Keep on blogging like this unique information with us.

SEO Training in Chennai

lakshanya said...


your content is really great's sound ,it is implementing me to work more in this kind of information and it is a incredible work.


digital marketing training in chennai

Tilaka said...

Thank you for your post. This was really an appreciating one. You done a good job. Keep on blogging like this unique information with us.

SEO Training in Chennai

Suseela Susiee said...


Great and useful article. Creating content regularly is very tough. Your points are motivated me to move on.


SEO Company in Chennai

deeksha said...

ya it is really i had a fun and auspicious time by reading your blog thus it makes me to be proud to get many more credentials. thus i had a good time with your blog it attracts me with large types of collections.


Salesforce Training in Chennai Adyar

Nandhini said...

Very interesting content which helps me to get the in depth knowledge about the technology. To know more details about the course visit this website.
Digital marketing course in Chennai | Digital marketing training in Chennai

for IT the said...

I have read your blog its very attractive and impressive. I like it your blog.

Guaranteed SEO services Guaranteed SEO

SEO Company in India SEO Services in India

Brave Technologies said...

Excellent post. Keep updating.I have got some useful information form this article.
erp in chennai