Project

Profile

Help

Issue #1000

Cannot uninstall pulp-server on rhel7

Added by igulina@redhat.com over 6 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

>>rpm -qa pulp-server
pulp-server-2.6.2-0.2.beta.el7.noarch

>> rpm -e pulp-server
error: %preun(pulp-server-2.6.2-0.2.beta.el7.noarch) scriptlet failed, exit status 5
error: pulp-server-2.6.2-0.2.beta.el7.noarch: erase failed

>> rpm -ev --nodeps pulp-server
Preparing packages...
error: %preun(pulp-server-2.6.2-0.2.beta.el7.noarch) scriptlet failed, exit status 5
error: pulp-server-2.6.2-0.2.beta.el7.noarch: erase failed

>> yum remove pulp-server
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb
Resolving Dependencies
--> Running transaction check
---> Package pulp-server.noarch 0:2.6.2-0.2.beta.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                Arch              Version                       Repository                 Size
========================================================================================================
Removing:
 pulp-server            noarch            2.6.2-0.2.beta.el7            @pulp-2.6-beta            2.8 M

Transaction Summary
========================================================================================================
Remove  1 Package

Installed size: 2.8 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
error: %preun(pulp-server-2.6.2-0.2.beta.el7.noarch) scriptlet failed, exit status 5
Error in PREUN scriptlet in rpm package pulp-server-2.6.2-0.2.beta.el7.noarch
  Verifying  : pulp-server-2.6.2-0.2.beta.el7.noarch                                                1/1 

Failed:
  pulp-server.noarch 0:2.6.2-0.2.beta.el7                                                               

Complete!

History

#1 Updated by igulina@redhat.com over 6 years ago

In comparison with rhel6:

>>rpm -qa pulp-server
pulp-server-2.6.2-0.2.beta.el6.noarch
>> rpm -e pulp-server
error: Failed dependencies:
    pulp-server = 2.6.2 is needed by (installed) pulp-rpm-plugins-2.6.2-0.2.beta.el6.noarch
    pulp-server = 2.6.2 is needed by (installed) pulp-puppet-plugins-2.6.2-0.2.beta.el6.noarch

>> yum remove pulp-server
Loaded plugins: amazon-id, pulp-profile-update, rhui-lb, security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package pulp-server.noarch 0:2.6.2-0.2.beta.el6 will be erased
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-rpm-plugins-2.6.2-0.2.beta.el6.noarch
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-puppet-plugins-2.6.2-0.2.beta.el6.noarch
--> Running transaction check
---> Package pulp-puppet-plugins.noarch 0:2.6.2-0.2.beta.el6 will be erased
---> Package pulp-rpm-plugins.noarch 0:2.6.2-0.2.beta.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================
 Package                      Arch            Version                     Repository               Size
========================================================================================================
Removing:
 pulp-server                  noarch          2.6.2-0.2.beta.el6          @pulp-2.6-beta          2.8 M
Removing for dependencies:
 pulp-puppet-plugins          noarch          2.6.2-0.2.beta.el6          @pulp-2.6-beta          301 k
 pulp-rpm-plugins             noarch          2.6.2-0.2.beta.el6          @pulp-2.6-beta          1.0 M

Transaction Summary
========================================================================================================
Remove        3 Package(s)

Installed size: 4.2 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : pulp-rpm-plugins-2.6.2-0.2.beta.el6.noarch                                           1/3 
  Erasing    : pulp-puppet-plugins-2.6.2-0.2.beta.el6.noarch                                        2/3 
  Erasing    : pulp-server-2.6.2-0.2.beta.el6.noarch                                                3/3 
warning: /etc/pulp/server.conf saved as /etc/pulp/server.conf.rpmsave
'str' object has no attribute 'pop'
  Verifying  : pulp-puppet-plugins-2.6.2-0.2.beta.el6.noarch                                        1/3 
  Verifying  : pulp-server-2.6.2-0.2.beta.el6.noarch                                                2/3 
  Verifying  : pulp-rpm-plugins-2.6.2-0.2.beta.el6.noarch                                           3/3 

Removed:
  pulp-server.noarch 0:2.6.2-0.2.beta.el6                                                               

Dependency Removed:
  pulp-puppet-plugins.noarch 0:2.6.2-0.2.beta.el6      pulp-rpm-plugins.noarch 0:2.6.2-0.2.beta.el6     

Complete!

#2 Updated by rbarlow over 6 years ago

This may be related to https://pulp.plan.io/issues/980 .

#3 Updated by rbarlow over 6 years ago

Also, we should refile this ticket under a new number and rename this one to "Finish and close the first 999 tickets." Right, mhrivnak?

#4 Updated by mhrivnak over 6 years ago

  • Priority changed from Normal to High
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes
  • Tags deleted (Easy Fix)

#5 Updated by jortel@redhat.com over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to jortel@redhat.com

#6 Updated by jortel@redhat.com over 6 years ago

Worked for me when tested with 2.6.2-0.3-rc on RHEL 7.0.

[root@jortel-el7 yum.repos.d]# yum remove pulp-server
Resolving Dependencies
--> Running transaction check
---> Package pulp-server.noarch 0:2.6.2-0.3.rc.el7 will be erased
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-rpm-plugins-2.6.2-0.3.rc.el7.noarch
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-puppet-plugins-2.6.2-0.3.rc.el7.noarch
--> Running transaction check
---> Package pulp-puppet-plugins.noarch 0:2.6.2-0.3.rc.el7 will be erased
---> Package pulp-rpm-plugins.noarch 0:2.6.2-0.3.rc.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

==================================================================================================================================================
 Package                                 Arch                       Version                              Repository                          Size
==================================================================================================================================================
Removing:
 pulp-server                             noarch                     2.6.2-0.3.rc.el7                     @pulp-2.6-beta                     2.8 M
Removing for dependencies:
 pulp-puppet-plugins                     noarch                     2.6.2-0.3.rc.el7                     @pulp-2.6-beta                     300 k
 pulp-rpm-plugins                        noarch                     2.6.2-0.3.rc.el7                     @pulp-2.6-beta                     1.0 M

Transaction Summary
==================================================================================================================================================
Remove  1 Package (+2 Dependent packages)

Installed size: 4.1 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : pulp-puppet-plugins-2.6.2-0.3.rc.el7.noarch                                                                                    1/3 
  Erasing    : pulp-rpm-plugins-2.6.2-0.3.rc.el7.noarch                                                                                       2/3 
  Erasing    : pulp-server-2.6.2-0.3.rc.el7.noarch                                                                                            3/3 
  Verifying  : pulp-rpm-plugins-2.6.2-0.3.rc.el7.noarch                                                                                       1/3 
  Verifying  : pulp-puppet-plugins-2.6.2-0.3.rc.el7.noarch                                                                                    2/3 
  Verifying  : pulp-server-2.6.2-0.3.rc.el7.noarch                                                                                            3/3 

Removed:
  pulp-server.noarch 0:2.6.2-0.3.rc.el7                                                                                                           

Dependency Removed:
  pulp-puppet-plugins.noarch 0:2.6.2-0.3.rc.el7                             pulp-rpm-plugins.noarch 0:2.6.2-0.3.rc.el7                            

Complete!
[root@jortel-el7 yum.repos.d]#

#7 Updated by jortel@redhat.com over 6 years ago

  • Status changed from ASSIGNED to 5

Moving to on_qa per QE request.

#8 Updated by pthomas@redhat.com over 6 years ago

  • Status changed from 5 to 6

Looks like this may be some kind of user error

I have verified that uninstall with yum remove works on el7


[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# rpm -qa pulp-server
pulp-server-2.6.2-0.2.beta.el7.noarch
[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# rpm -e pulp-server
error: Failed dependencies:
    pulp-server = 2.6.2 is needed by (installed) pulp-puppet-plugins-2.6.2-0.2.beta.el7.noarch
    pulp-server = 2.6.2 is needed by (installed) pulp-rpm-plugins-2.6.2-0.2.beta.el7.noarch
    pulp-server >= 2.5.0 is needed by (installed) pulp-docker-plugins-1.0.1-0.2.beta.el7.noarch
[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# rpm -ev pulp-server
error: Failed dependencies:
    pulp-server = 2.6.2 is needed by (installed) pulp-puppet-plugins-2.6.2-0.2.beta.el7.noarch
    pulp-server = 2.6.2 is needed by (installed) pulp-rpm-plugins-2.6.2-0.2.beta.el7.noarch
    pulp-server >= 2.5.0 is needed by (installed) pulp-docker-plugins-1.0.1-0.2.beta.el7.noarch
[root@ibm-x3550m3-09 ~]#
 
[root@ibm-x3550m3-09 ~]# 
[root@ibm-x3550m3-09 ~]# yum remove pulp-server
Loaded plugins: product-id, pulp-profile-update, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package pulp-server.noarch 0:2.6.2-0.2.beta.el7 will be erased
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-rpm-plugins-2.6.2-0.2.beta.el7.noarch
--> Processing Dependency: pulp-server >= 2.5.0 for package: pulp-docker-plugins-1.0.1-0.2.beta.el7.noarch
--> Processing Dependency: pulp-server = 2.6.2 for package: pulp-puppet-plugins-2.6.2-0.2.beta.el7.noarch
--> Running transaction check
---> Package pulp-docker-plugins.noarch 0:1.0.1-0.2.beta.el7 will be erased
---> Package pulp-puppet-plugins.noarch 0:2.6.2-0.2.beta.el7 will be erased
---> Package pulp-rpm-plugins.noarch 0:2.6.2-0.2.beta.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                Arch      Version               Repository         Size
================================================================================
Removing:
 pulp-server            noarch    2.6.2-0.2.beta.el7    @pulp-2.6-beta    2.8 M
Removing for dependencies:
 pulp-docker-plugins    noarch    1.0.1-0.2.beta.el7    @pulp-2.6-beta    164 k
 pulp-puppet-plugins    noarch    2.6.2-0.2.beta.el7    @pulp-2.6-beta    300 k
 pulp-rpm-plugins       noarch    2.6.2-0.2.beta.el7    @pulp-2.6-beta    1.0 M

Transaction Summary
================================================================================
Remove  1 Package (+3 Dependent packages)

Installed size: 4.3 M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Erasing    : pulp-rpm-plugins-2.6.2-0.2.beta.el7.noarch                   1/4 
  Erasing    : pulp-docker-plugins-1.0.1-0.2.beta.el7.noarch                2/4 
  Erasing    : pulp-puppet-plugins-2.6.2-0.2.beta.el7.noarch                3/4 
  Erasing    : pulp-server-2.6.2-0.2.beta.el7.noarch                        4/4 
beaker-HighAvailability                                  | 4.1 kB     00:00     
beaker-ResilientStorage                                  | 4.1 kB     00:00     
beaker-Server                                            | 4.1 kB     00:00     
beaker-Server-SAP                                        | 4.1 kB     00:00     
beaker-Server-SAP-debuginfo                              | 3.0 kB     00:00     
beaker-Server-debuginfo                                  | 3.0 kB     00:00     
beaker-Server-optional                                   | 3.8 kB     00:00     
beaker-Server-optional-debuginfo                         | 3.0 kB     00:00     
beaker-harness                                           | 1.3 kB     00:00     
beaker-tasks                                             | 1.3 kB     00:00     
epel/x86_64/metalink                                     |  24 kB     00:00     
epel/x86_64                                              | 4.4 kB     00:00     
epel/x86_64/updateinfo                                   | 381 kB     00:00     
epel/x86_64/primary_db                                   | 3.5 MB     00:00     
epel/x86_64/pkgtags                                      | 1.5 MB     00:00     
pulp-2.6-beta/7Server/x86_64                             | 3.6 kB     00:00     
rhel-7-server-extras-rpms/x86_64                         | 2.9 kB     00:00     
rhel-7-server-rpms/7Server/x86_64                        | 3.7 kB     00:00     

  Verifying  : pulp-puppet-plugins-2.6.2-0.2.beta.el7.noarch                1/4 
  Verifying  : pulp-docker-plugins-1.0.1-0.2.beta.el7.noarch                2/4 
  Verifying  : pulp-server-2.6.2-0.2.beta.el7.noarch                        3/4 
  Verifying  : pulp-rpm-plugins-2.6.2-0.2.beta.el7.noarch                   4/4 

Removed:
  pulp-server.noarch 0:2.6.2-0.2.beta.el7                                       

Dependency Removed:
  pulp-docker-plugins.noarch 0:1.0.1-0.2.beta.el7                               
  pulp-puppet-plugins.noarch 0:2.6.2-0.2.beta.el7                               
  pulp-rpm-plugins.noarch 0:2.6.2-0.2.beta.el7                                  

Complete!

<\pre>

#9 Updated by dkliban@redhat.com about 6 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE

#11 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF