Project

Profile

Help

Issue #554

Warning messages on Removing/Installing pulp-selinux rpm

Added by pthomas@redhat.com almost 5 years ago. Updated 9 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
1. Low
Version:
2.5
Platform Release:
2.7.0
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
QA Contact:
Complexity:
Smash Test:
Verified:
Yes
Verification Required:
No
Sprint:

Description

Description of problem:

Warning messages displayed when removing/re installing pulp-selinux rpms

Version-Release number of selected component (if applicable):
pulp-selinux.noarch 0:2.5.0-0.6.beta.el7

How reproducible:

Steps to Reproduce:
1. Yum remove pup-selinux
2. Yum install pulp-selinux
3.

Actual results:

on rhel7

[root@cloud-qe-15 ~]# yum remove pulp-selinux
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package pulp-selinux.noarch 0:2.5.0-0.6.beta.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size ================================================================================
Removing:
pulp-selinux noarch 2.5.0-0.6.beta.el7 @pulp-2.4-beta 156 k

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

Installed size: 156 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : pulp-selinux-2.5.0-0.6.beta.el7.noarch 1/1
warning: file /usr/share/selinux/devel/include/apps/pulp-server.if: remove failed: No such file or directory
warning: file /usr/share/selinux/devel/include/apps/pulp-celery.if: remove failed: No such file or directory
Verifying : pulp-selinux-2.5.0-0.6.beta.el7.noarch 1/1

Removed:
pulp-selinux.noarch 0:2.5.0-0.6.beta.el7

Complete!

On Rhel6

[root@mgmt4 ~]# yum remove pulp-selinux
Loaded plugins: product-id, pulp-profile-update, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Remove Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package pulp-selinux.noarch 0:2.5.0-0.6.beta.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
Package Arch Version Repository Size =============================================================================================
Removing:
pulp-selinux noarch 2.5.0-0.6.beta.el6 installed 171 k

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

Installed size: 171 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.

Erasing    : pulp-selinux-2.5.0-0.6.beta.el6.noarch                                    1/1 
'NoneType' object has no attribute 'startswith'
Verifying : pulp-selinux-2.5.0-0.6.beta.el6.noarch 1/1

Removed:
pulp-selinux.noarch 0:2.5.0-0.6.beta.el6

Complete!
[root@mgmt4 ~]#
[root@mgmt4 ~]#
[root@mgmt4 ~]#
[root@mgmt4 ~]# yum install pulp-selinux
Loaded plugins: product-id, pulp-profile-update, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
--> Running transaction check
---> Package pulp-selinux.noarch 0:2.5.0-0.6.beta.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================
Package Arch Version Repository Size =============================================================================================
Installing:
pulp-selinux noarch 2.5.0-0.6.beta.el6 pulp-2.4-beta 73 k

Transaction Summary =============================================================================================
Install 1 Package(s)

Total size: 73 k
Installed size: 171 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : pulp-selinux-2.5.0-0.6.beta.el6.noarch 1/1
'NoneType' object has no attribute 'startswith'
Verifying : pulp-selinux-2.5.0-0.6.beta.el6.noarch 1/1

Installed:
pulp-selinux.noarch 0:2.5.0-0.6.beta.el6

Complete!
[root@mgmt4 ~]#

Expected results:

Additional info:

+ This bug was cloned from Bugzilla Bug #1148547 +

Associated revisions

Revision 40d327e5 View on GitHub
Added by cduryee almost 5 years ago

Fix error during pulp-selinux uninstall

The `uninstall.sh` script was removing two `.if` files which were also
controlled by RPM. These should only be cleaned up by RPM itself.

re #554

Revision 40d327e5 View on GitHub
Added by cduryee almost 5 years ago

Fix error during pulp-selinux uninstall

The `uninstall.sh` script was removing two `.if` files which were also
controlled by RPM. These should only be cleaned up by RPM itself.

re #554

History

#1 Updated by cduryee almost 5 years ago

  • Status changed from NEW to POST
  • Platform Release set to 2.7.0

#2 Updated by cduryee almost 5 years ago

  • Status changed from POST to MODIFIED
  • Assignee set to cduryee

#3 Updated by bmbouter almost 5 years ago

  • Severity changed from Low to 1. Low

#4 Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to ON_QA

#5 Updated by Skullman over 4 years ago

  • QA Contact set to Skullman

#6 Updated by Skullman over 4 years ago

  • Status changed from ON_QA to VERIFIED

Fix verified with pulp-selinux-2.7.0-0.3.beta.fc21.noarch.

#7 Updated by amacdona@redhat.com about 4 years ago

  • Status changed from VERIFIED to CLOSED - CURRENTRELEASE

#8 Updated by pulpbot almost 3 years ago

  • Verified changed from No to Yes

#9 Updated by bmbouter 9 months ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF