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



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 *