Re: erasing multiple packages

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

 



> > This might do it:
> > rpm -e `rpm -qa | -i grep somepkg`
> >
> But its an awfully frightning thing to do...james

Well, there is always the "look before you leap" approach:

    $ rpm -qa | egrep -i '^somepkg' | tee /tmp/ToRemove$$ | less

then if the list looks OK:

    $ rpm -e ` cat /tmp/ToRemove$$ `
    $ rm /tmp/ToRemove$$


_______________________________________________
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