Hide Forgot
Description of problem: After installing the package qpid-cpp-server-0.14-4.el5, I was unable to uninstall it using "yum erase" command. Yum writes out the following message: "error reading information on service qpidd: No such file or directory", then reports that the package was removed successfully. But exit code of yum is 1, not 0, and the package is still listed in the database as installed: [root@lzhaldyb-rhel57i ~]# yum list qpid-cpp-server Loaded plugins: rhnplugin Installed Packages qpid-cpp-server.i386 0.14-4.el5 installed I was using RHEL5.7 (both i386 and x86_64). Version-Release number of selected component (if applicable): qpid-cpp-server-0.14-4.el5 How reproducible: always Steps to Reproduce: 1. Install package qpid-cpp-server-0.14-4.el5 using yum or rpm tool. 2. Try to uninstall the package with command "yum erase qpid-cpp-server" 3. Actual results: The package remains listed in the database as "installed" Expected results: The package should be uninstalled properly from the system. Additional info:
Fixed in dist git: 51c0d2abb10a2a2a82c4faced3f19e3c68b3672b
Tested on RHEL5.8 i386 and x86_64. Package version: qpid-cpp-server-0.14-9.el5 [root@lzhaldyb-rhel58i rpms]# yum localinstall -y --nogpgcheck ./qpid-cpp-server-0.14-9.el5.i386.rpm Loaded plugins: rhnplugin Setting up Local Package Process <snip> Installed: qpid-cpp-server.i386 0:0.14-9.el5 Complete! [root@lzhaldyb-rhel58i rpms]# echo $? 0 [root@lzhaldyb-rhel58i rpms]# yum remove -y qpid-cpp-server Loaded plugins: rhnplugin Setting up Remove Process <snip> Removed: qpid-cpp-server.i386 0:0.14-9.el5 Complete! [root@lzhaldyb-rhel58i rpms]# echo $? 0 -> VERIFIED