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

Rick Stevens rstevens at vitalstream.com
Tue Jan 24 21:47:58 UTC 2006


On Tue, 2006-01-24 at 14:27 -0700, Charles Curley wrote:
> 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. 

Just tack an "-i" onto each grep command to do a case-insensitive grep.

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-      Always remember you're unique, just like everyone else.       -
----------------------------------------------------------------------




More information about the fedora-list mailing list