You are not logged in.

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

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

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: 9,074

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: 9,074

Re: Arch upgrade failure with java

Fixed by java-openjfx 13.u14-1

Offline

Board footer

Powered by FluxBB