Bug 1419284

Summary: libextractor uses wrong path for info file in postinstall and preuninstall scripts
Product: [Fedora] Fedora Reporter: Edgar Hoch <edgar.hoch>
Component: libextractorAssignee: Gwyn Ciesla <gwync>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 25CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: libextractor-1.4-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-17 19:42:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Edgar Hoch 2017-02-04 20:10:52 UTC
Description of problem:

Error message:
install-info: No such file or directory for /usr/share/info/extractor.info

postinstall and preuninstall scripts uses path /usr/share/info/extractor.info for info file. But this file doesn't exists, it isn't installed. It should be replaces by /usr/share/info/libextractor.info .

See:

# rpm -q --scripts libextractor
postinstall scriptlet (using /bin/sh):
/sbin/ldconfig
/sbin/install-info --info-dir /usr/share/info /usr/share/info/extractor.info || :
preuninstall scriptlet (using /bin/sh):
test $1 != 0 || /sbin/install-info --info-dir /usr/share/info --delete /usr/share/info/extractor.info || :
postuninstall program: /sbin/ldconfig


# rpm -ql libextractor|grep info
/usr/share/info/libextractor.info.gz


Version-Release number of selected component (if applicable):
libextractor-1.3-8.fc24.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dnf install libextractor

Actual results:
Error message:
install-info: No such file or directory for /usr/share/info/extractor.info

Expected results:
No error message.

Comment 1 Fedora Update System 2017-06-12 17:44:07 UTC
libextractor-1.4-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-274e7b3b32

Comment 2 Fedora Update System 2017-06-14 01:36:44 UTC
libextractor-1.4-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-274e7b3b32

Comment 3 Fedora Update System 2017-06-17 19:42:48 UTC
libextractor-1.4-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.