You are not logged in.
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
You have to install both at the same time.
Offline
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
Moving to AUR issues.
Offline
thanks both for the information, wasn't aware where the problem would stand.
Offline