Summary: | Installed JDKs does not satisfy virtual dependency for any Java tool and emerge requires dev-java/sun-j2sdk-1.4.1-r1 which in turn has empty/missing/bad digest | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergey Starosek <star> |
Component: | New packages | Assignee: | Java team <java> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergey Starosek
2004-04-21 01:59:51 UTC
To solve that problem temporarily I've injected that package and got a warning:
root@anchor root # emerge inject dev-java/sun-j2sdk-1.4.1-r1
!!! BAD COUNTER in 'dev-java/sun-j2sdk-1.4.1-r1'
>>> Injected dev-java/sun-j2sdk-1.4.1-r1.
root@anchor root #
Hope this helps.
Check your /var/cache/edb/virtuals for the entry virtual-jdk. Either remove dev-java/sun-j2sdk or move it to the end. At least on my system. Maybe someone else can confirm/deny. Try running 'emerge -va --unmerge sun-j2sdk' which will get rid of all your old JDKs, then doing either 'java-config -S blackdown-jdk-1.4.1' or 'emerge sun-j2sdk;java-config -S sun-jdk-<version>' It would seem to me like it either doesn't know you have these JDKs installed, or its thinking its supposed to upgrade a sloted version of that JDK what's in your virtuals fine for virtual/jdk? |