Wolfgang Rosenauer schrieb:
Hi,
I just ran into an issue which would be easy to fix from the spec file but I wonder why the buildservice doesn't handle it correctly:
My package BuildRequires: java-devel and I'm using SUSE:SL-10.1:NonFree/standard. That means that it installs java-1_5_0-sun-1.5.0_06-17 on x86_64 (with i586 it works correctly since it pulls in 1.4.2) but I get the following error in the buildservice:
nstalling java-1_5_0-sun-1.5.0_06-17 /var/tmp/rpm-tmp.515: line 5: update-alternatives: command not found /var/tmp/rpm-tmp.515: line 27: update-alternatives: command not found /var/tmp/rpm-tmp.515: line 29: update-alternatives: command not found /var/tmp/rpm-tmp.515: line 37: update-alternatives: command not found error: %post(java-1_5_0-sun-1.5.0_06-17.x86_64) scriptlet failed, exit status 127
The package update-alternatives isn't installed before the java package although the Java package has PreReq: /usr/sbin/update-alternatives
So why isn't it handled correctly?
Hi, I already wrote a bug about this: https://bugzilla.novell.com/show_bug.cgi?id=354770 But I see no way to handle it from the spec file. Greetings -- Thomas Schmidt (tschmidt [at] suse.de) SUSE Linux Products GmbH :: Research & Development :: Internal Tools 144 pixels ought to be enough for anybody, www.blinkenlights.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org