Re: erasing multiple packages

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

 



Prakash_Nara@xxxxxxxx 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@xxxxxxxxxx
POB 3707 M/S 7L-40, Seattle, WA 98124-2207 \ Prototype Systems Group


_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux