Remove RPM when duplicate exists


If you received the below error when trying to remove an RPM, simply run an RPM -e command with –allmatches.


[LIVE.DC1][root@livedeploy001 ~]# rpm -e ops-autodeploy-script-uk-1995.all-0.noarch --noscripts
error: "ops-autodeploy-script-uk-1995.all-0.noarch" specifies multiple packages:
ops-autodeploy-script-uk-1995.all-0.noarch
ops-autodeploy-script-uk-1995.all-0.noarch

rpm -e something.rpm --allmatches
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s