Re: RPM Commands

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

 



On Mon, May 05, 2008 at 15:51:59 +0100,
  Luciano Rocha <strange@xxxxxxxxxxxxx> wrote:
> On Mon, May 05, 2008 at 10:34:28AM -0400, Thom Paine wrote:
> > Is there an rpm command I can run to clean up the old rpm files on my system?
> > 
> > Something like rpm -qa | grep fc4 -exec rpm -e {} \;
> 
> rpm -qa | grep fc4 | xargs rpm -e
> 
> Better yet:
> rpm -qa | grep fc4 | yum remove

Searching for release extensions isn't a good way to do this. Not everything
gets rebuilt every release. You really want to look for orphans, which
package-cleanup will do for you. (An even within the orphans you will want
to check for manually added stuff.)

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux