Bug 218048 - java and update-alternatives
Summary: java and update-alternatives
Status: RESOLVED FIXED
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Java (show other bugs)
Version: Beta 1 plus
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Daniel Bornkessel
QA Contact: E-mail List
URL:
Whiteboard:
Keywords: build
Depends on:
Blocks:
 
Reported: 2006-11-03 22:17 UTC by Sami Vento
Modified: 2007-02-01 08:49 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Vento 2006-11-03 22:17:01 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
Comment 1 Marcus Rückert 2006-11-03 22:19:32 UTC
looks like a missing prereq daniel. :)
Comment 2 Daniel Bornkessel 2006-11-06 17:49:30 UTC
yep.
submitted corrected version.
Regards
Daniel
Comment 3 Sami Vento 2006-11-12 21:48:54 UTC
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
Comment 4 Sami Vento 2006-11-13 09:55:42 UTC
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.
Comment 5 Daniel Bornkessel 2006-11-16 11:04:31 UTC
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.
Comment 6 Daniel Bornkessel 2007-02-01 08:49:31 UTC
fixed