You are not logged in.

#1 2019-05-20 12:56:14

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

jre dependency breaks jre<12 required by jdk

I'm a bit at loss here, I've got jre and jdk installed from AUR and I'm struggling to upgrade to the latest version.
what I'm getting when trying to install jre (12.0.1-1) is the following error:

error: failed to prepare transaction (could not satisfy dependencies)
:: installing jre (12.0.1-1) breaks dependency 'jre<12' required by jdk
2019-05-20 14:45:49,468 - wrappers - pacman - ERROR - pacman query ['sudo', 'pacman', '--upgrade', '--asdeps', 'jre-12.0.1-1-x86_64.pkg.tar.xz'] failed

In AUR it's been suggested to build manually (see https://aur.archlinux.org/packages/jdk/) as I'm using aurman, but I wonder if at all there's a better way to deal with this, since it's already the third time I'm getting stuck into this.

Last edited by ThePeach (2019-05-20 12:57:01)

Offline

#2 2019-05-20 13:00:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: jre dependency breaks jre<12 required by jdk

You have to install both at the same time.

Offline

#3 2019-05-20 13:00:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,531
Website

Re: jre dependency breaks jre<12 required by jdk

Ah, no, there is no other way.  Your aur helper cannot handle this issue which is really a non-issue if you just properly build the packages then install them together.

If you want to file a feature request with your aur helper, this is not really the place to do it.

EDIT: if your aur helper passes additional flags on to pacman, you could try adding the '-d' flag to bypass the dependency checks during installation.  But I'd not really advise this approach.

Last edited by Trilby (2019-05-20 13:16:58)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2019-05-20 13:11:14

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: jre dependency breaks jre<12 required by jdk

Moving to AUR issues.

Offline

#5 2019-05-20 14:52:17

ThePeach
Member
From: Berlin, DE
Registered: 2014-06-08
Posts: 40
Website

Re: jre dependency breaks jre<12 required by jdk

thanks both for the information, wasn't aware where the problem would stand.

Offline

Board footer

Powered by FluxBB