You are not logged in.
Pages: 1
[root@lc2430 eugenia]# pacman -Suy
:: Synchronizing package databases...
current [################] 100% 71K 70.3K/s 00:00:01
:: extra is up to date
:: unstable is up to date
:: java-gcj-compat conflicts with jdk. Remove jdk? [Y/n] y
Remove: jdk
Targets: gcc-gcj-4.1.2-3 fastjar-0.92-1 eclipse-ecj-3.2.1-2 gjdoc-0.7.7-1
java-gcj-compat-1.0.68-2 apache-ant-1.6.5-2 glibmm-2.12.4-1
libwnck-2.16.2-1 revelation-0.4.8-2 rhythmbox-0.9.7-2
Total Package Size: 27.1 MB
Proceed with upgrade? [Y/n]
checking package integrity... done.
error: this will break the following dependencies:
jdk: is required by j
Offline
#pacman -Rd jdk
#pacman -Syu
will solve the dependency problem.
A bug report should be filed to update j's dependency of j2sdk to java-environment.
Offline
A new version of jdk should provide the java-environment dependency, so unless jdk is on hold, it will upgrade to jdk instead of forcing you to use java-gcj-compat.
Offline
JGC, I am a bit confused. So, what I am supposed to do? Wait for this to be fixed, or I need to do something to fix it myself? I want to use the official Java btw, not the clone.
Offline
Just pacman -S jdk to get the latest one, that one will provide the java-environment dependency. After that, you can run pacman -Syu safely without dependency errors.
Pacman should prefer a package upgrade over a new added dependency in these cases, I guess it just uses some alphabetic sorting when looking for dependencies (I always get the nvidia drivers on clean systems when installing those with testing enabled for example, because that's the first package that provides libgl)
Offline
Pacman should prefer a package upgrade over a new added dependency in these cases, I guess it just uses some alphabetic sorting when looking for dependencies (I always get the nvidia drivers on clean systems when installing those with testing enabled for example, because that's the first package that provides libgl)
Yes, that was discussed on pacman-dev ML. No fix was applied yet.
JGC, would it be better, in your opinion, if pacman shows a list of packages that provide libgl and then ask user to select one? Or maybe you have some other idea? - welcome to pacman-dev ML to discuss any dependency-related issues.
to live is to die
Offline
I'm having this same issue, only with JRE.
:: java-gcj-compat conflicts with jre. Remove jre? [Y/n] n
I did a 'pacman -S jre' but I already had the latest version jre-6u1-1. I re-installed but this did not resolve the problem as those described above. Any more suggestions?
Offline
Remove java-gcj-compat (pacman -R java-gcj-compat) . It is not needed if you have jre installed.
Offline
Remove java-gcj-compat (pacman -R java-gcj-compat) . It is not needed if you have jre installed.
Ok, but my problem is I don't have java-gcj-compat installed.
Scientia et sapientia patrimonium humanitatis sunt.
Offline
Resolved-- Here's what worked for me:
pacman -Rd jre (removes jre ignoring dependencies)
pacman -S jdk (installs jdk-- which includes jre)
pacman -Syu (then do your dist upgrade without conflicts)
edit: pacman doesn't recognize java-gcj-compat, so trying to remove it won't do you any good
Last edited by vilefridge (2007-04-14 07:43:40)
Offline
Same problem here. And I have jdk-6-2 installed.
I think the ant package refers to the compat-gcj package. however, I need ant, so can't remove that one.
Offline
Pages: 1