Bug 879418 - dmraid package postuninstall scriptlet causes "scriptlet failed, exit status 1"
Summary: dmraid package postuninstall scriptlet causes "scriptlet failed, exit status 1"
Keywords:
Status: CLOSED DUPLICATE of bug 877840
Alias: None
Product: Fedora
Classification: Fedora
Component: dmraid
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: LVM and device-mapper development team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-22 22:35 UTC by Michal Jaegermann
Modified: 2012-11-26 15:54 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-26 15:54:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2012-11-22 22:35:28 UTC
Description of problem:

While upgrading the following happens:

  Cleanup    : dmraid-1.0.0.rc16-17.fc18.x86_64                         227/445 
/sbin/ldconfig: relative path `1' used to build cache
warning: %postun(dmraid-1.0.0.rc16-17.fc18.x86_64) scriptlet failed, exit status 1

The problem is that this scriplet looks like this:

postuninstall scriptlet (using /sbin/ldconfig):

# 1. Main package

and ldconfig attempts to execute something which in an intention was supposed to be a comment.

Version-Release number of selected component (if applicable):
dmraid-1.0.0.rc16-17.fc18
dmraid-1.0.0.rc16-18.fc19


Additional info:
This is not the first package where such trouble showed up.  Basically the issue is that an rpm format does not have an 'end-of-section' marker and a section ends when the next one is starting.  Therefore sticking a shell comments in random places does not work too well.

Comment 1 Adam Tkac 2012-11-26 15:54:37 UTC

*** This bug has been marked as a duplicate of bug 877840 ***


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