You are not logged in.

#1 2019-10-09 13:42:23

sphere101
Member
Registered: 2017-08-04
Posts: 37

Arch upgrade failure with java

Hello,
Im running into the following error when trying to update the system with pacman -Syyu

: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing jre-openjdk (13.u33-1) breaks dependency 'java-runtime-openjdk=12' required by java-openjfx

Any recommendations on getting past this with pacman?
Thanks

Offline

#2 2019-10-09 13:51:21

chappjc
Member
Registered: 2015-09-23
Posts: 4

Re: Arch upgrade failure with java

If you don't need java-openjfx, you can just uninstall it. 

pacman -Qi java-openjfx | grep "Required By"

But from what I can tell, the java-openjfx package just need an update to v13.  It has been flagged as out of date.

Last edited by chappjc (2019-10-09 13:52:10)

Offline

#3 2019-10-09 15:29:59

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Arch upgrade failure with java

Unfortunately java-openjfx does not currently build from source https://bugs.archlinux.org/task/64055

Offline

#4 2019-10-09 16:51:56

kjkinnell
Member
Registered: 2016-11-16
Posts: 3

Re: Arch upgrade failure with java

I have the same problem, you can get an upgrade done by specifying '--ignore jre-openjdk' and, if necessary '--ignore jre-openjdk-headless' to your pacman upgrade command.  If you do both, you have to do them separately, it takes a separate 'ignore' for each package.

Be warned that I haven't actually tested anything (I don't use java much other than certain games.)  I was able to get the upgrade pushed through this way.  Caveat emptor.

hth

Offline

#5 2019-10-09 18:11:31

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: Arch upgrade failure with java

Fixed by java-openjfx 13.u14-1

Offline

#6 2020-05-24 05:36:56

Bruce1956
Member
Registered: 2015-03-08
Posts: 83

Re: Arch upgrade failure with java

Thanks chappjc,

I deleted java-openjfx, then ran pacman -Syu and everything worked without a hitch.

Offline

#7 2020-05-24 10:16:49

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Arch upgrade failure with java


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB