Red Hat Bugzilla – Bug 484602
upgrade results in error from java-1.6.0-openjdk-1:18.104.22.168-9.b14.fc10@x86_64
Last modified: 2009-07-24 06:18:52 EDT
Description of problem:
just upgraded this package. it complains about an improper link. thus:
Output from java-1.6.0-openjdk-1:22.214.171.124-9.b14.fc10@x86_64:
link /usr/share/javaws incorrect for slave javaws (/usr/bin/javaws javaws)
this is complaining about a link pointing to alternatives settings:
lrwxrwxrwx 1 root root 24 2007-07-26 19:23 /usr/share/javaws -> /etc/alternatives/javaws
it seems that this package should expect that to be the link.
Version-Release number of selected component (if applicable):
presumably on any update.
Steps to Reproduce:
1. update the package to this release
error in description
i can't seem to reproduce this problem. Can you test it with the new packages in rawhide?
FYI, I was able to reproduce this and tracked down the problem. I got the hint from https://www.zarb.org/pipermail/jpackage-discuss/2005-July/008474.html
It appears that somehow there were some "alterntives" remnants that were left from an earlier version of java, and I had the following:
$ grep javaws /var/lib/alternatives/java
But of course there was no /usr/share/javaws link. If I manually change this in /var/lib/alterntives/java from /usr/share/javaws to /usr/bin/javaws then the OpenJDK PostInstall script will run correctly and properly set up the alternatives.