Linux: Cleaning up after using the rpm freshen or upgrade options

The use of rpm upgrade or freshen options is not supported. If you use the options, follow this cleanup procedure, and then install following the correct steps.

Before you begin

You have attempted to upgrade IBM® MQ for Linux® using rpm -U or rpm -F

About this task

By using the freshen or upgrade options, you might have deleted your old IBM MQ package entries from the rpm database without removing the product from your system. You might also have partially installed IBM MQ

Procedure

Follow these steps to clean up your system.

  1. Find out which IBM MQ MQ packages still have entries in your RPM database.
    
    rpm -qa | grep MQSeries
    
  2. Remove all remaining IBM MQ packages from your system.
    
    rpm -e package-name
    
  3. Remove the /opt/mqm directory.
    
    rm -rf /opt/mqm