Description of problem: Upgrading openjdk 1.7 -> 1.8 leaves a broken symlink: $ ll /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.11-15.b12.fc22.x86_64/jre/lib/tzdb.dat lrwxrwxrwx. 1 root root 30 Aug 17 22:12 /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.11-15.b12.fc22.x86_64/jre/lib/tzdb.dat -> /usr/share/javazi-1.8/tzdb.dat The target file (/usr/share/javazi-1.8/tzdb.dat) does not exist. You have to manually install tzdata-java in order to get this file. This suggests that openjdk needs a versioned Requires, something like: Requires: tzdata-java >= 2014f-1 or perhaps more directly: Requires: /usr/share/javazi-1.8/tzdb.dat Version-Release number of selected component (if applicable): java-1.8.0-openjdk-1.8.0.11-15.b12.fc22.x86_64 How reproducible: 100% Steps to Reproduce: 1. Have openjdk 1.7 installed. 2. Upgrade using yum to 1.8.
(In reply to Richard W.M. Jones from comment #0) > Description of problem: [...] > You have to manually install tzdata-java in order to get this file. I mean, of course, manually *upgrade*. tzdata-java is already installed and satisfies the dependency, but because it's the old version it doesn't have this file.
Ok that gave sense.
just note - this adds circular dependence on jdk requires tzdata-java and vice versa.
(In reply to jiri vanek from comment #3) > just note - this adds circular dependence on > jdk requires tzdata-java and vice versa. I'm pretty sure this is fine. It just means that jdk & tzdata-java cannot be installed without each other. yum will do the right thing.
Please use: Requires: tzdata-java >= 2014f-1 as the file dependency forces a download of the very large filelists metadata.
pushed to f21 and f22.
Possibly broken in RHEL 7 too: https://bugzilla.redhat.com/show_bug.cgi?id=1138436