Bug 1462426

Summary: Installing with dnf produces error /var/tmp/rpm-tmp.jMe0EE: line 44 [: too many arguments
Product: [Fedora] Fedora Reporter: Quentin Armitage <quentin>
Component: quaggaAssignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: balajig81, mruprich, msekleta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: quagga-1.2.2-1.fc26 quagga-1.2.2-1.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 16:21:11 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 Quentin Armitage 2017-06-17 14:45:33 UTC
Description of problem:
See summary

Version-Release number of selected component (if applicable):
quagga-1.2.1-1.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1. dnf install quagga
2.
3.

Actual results:
Reports error: /var/tmp/rpm-tmp.jMe0EE: line 44 [: too many arguments

Expected results:
No errors

Additional info:
The test 'if [ -f /usr/share/info/quagga.inf* ]' is failing since there are three files which match the wildcard. This test is used in both the postinstall and postuninstall scriptlets.

Perhaps the following would be better:
ls %{_infodir}/%{name}.inf* 2>/dev/null
if [ $? -eq 0 ]; then

Comment 1 Michal Ruprich 2017-11-08 11:54:59 UTC
Thanks Quentin, I am planning a rebase of quagga in Fedora soon so I'll be fixing this along with that.

Comment 2 Fedora Update System 2017-11-14 12:59:28 UTC
quagga-1.2.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-7d25605e98

Comment 3 Fedora Update System 2017-11-14 12:59:48 UTC
quagga-1.2.2-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-df3032c978

Comment 4 Fedora Update System 2017-11-14 16:46:18 UTC
quagga-1.2.2-1.fc27 has been pushed to the Fedora 27 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-7d25605e98

Comment 5 Fedora Update System 2017-11-14 17:13:56 UTC
quagga-1.2.2-1.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-df3032c978

Comment 6 Fedora Update System 2017-11-28 16:21:11 UTC
quagga-1.2.2-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2017-11-28 23:48:12 UTC
quagga-1.2.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.