Bug 3027 - Error installing upower-0.9.14-2.mga2.x86_64
Summary: Error installing upower-0.9.14-2.mga2.x86_64
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 20:35 CEST by Brian Smith
Modified: 2011-10-13 22:08 CEST (History)
1 user (show)

See Also:
Source RPM: upower-0.9.14-2.mga2.x86_64
CVE:
Status comment:


Attachments

Description Brian Smith 2011-10-12 20:35:04 CEST
Description of problem:
URPMI reports error below when updating to upower-0.9.14-2.mga2.x86_64

11/11: upower                #########################################################################################################
/var/tmp/rpm-tmp.Mtd7Nj: line 2: syntax error near unexpected token `then'
/var/tmp/rpm-tmp.Mtd7Nj: line 2: `[ $1 -ge 1 -o $2 -ge 2 ]; then'
warning: %post(upower-0.9.14-2.mga2.x86_64) scriptlet failed, exit status 2


How reproducible:

Not tried

Steps to Reproduce:
1.urpmi --auto-update --keep
2.see error above
3.
Comment 1 D Morgan 2011-10-12 20:53:03 CEST
should be fixed in next upower.

Status: NEW => RESOLVED
CC: (none) => dmorganec
Resolution: (none) => FIXED

Comment 2 Brian Smith 2011-10-12 21:18:07 CEST
Not quite...



Proceed with the installation of the 2 packages? (Y/n) 


    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/upower-0.9.14-3.mga2.x86_64.rpm
    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/lib64upower-glib1-0.9.14-3.mga2.x86_64.rpm
installing upower-0.9.14-3.mga2.x86_64.rpm lib64upower-glib1-0.9.14-3.mga2.x86_64.rpm from /var/cache/urpmi/rpms                           
Preparing...                     #########################################################################################################
      1/2: lib64upower-glib1     #########################################################################################################
      2/2: upower                #########################################################################################################
/var/tmp/rpm-tmp.NY1cij: line 2: [: too many arguments

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 3 Brian Smith 2011-10-13 22:08:27 CEST
fixed in -5mga2

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


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