You are not logged in.

#1 2012-03-09 11:39:57

mcicak
Member
From: Novi Sad, Serbia
Registered: 2010-11-30
Posts: 22

openjdk6 and jdk are in conflict

When I issue command

# pacman -Syu

I get the following output:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: openjdk6 and jdk are in conflict (java-environment). Remove jdk? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: openjdk6 and jdk are in conflict

A few days ago, I run '# pacman -Syu' and everything worked well. Today, I have this problem. Did anyone else encountered similar problem? Is there a solution to it?
I don't use openjdk6 nor I have it installed. I only use jdk.

Offline

#2 2012-03-09 11:59:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: openjdk6 and jdk are in conflict

Probably some package you have installed wants to install openjdk6. Run 'pacman -Qu' to get a list of what packages need to be updated and try to figure out which one is it.

Offline

#3 2012-03-09 14:28:05

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: openjdk6 and jdk are in conflict

Same pb here... The guilty was fop, which depends on java-batik which, itself, wants openjdk6...

Last edited by jaco (2012-03-09 14:28:29)

Offline

#4 2012-03-09 14:35:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: openjdk6 and jdk are in conflict

jdk provides java-environment=7, not java-environment https://aur.archlinux.org/packages/jd/jdk/PKGBUILD
Maybe this is the problem.

Offline

#5 2012-03-09 14:51:00

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: openjdk6 and jdk are in conflict

In my case, that's the new version of java-batik which, now, expects openjdk6 (http://projects.archlinux.org/svntogit/ … 4574314ec8) because there is problems with openjdk7. Unfortunately, the fop package expects java-batik.

Offline

#6 2012-03-09 17:51:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: openjdk6 and jdk are in conflict

Yup, that's right. I'm not sure how much of help it will be, but you can install jdk6, which provides java-environment=6: https://aur.archlinux.org/packages.php?ID=51907
If you don't need jdk version 7 for some other apps, it might work.

Offline

#7 2012-03-09 19:52:58

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: openjdk6 and jdk are in conflict

karol wrote:

Yup, that's right. I'm not sure how much of help it will be, but you can install jdk6, which provides java-environment=6: https://aur.archlinux.org/packages.php?ID=51907
If you don't need jdk version 7 for some other apps, it might work.

Well, i need jdk 7 as i need to update my Java course... Anyway, it's not a big deal for me as i may build fop without java-batik

Offline

Board footer

Powered by FluxBB