The command to check the Java version numbers has indeed shown that no headers are found on my system: - checking Java versions: - 1.6.0... nothing - 1.6... nothing - 1.5.0... nothing - 1.5... nothing - 1.5... nothing - 1.4.2... nothing - 1.4... nothing - 1.4... nothing - 1.3... nothing - searching for java3d... found /System/Library/Java/Extensions/j3dcore.jar - searching for javaai... found /System/Library/Java/Extensions/jai_core.jar
However, this doesn't solve my issue since my primary purpose was not to install any JDK, but to get rid of whatever package it is that needs it. At a later time I may want to decide to install some JDK, but right now I would rather repair the update process by installing less rather than more. On Jun 11, 2012, at 6:11 PM, Alexander Hansen wrote: > On 6/10/12 11:51 PM, Dr. Wolfram Schroers wrote: >> Hi, >> >> I have a problem with the package manager. I am running MacOS X 10.7.4, >> Xcode 4.3.2, and Fink 0.32.6, all updates installed. I have repeatedly run >> "fink selfupdate" to ensure that I really have the latest version (it exits >> without any error message, presumably running fine). I also have Java >> installed, the specific response to "java -version" is >> java version "1.6.0_32" >> Java(TM) SE Runtime Environment (build 1.6.0_32-b05-420-11M3708) >> Java HotSpot(TM) 64-Bit Server VM (build 20.7-b02-420, mixed mode) >> > > That's the runtime, but has nothing to do with the headers. > >> Expected behavior: >> When running "fink update-all" I can install the latest package-updates. >> >> Observed behavior: >> When trying to run "fink update-all" I get the following error message: >> Can't resolve dependency "system-java-dev" for package "ppl9-0.11.2-3" (no >> matching packages/versions found) >> Exiting with failure. >> >> Neither "fink remove ppl9" nor "sudo apt-get remove ppl9" is able to remove >> the offending package "ppl9" (both claim it is not installed). > > Some other package in your 'update-all' list wants ppl9. > > There is no package named "system-java-dev", either. > > You're missing something that Fink is looking for to generate that > virtual package. > > "sudo apt-get upgrade" and "sudo apt-get update" return without error > message, but don't change anything about the situation. > > Nor should anything change. There is no official binary distribution on > Lion, and so you're updating against your locally built packages. Plus, > system-java-dev is a virtual package, and apt-get doesn't handle those. > > Re-running "fink update-all" always produces the above error message. > > Because you're not changing anything, you get the same results. > >> >> How can I get rid of the error message and get "fink update-all" to work >> properly again? >> >> Wolfram >> >> > > I suspect you're missing some symlinks somewhere in your Java > installation (maybe Apple will announce a fully deterministic installer > at WWDC, because we've been having this issue since day 1 of OS X). > > The following command should help clarify the issue: > > fink-virtual-pkgs --debug 2>&1 | grep -A11 "checking Java versions:" > > I get the following on a machine that came with Lion installed, and now > has 10.7.4 and Xcode 4.3.2: > > $ fink-virtual-pkgs --debug 2>&1 | grep -A11 "checking Java versions:" > - checking Java versions: > - 1.6.0... 1.6.0/Commands Current/Headers/jni.h > - 1.6... 1.6/Commands Current/Headers/jni.h > - 1.5.0... 1.5.0/Commands Current/Headers/jni.h > - 1.5... 1.5/Commands Current/Headers/jni.h > - 1.5... 1.5/Commands Current/Headers/jni.h > - 1.4.2... 1.4.2/Commands Current/Headers/jni.h > - 1.4... 1.4/Commands Current/Headers/jni.h > - 1.4... 1.4/Commands Current/Headers/jni.h > - 1.3... nothing > - searching for java3d... found /System/Library/Java/Extensions/j3dcore.jar > - searching for javaai... found /System/Library/Java/Extensions/jai_core.jar > > -- > Alexander Hansen, Ph.D. > Fink User Liaison > http://finkakh.wordpress.com/2012/02/21/got-job/ ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Fink-users mailing list [email protected] List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users
