RPM Commands

Luciano Rocha strange at nsk.no-ip.org
Tue May 6 08:47:49 UTC 2008


On Tue, May 06, 2008 at 01:12:48AM -0500, Bruno Wolff III wrote:
> On Mon, May 05, 2008 at 15:51:59 +0100,
>   Luciano Rocha <strange at nsk.no-ip.org> 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.)

That is usually true, but not in this specific instance. Between fc4 and
fc8, both gcc and glibc have been "major" upgraded.

-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080506/28fc6256/attachment-0001.sig>


More information about the fedora-list mailing list