Can I delete *FC3* files from my FC4 system?

Charles Curley charlescurley at charlescurley.com
Tue Jan 24 21:27:21 UTC 2006


On Tue, Jan 24, 2006 at 04:02:30PM -0500, Chasecreek Systemhouse wrote:
> On 1/24/06, Andy Green <andy at warmcat.com> wrote:
> > Nat Gross wrote:
> >
> > > Can I do a wildcard, like: rpm -e *FC3*
> >
> > I don't think so.  But:
> >
> > rpm -e `rpm -qa | grep kernel | grep FC3`
> >
> > will do the trick.
> 
> Actually, inside an empty directory this will work -
>   #  yum remove *FC3*
> 

Any of those may work *too* well. Be sure to eyeball the list of
proposed deletions.

On the other tentacle, some packages have "fc3", others "FC3", and I
don't know if yum or rpm is case sensitive. On yet another tentacle,
this does not handle the case of duplicate RPMs that do not have the
Fedora version in the file name.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060124/738770c4/attachment-0001.sig>


More information about the fedora-list mailing list