LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
 
Search this Thread
Old 09-02-2008, 04:09 PM   #1
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Rep: Reputation: 30
remove unused / orphan packages


hi

using Fedora 9.

not sure what the best/most effective method to remove unused packages from the system.

i noticed on these forums a package called rpmorphan but this is not available in the fedora repo.

I downloaded rpmorphan from sourceforge but on attempting to install this it complained about missing perl-base yet this is not in the fedora repos and a download from sourceforge went on to request nested dependencies.

I dont want to start installing package after package and dependencies because this is precisely why I want to "cull" my packages in the first place.

I've installed a plethora of packages over time (many of which were used once and I no longer keep/use). I dont have a record and was hoping there is some "automated" means?

any ideas?
 
Old 09-03-2008, 10:08 AM   #2
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 722

Rep: Reputation: 73
Hi.

I thought yum was supposed to handle the dependency chores. The man yum page (CentOS 5, Fedora 8, SuSE 11) at least suggests that. I have used it only on SuSE, however ... cheers, makyo
 
Old 09-03-2008, 10:23 AM   #3
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
apt-rpm is available for rpm-based distros too.

Actually you want to uninstall some packages without breaking things. You can as well do that with rpm.
 
Old 09-03-2008, 01:27 PM   #4
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
sorry guys...

to clarify...

i thought , like you , i was familiar with rpm , apt and yum.

what i am looking for PLEASE is a concrete solution

specific commands would be useful
 
Old 09-04-2008, 10:46 AM   #5
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,758

Rep: Reputation: Disabled
See
http://fedoraproject.org/wiki/Docs/D...ackage_Cleanup

and other parts of the documentation too
 
Old 09-04-2008, 01:01 PM   #6
keratos
Member
 
Registered: May 2007
Location: London, UK.
Distribution: Major:FC8. Others:Debian;Zenwalk; Arch; Slack; RHEL.
Posts: 544

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by amani View Post
See
http://fedoraproject.org/wiki/Docs/D...ackage_Cleanup

and other parts of the documentation too
Code:
[root@localhost daz]# package-cleanup --leaves
Setting up yum
liberation-fonts-1.0-1.fc8.noarch
libflashsupport-000-0.1.svn20070904.i386
Traceback (most recent call last):
  File "/usr/bin/package-cleanup", line 449, in <module>
    main()
  File "/usr/bin/package-cleanup", line 422, in main
    opts.exclude_devel, opts.exclude_bin)
  File "/usr/bin/package-cleanup", line 235, in listLeaves
    exclude_bin):
  File "/usr/bin/package-cleanup", line 214, in _shouldShowLeaf
    assert len(pos) == 1
AssertionError
[root@localhost daz]#
:-(
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
is there a way to remove orphan packages? keratos Mandriva 5 06-20-2007 02:43 AM
Removing unused packages objorkum Debian 2 04-05-2005 08:32 PM
How to remove unused mount points? Tsuroerusu Linux - Hardware 5 07-16-2004 08:34 PM
orphan packages and libraries alexrait1 Slackware 1 07-05-2004 06:18 PM
how to remove unused installations shyam_d_sundar Linux - Newbie 2 05-15-2004 07:15 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration