[Bug 684729] New: Missing %post and %postun scriptlet dependencies

bugzilla at redhat.com bugzilla at redhat.com
Mon Mar 14 11:04:53 UTC 2011

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: Missing %post and %postun scriptlet dependencies


           Summary: Missing %post and %postun scriptlet dependencies
           Product: Fedora
           Version: rawhide
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: unspecified
          Priority: unspecified
         Component: pango
        AssignedTo: behdad at fedoraproject.org
        ReportedBy: pmatilai at redhat.com
         QAContact: extras-qa at fedoraproject.org
                CC: behdad at fedoraproject.org,
                    fonts-bugs at lists.fedoraproject.org
    Classification: Fedora

Description of problem:
Pango unconditionally uses some commands in %post and %postun for which there
are no corresponding scriptlet dependencies, this can result in install/erase
errors in transaction.

Version-Release number of selected component (if applicable):
At least pango 1.28.3-2.fc15 (rawhide, f15)

How reproducible:

Steps to Reproduce:
1. yum --disablerepo="*" --enablerepo=rawhide --installroot=/home/test/ -y
install pango

Actual results:
  Installing : pango-1.28.3-2.fc15.x86_64                                 51/51 
Non-fatal POSTIN scriptlet failure in rpm package pango-1.28.3-2.fc15.x86_64
/var/tmp/rpm-tmp.hTFXLn: line 15: sed: command not found
/var/tmp/rpm-tmp.hTFXLn: line 17: sed: command not found
/var/tmp/rpm-tmp.hTFXLn: line 24: /usr/bin/pango-querymodules-32: No such file
or directory
warning: %post(pango-1.28.3-2.fc15.x86_64) scriptlet failed, exit status 127

Expected results:
No warnings/errors.

Additional info:
Based on a quick look, the following dependencies should be added to ensure
clean install + erase (file vs package dependencies is a matter of taste here):

Requires(post): /sbin/ldconfig /bin/sed
Requires(postun): /sbin/ldconfig /bin/sed

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list