You are not logged in.
Hello everybody,
I am a newbie in archlinux but I like every bit of it, that helps me understad the linux systems better. Recently I have encountered a problem; at first I installed openjdk6:
# pacman -S openjdk6
Then for some reasons I needed to install jre6 from AUR:
# pacman -Rsn openjdk6
# yaourt jre6
But now when I want to upgrade the packages I get this error:
[root@machine]# pacman -Syyuu
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 and jre6 are in conflict (java-runtime). Remove jre6? [y/N] N
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: openjdk6 and jre6 are in conflict (java-runtime)
I managed to do it anyway with:
# pacman -Sddyyuu
but do you know how can I solve this in an appropriate way?
Last edited by Shahab (2011-10-15 20:05:26)
Offline
So now you have both packages installed?
Offline
no, I have removed openjdk6 with:
# pacman -Rsn openjdk6
Offline
no, I have removed openjdk6 with:
# pacman -Rsn openjdk6
Why does you system want you to install openjdk6? What package requires it?
Offline
maybe there is a package in your system that requires java-environment and it tries to fix the dependency at pacman -Syu.
do pacman -Syu --debug
Give what you have. To someone, it may be better than you dare to think.
Offline
maybe there is a package in your system that requires java-environment and it tries to fix the dependency at pacman -Syu.
do pacman -Syu --debug
You are correct wonder. The thing is now that I run the update command since there is no update for those packages, I see no error:
[root@machine]# pacman -Syuu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
there is nothing to do
karol, as I remember while removing the openjdk6 there was some complaints about these packages:
eclipse
icedtea-web
jdownloader
But I forced removing the openjdk6 with 'dd' flag anyway. In the first post when I said there was a problem, actually there was an update for eclipse (one of three packages above). How can I fix this? because all of these program are running fine and using jre6 already.
Last edited by Shahab (2011-10-15 14:10:17)
Offline
As I remember while removing the openjdk6 there was some complaints about these packages:
eclipse icedtea-web jdownloader
But I forced removing the openjdk6 with 'dd' flag anyway. In the first post when I said there was a problem, actually there was an update for eclipse (one of three packages above). How can I fix this? because all of these program are running fine and using jre6 already.
You can add openjdk6 to IgnorePkg in pacman.conf and update them by hand or rebuild the packages that depend on it to use the Oracle JRE.
Not the best ideas but the only ones I have atm.
Offline
so install jdk6 as well along with jre6 and everything is fine
Give what you have. To someone, it may be better than you dare to think.
Offline
Shahab wrote:As I remember while removing the openjdk6 there was some complaints about these packages:
eclipse icedtea-web jdownloader
But I forced removing the openjdk6 with 'dd' flag anyway. In the first post when I said there was a problem, actually there was an update for eclipse (one of three packages above). How can I fix this? because all of these program are running fine and using jre6 already.
You can add openjdk6 to IgnorePkg in pacman.conf and update them by hand or rebuild the packages that depend on it to use the Oracle JRE.
Not the best ideas but the only ones I have atm.
thanks for your flash reply
Offline
nope, the problem is still there:
[root@machine]# pacman -Rsn icedtea-web
[root@machine]# pacman -S icedtea-web
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 and jre6 are in conflict (java-runtime). Remove jre6? [y/N] y
Remove (1): jre6-6u27-1
Total Removed Size: 108.91 MB
Targets (3): ca-certificates-java-20110816-1 openjdk6-6.b22_1.10.3-1
icedtea-web-1.1.3-1
...
I think somehow I should make it understad to use jre6 not openjdk6.
Last edited by Shahab (2011-10-15 14:20:05)
Offline
Remove openjdk6 and install both jre6 and jdk6.
Offline
remove icedtea-web as well. jre6 contains a browser plugin
Give what you have. To someone, it may be better than you dare to think.
Offline
remove icedtea-web as well. jre6 contains a browser plugin
That was the problem after all, icedtea only uses openjdk6. I removed it and the problem of conflicts are gone. thank you both
Last edited by Shahab (2011-10-15 14:37:59)
Offline
I didn't help you at all, because I ... ummm ... forgot that jre doesn't include jdk while openjdk provides both.
Please remember to mark the thread as solved.
Offline