On 1/24/06, Chasecreek Systemhouse <chasecreek.systemhouse@xxxxxxxxx> 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* > > Cheers! Hey. I didn't realize I can use grep for something like this. (I use it for output, not input. Thanks for that tip.) But, Yum seemed simple so here is the log, fwiw. ============= yum remove *FC3* Setting up Remove Process Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Package kernel.i686 0:2.6.11-1.14_FC3 set to be erased ---> Package kernel.i686 0:2.6.12-1.1372_FC3 set to be erased ---> Package kernel.i686 0:2.6.11-1.35_FC3 set to be erased ---> Package kernel.i686 0:2.6.10-1.766_FC3 set to be erased ---> Package kernel.i686 0:2.6.12-1.1378_FC3 set to be erased ---> Package kernel.i686 0:2.6.12-1.1376_FC3 set to be erased ---> Package kernel.i686 0:2.6.12-1.1381_FC3 set to be erased ---> Package kernel.i686 0:2.6.10-1.770_FC3 set to be erased ---> Package kernel.i686 0:2.6.11-1.27_FC3 set to be erased --> Running transaction check Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Removing: kernel i686 2.6.11-1.14_FC3 installed 47 M kernel i686 2.6.12-1.1372_FC3 installed 36 M kernel i686 2.6.11-1.35_FC3 installed 47 M kernel i686 2.6.10-1.766_FC3 installed 44 M kernel i686 2.6.12-1.1378_FC3 installed 48 M kernel i686 2.6.12-1.1376_FC3 installed 48 M kernel i686 2.6.12-1.1381_FC3 installed 48 M kernel i686 2.6.10-1.770_FC3 installed 44 M kernel i686 2.6.11-1.27_FC3 installed 47 M Transaction Summary ============================================================================= Install 0 Package(s) Update 0 Package(s) Remove 9 Package(s) Total download size: 0 Is this ok [y/N]: y Downloading Packages: Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Removing : kernel ######################### [1/9] Removing : kernel ######################### [2/9] Removing : kernel ######################### [3/9] Removing : kernel ######################### [4/9] Removing : kernel ######################### [5/9] Removing : kernel ######################### [6/9] Removing : kernel ######################### [7/9] Removing : kernel ######################### [8/9] Removing : kernel ######################### [9/9] Removed: kernel.i686 0:2.6.11-1.14_FC3 kernel.i686 0:2.6.12-1.1372_FC3 kernel.i686 0:2.6.11-1.35_FC3 kernel.i686 0:2.6.10-1.766_FC3 kernel.i686 0:2.6.12-1.1378_FC3 kernel.i686 0:2.6.12-1.1376_FC3 kernel .i686 0:2.6.12-1.1381_FC3 kernel.i686 0:2.6.10-1.770_FC3 kernel.i686 0:2.6.11-1.27_FC3 Complete! ============================= Thank you! (hope this thing boots next time!) -nat