Yum can't update any java-latest packages

Issues related to applications and software problems
Post Reply
Posts: 14
Joined: 2016/01/22 16:54:25

Yum can't update any java-latest packages

Post by charlweed » 2021/03/06 01:55:23

yum update shows the following packages should be updated:

Code: Select all

java-latest-openjdk-debug.x86_64                                              1:                                     epel
java-latest-openjdk-demo-debug.x86_64                                         1:                                     epel
java-latest-openjdk-devel-debug.x86_64                                        1:                                     epel
java-latest-openjdk-headless-debug.x86_64                                     1:                                     epel
java-latest-openjdk-jmods-debug.x86_64                                        1:                                     epel
java-latest-openjdk-src-debug.x86_64                                          1:                                     epel
But the updates for all of them fail because they all depend missing packages:

Code: Select all

Error: Package: 1:java-latest-openjdk-src-debug- (epel)
           Requires: java-latest-openjdk-headless-slowdebug(x86-64) = 1:
Error: Package: 1:java-latest-openjdk-devel-debug- (epel)
           Requires: java-latest-openjdk-slowdebug(x86-64) = 1:
Error: Package: 1:java-latest-openjdk-jmods-debug- (epel)
           Requires: java-latest-openjdk-devel-slowdebug = 1:
Error: Package: 1:java-latest-openjdk-demo-debug- (epel)
           Requires: java-latest-openjdk-slowdebug(x86-64) = 1:
Error: Package: 1:java-latest-openjdk-debug- (epel)
           Requires: java-latest-openjdk-headless-slowdebug(x86-64) = 1:
As far as I can tell, the missing packages all exist for el8, but not for el7. Is there a fix for this?

Posts: 1
Joined: 2021/03/31 03:34:50

Re: Yum can't update any java-latest packages

Post by warrigalthedingo » 2021/03/31 03:39:20

I'm Getting the same issue. I removed all previous versions of java (1.6, 1.7 and 1.8) then tried to install java-latest-*.

User avatar
Forum Moderator
Posts: 30559
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Yum can't update any java-latest packages

Post by TrevorH » 2021/03/31 05:51:55

These packages all come from EPEL so you need to report the problems with them via bugzilla.redhat.com in the Fedora EPEL section.

As a bypass you can yum --exclude=\*debug\* install java-latest-openjdk java-latest-openjdk-whatever
CentOS 6 died in November 2020 - migrate to a new version!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply

Return to “CentOS 7 - Software Support”