rpm -e on multiple packages

Recently I got

sudo rpm -e postgresql-libs-8.1.23-1.el5_7.3
error: "postgresql-libs-8.1.23-1.el5_7.3" specifies multiple packages

This is due to different versions (32 and 64 bit) of the same package being installed
The fix is easy

sudo rpm -e postgresql-libs-8.1.23-1.el5_7.3.i386 postgresql-libs-8.1.23-1.el5_7.3.x86_64

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.