On Tue, Jan 24, 2006 at 04:02:30PM -0500, Chasecreek Systemhouse wrote: > On 1/24/06, Andy Green <andy@xxxxxxxxxxx> 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
Attachment:
pgpmLujAKkpC6.pgp
Description: PGP signature