[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: erasing multiple packages



Prakash_Nara@Dell.com wrote:
Is there a way to erase multiple packages in a single transaction without
naming all the packages.

I know something like the following works.
rpm -e somepkgagent  somepkgclient  somepkgserver  somepkgsomething.

But the following doesn't work
rpm -e somepkg*

Does anyone know a better way to erase a bunch of rpms without naming them
all?

It's a bit ham-handed, but this is what I'd do:


rpm -e `rpm -qa |grep '^somepkg'`

Perhaps one of the RPM wizards will have something more elegant?

Paul Allen
--
Boeing Phantom Works                   \ Paul L. Allen, (425) 865-3297
Math & Computing Technology              \ paul.l.allen@boeing.com
POB 3707 M/S 7L-40, Seattle, WA 98124-2207 \ Prototype Systems Group




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]