Skip to content

Instantly share code, notes, and snippets.

@gmas
Last active August 29, 2015 14:07
Show Gist options
  • Save gmas/c2cc1718cfaec97a91bc to your computer and use it in GitHub Desktop.
Save gmas/c2cc1718cfaec97a91bc to your computer and use it in GitHub Desktop.
Arch Linux - News: Java users: manual intervention required before upgrade
https://www.archlinux.org/news/java-users-manual-intervention-required-before-upgrade/
```
To circumvent a conflicting files issue, manual intervention is required only if package java-common is installed. This can be checked with the following command:
$ pacman -Q java-common
java-common ...
If so, please run the following prior to upgrading:
# archlinux-java unset
# pacman -Sydd --asdeps java-runtime-common
:: java-runtime-common and java-common are in conflict. Remove java-common? [y/N] y
# archlinux-java fix
You can then go ahead and upgrade:
# pacman -Su
Please note that new package java-runtime-common does not use nor support forcing JAVA_HOME as former package java-common did. See the Java wiki page for more info.
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment