Bug 515920 - Errors installing parted-1.8.8-17.fc11.i586 with --excludedocs
Summary: Errors installing parted-1.8.8-17.fc11.i586 with --excludedocs
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: parted
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Joel Andres Granados
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 516757
TreeView+ depends on / blocked
 
Reported: 2009-08-06 11:19 UTC by Alexander Todorov
Modified: 2009-09-17 10:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 10:07:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Alexander Todorov 2009-08-06 11:19:37 UTC
Description of problem:
When installing with --excludedocs there are errors caused by missing files.

Version:
parted-1.8.8-17.fc11.i586

How reproducible:
Always

Steps to reproduce:
1) rpm -ihv --excludedocs parted-1.8.8-17.fc11.i586  

or:
- use %packages --excludedocs in kickstart
- enable %_excludedocs macro in RPM

Expected results:
Package is installed without errors

Actual results:
Error(s): Installing parted-1.8.8-17.fc11.i586
install-info: No such file or directory for /usr/share/info/parted.info.gz

Additional info:
This bug is automatically filed with python-bugzilla and component assignment may be incorrect.

Comment 1 Joel Andres Granados 2009-08-11 16:40:34 UTC
pls test last parted version: parted-1.9.0-9.

Comment 2 Alexander Todorov 2009-08-12 07:33:45 UTC
Joel,
scriptlets for last parted version look the same as in previous version. Is this the correct version number?

# rpm -qp --scripts parted-1.9.0-9.fc12.i686.rpm 
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
/sbin/install-info /usr/share/info/parted.info.gz /usr/share/info/dir || :
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /sbin/install-info --delete /usr/share/info/parted.info.gz /usr/share/info/dir >/dev/null 2>&1 || :
fi
postuninstall program: /sbin/ldconfig

--- old version ---

# rpm -q parted
parted-1.8.8-17.fc11.i586

# rpm -q --scripts parted
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
/sbin/install-info /usr/share/info/parted.info.gz /usr/share/info/dir || :
preuninstall scriptlet (using /bin/sh):
if [ $1 = 0 ]; then
    /sbin/install-info --delete /usr/share/info/parted.info.gz /usr/share/info/dir >/dev/null 2>&1 || :
fi
postuninstall program: /sbin/ldconfig

Comment 3 Joel Andres Granados 2009-08-12 09:22:31 UTC
Alex:
Thx for testing.  You are correct, the new package has the same info.  I'll look into it and get back to the bug once I have something.

Comment 4 Joel Andres Granados 2009-08-12 11:00:45 UTC
Alex:
I have seen this issue in lots of packages in fedora.  automake, m4 and libtool.

Comment 5 Joel Andres Granados 2009-08-12 11:09:06 UTC
Should be fixed in parted-1.9.0-10.


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