RPM – uninstall packages listed more than once


If, trying to do rpm -e You get

error: "package" specifies multiple packages

and looking for that package Your rpm database lists it twice or more

rpm -qa | grep package

package-1.0.00-1

package-1.0.00-1

then use the following to uninstall

rpm --erase --allmatches --nodeps package

Leave a comment

Your email address will not be published. Required fields are marked *