Description of problem: [root@jackodesktop baz]# urpmi --replacepkgs mgaonline ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/i586/media/core/release/mgaonline-2.77.26-2.mga1.noarch.rpm installing mgaonline-2.77.26-2.mga1.noarch.rpm from /var/cache/urpmi/rpms Preparing... ######################################################################################################### 1/1: mgaonline ######################################################################################################### warning: %post(mgaonline-2.77.26-2.mga1.noarch) scriptlet failed, exit status 1 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3.
Hardware: i586 => All
Perhaps that's the script that runs when mgaonline is installed on a Mandriva system. https://bugs.mageia.org/show_bug.cgi?id=1153#c51 It presumably isn't required to succeed on a Mageia system.
Well running that command in %post :- http://svnweb.mageia.org/packages/cauldron/mgaonline/current/SPECS/mgaonline.spec?r1=100058&r2=100263 on my system manually, does return 1. It's the first grep that fails:- grep -q pi.mandriva.com/mirror /usr/lib/perl5/vendor_perl/5.*/urpm/mirrors.pm not sure what it's doing, but if the next part depends on the first part failing, then maybe && should be || ? That certainly stops it failing but maybe breaks it :\
Jim is right, maybe the output should be redirected to /dev/null, so as not to alarm cauldron/mageia users... or the script should only run if it's a mandriva system (based on /etc/release).
Priority: Normal => HighAssignee: bugsquad => thierry.vignaud
yes you can add "|| :" and bump the release and ask for submit
OK. Done.
Confirmed fixed: created transaction for installing on / (remove=0, install=0, upgrade=3) Preparing... ############################################# 1/3: drakconf-icons ############################################# 2/3: drakconf ############################################# 3/3: mgaonline ############################################# removing upgraded package drakconf-12.21.8-2.mga1.noarch removing upgraded package drakconf-icons-12.21.8-2.mga1.noarch removing upgraded package mgaonline-2.77.26-2.mga1.noarch unlocking urpmi database
Forgot to close, but thanks for the feedback all the same.
Status: NEW => RESOLVEDResolution: (none) => FIXED