Bugzilla – Bug 218048
java and update-alternatives
Last modified: 2007-02-01 08:49:31 UTC
I was building OpenOffice-voikko(oo2-voikko) -package in buildservice and I got this message. Package shouldn't be broken, because I have build it succesfully couple times. Here is log: http://build.opensuse.org/package/live_build_log?package=oo2-voikko&arch=i586&repository=SUSE_Factory&project=home%3Afisu81 Here is error message: installing java-1_4_2-cacao-0.96-10 /var/tmp/rpm-tmp.85696: line 2: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.85696: line 7: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.85696: line 12: /usr/sbin/update-alternatives: No such file or directory error: %post(java-1_4_2-cacao-0.96-10.i586) scriptlet failed, exit status 127
looks like a missing prereq daniel. :)
yep. submitted corrected version. Regards Daniel
Almost same but different arch. Haven't tested with i586 yet because buildservice is too busy. I checked package changelog and there was entry which says: "added missing PreReq: /usr/sbin/update-alternatives (Bug: #218048)" /var/tmp/rpm-tmp.68212: line 2: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.68212: line 7: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.68212: line 12: /usr/sbin/update-alternatives: No such file or directory error: %post(java-1_4_2-cacao-0.96-14.x86_64) scriptlet failed, exit status 127
continue to the previous message.. /var/tmp/rpm-tmp.85676: line 2: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.85676: line 7: /usr/sbin/update-alternatives: No such file or directory /var/tmp/rpm-tmp.85676: line 12: /usr/sbin/update-alternatives: No such file or directory error: %post(java-1_4_2-cacao-0.96-14.i586) scriptlet failed, exit status 127 So, the problem still exists in i586 also.
hi. it will exist until the updated java package shows up in the build service (which will only happen once beta3 is uploaded) ... meanwhile you will have to add update-alternatives to you build requires ... that should work.
fixed