You are not logged in.
Hi. So I haven't been able to upgrade yesterday or today because of this bug. I couldn't figure out how to solve it on my own.
This is what happens when I try to upgrade:
jake@levi> sudo pacman -Syyu ~
:: Synchronizing package databases...
core 104.8 KiB 76.7K/s 00:01 [##################################################################################################] 100%
extra 1389.5 KiB 187K/s 00:07 [##################################################################################################] 100%
community 1549.8 KiB 191K/s 00:08 [##################################################################################################] 100%
multilib 89.7 KiB 145K/s 00:01 [##################################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: languagetool: requires java-runtime>=6
:: rhino: requires java-runtimeI have jre7-openjdk-headless already installed, which provides java-runtime 7, so I don't see why I could be running into any problems.
[1] jake@levi> pacman -Qi jre7-openjdk-headless ~
Name : jre7-openjdk-headless
Version : 7.b147_2.1-1
URL : http://icedtea.classpath.org
Licenses : custom
Groups : None
Provides : java-runtime=7
Depends On : libjpeg-turbo lcms2 nss ca-certificates-java rhino
Optional Deps : libcups: needed for Java Mauve support - libmawt.so
fontconfig: needed for Java Mauve support - libmawt.so
Required By : languagetool rhino
Conflicts With : java-runtime openjdk6
Replaces : None
Installed Size : 107421.00 KiB
Packager : Andreas Radke <andyrtr@archlinux.org>
Architecture : x86_64
Build Date : Wed Feb 15 06:36:20 2012
Install Date : Thu Mar 1 14:06:19 2012
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description : Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed for executing non GUI Java programsThere could be something I don't understand though. Any help is appreciated.
Last edited by Coward (2012-03-08 00:30:57)
Offline
jre7-openjdk-headless 7.b147_2.1-3 (the current one) provides java-runtime-headless=7, not java-runtime. New rhino requires java-runtime-headless.
Try to ignore the conflicts and see if it works out. I guess languagetool will be broken, but rhino should be OK.
Explicitly updating
pacman -S rhino jre7-openjdk-headlessmay help too.
Offline
Probably it have something to do with https://bugs.archlinux.org/task/28797
Offline
Thanks everyone, following karol's advice it got me to install jre7-openjdk and now I can upgrade again.
Offline
If you need java-runtime (e.g. for the languagetool), you can install openjdk6 or jre7-openjdk.
Offline
Karol's advice did not worked for me, so I did this:
pacman -Rdd jre7-openjdk-headlessand after that this:
pacman -S jre7-openjdkand then the update worked as it should. Hope that helps somebody.
Offline
Karol's advice did not worked for me, so I did this:
pacman -Rdd jre7-openjdk-headlessand after that this:
pacman -S jre7-openjdkand then the update worked as it should. Hope that helps somebody.
Not sure what was the issue in your case, but I did say "Try to ignore the conflicts and see if it works out." and by that I meant the '-dd' switch.
Now I see I should have been explicit about it as my comment doesn't make it clear at all.
Offline