Bug 773297 - yum unable to uninstall qpid-cpp-server
Summary: yum unable to uninstall qpid-cpp-server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-cpp
Version: Development
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 2.1.2
: ---
Assignee: Justin Ross
QA Contact: Leonid Zhaldybin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-11 13:09 UTC by Leonid Zhaldybin
Modified: 2014-11-09 22:38 UTC (History)
3 users (show)

Fixed In Version: qpid-cpp-0.14-9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.