LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   remove unused / orphan packages (https://www.linuxquestions.org/questions/linux-software-2/remove-unused-orphan-packages-667161/)

keratos 09-02-2008 04:09 PM

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?

makyo 09-03-2008 10:08 AM

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

amani 09-03-2008 10:23 AM

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.

keratos 09-03-2008 01:27 PM

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 ;)

amani 09-04-2008 10:46 AM

See
http://fedoraproject.org/wiki/Docs/D...ackage_Cleanup

and other parts of the documentation too

keratos 09-04-2008 01:01 PM

Quote:

Originally Posted by amani (Post 3269457)
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]#

:-(


All times are GMT -5. The time now is 06:07 PM.