Bug 212063

Summary: error in postinstall scriptlet for xsane-gimp
Product: [Fedora] Fedora Reporter: David Baron <dbaron>
Component: xsaneAssignee: Nils Philippsen <nphilipp>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5CC: kb6ql, rc040203
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: f8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-07 15:31:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description David Baron 2006-10-24 20:11:20 UTC
Description of problem:  In the xsane-gimp update pushed to FC5 updates today,
there's an error in the postinstall scriptlet:

# yum upgrade
...
  Updating  : autofs                       ####################### [ 4/20]
  Updating  : xsane-gimp                   ####################### [ 5/20]
/var/tmp/rpm-tmp.27650: line 1: [: missing `]'
  Updating  : mutt                         ####################### [ 6/20]
...


Version-Release number of selected component (if applicable):
xsane-gimp-0.991-3.fc5

How reproducible:
Didn't try.

Steps to Reproduce:
1. Upgrade to xsane-gimp-0.991-3.fc5 using yum
  
Actual results: error message (and perhaps something broken)

Expected results: no error message

Additional info:

The following:

$ rpm -q --scripts xsane-gimp
postinstall scriptlet (using /bin/sh):
if [ -x "/usr/sbin/gimp-plugin-mgr"]; then
    /usr/sbin/gimp-plugin-mgr --install xsane
fi
...

shows that there's a missing space between the " and the ].


It seems like this could be the result of the fix for bug 209648 based on
reading that bug (although I didn't look in CVS).

Comment 1 Michal Jaegermann 2006-10-24 23:16:16 UTC
xsane-gimp-0.991-3.fc6 for FC6 is affected in the same way

Comment 2 Nils Philippsen 2006-10-25 06:39:07 UTC
Argh. That'll teach me to bypass testing.

Supposedly fixed 0.991-4 is on the way.

Comment 3 Nils Philippsen 2006-10-25 10:54:41 UTC
*** Bug 212131 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2006-10-25 14:55:58 UTC
xsane-0.991-4.fc5 has been pushed for fc5, which should resolve this issue.  If these problems are still present in this version, then please make note of it in this bug report.

Comment 5 Nils Philippsen 2006-10-27 07:21:54 UTC
*** Bug 212442 has been marked as a duplicate of this bug. ***

Comment 6 Jonathan Underwood 2008-03-07 15:14:39 UTC
This bug can presumably be closed?

Comment 7 Nils Philippsen 2008-03-07 15:31:42 UTC
Yes.