Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 285741

Summary: If /etc/pm/sleep.d exists package fails to upgrade
Product: Red Hat Enterprise Linux 5 Reporter: Traxtopel <traxtopel>
Component: pm-utilsAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 5.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-09-24 12:21:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Traxtopel 2007-09-11 11:29:03 UTC
Description of problem:
Updating to 0.99.3-6.el5.14 on 5.1 Snap6. if directory If /etc/pm/sleep.d exists
package fails to upgrade.

Version-Release number of selected component (if applicable):


How reproducible:

=============================================================================
 Package                 Arch       Version          Repository        Size 
=============================================================================
Updating:
 pm-utils                i386       0.99.3-6.el5.14  rhel5-u1-beta      64 k

Transaction Summary
=============================================================================
Install      0 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         

Total download size: 64 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): pm-utils-0.99.3-6. 100% |=========================|  64 kB    00:00     
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating  : pm-utils                     ######################### [1/2] 
error: unpacking of archive failed on file /etc/pm/sleep.d: cpio: rename
Removed: //var/cache/yum/rhel5-u1-beta/packages/pm-utils-0.99.3-6.el5.14.i386.rpm

Updated: pm-utils.i386 0:0.99.3-6.el5.14
Complete!

Removing /etc/pm/sleep.d allows package to update.

Comment 1 Florian La Roche 2007-09-24 12:21:57 UTC
This is only a problem updating from the beta to a newer version, but not
from RHEL5.0 to RHEL5.1 release.

regards,

Florian La Roche