Bug 773297

Summary: yum unable to uninstall qpid-cpp-server
Product: Red Hat Enterprise MRG Reporter: Leonid Zhaldybin <lzhaldyb>
Component: qpid-cppAssignee: Justin Ross <jross>
Status: CLOSED CURRENTRELEASE QA Contact: Leonid Zhaldybin <lzhaldyb>
Severity: high Docs Contact:
Priority: high    
Version: DevelopmentCC: esammons, iboverma, jross
Target Milestone: 2.1.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-cpp-0.14-9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Leonid Zhaldybin 2012-01-11 13:09:47 UTC
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:

Comment 4 Justin Ross 2012-02-25 20:35:05 UTC
Fixed in dist git: 51c0d2abb10a2a2a82c4faced3f19e3c68b3672b

Comment 6 Leonid Zhaldybin 2012-03-06 07:43:34 UTC
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