I upgraded to Leopard, and although I did a clean install, I figured that it should be possible to just copy my old /sw directory (using sudo cp -rp) and then upgrade Fink using the instructions on the Fink home page. But apparently it isn't. When I try "fink selfupdate", it fails as follows:
could not determine XFree86 version number rsync -az -q rsync://hnd.jp.asi.finkmirrors.net/finkinfo//TIMESTAMP /sw/fink/TIMESTAMP.tmp I will now run the rsync command to retrieve the latest package descriptions. rsync -rtz --delete-after --delete -q --include='10.4/' --include='10.4/stable/' --include='10.4/stable/main/' --include='10.4/stable/main/finkinfo/' --include='10.4/stable/main/finkinfo/*/' --include='10.4/stable/main/finkinfo/*' --include='10.4/stable/main/finkinfo/**/*' --include='10.4/' --include='10.4/stable/' --include='10.4/stable/crypto/' --include='10.4/stable/crypto/finkinfo/' --include='10.4/stable/crypto/finkinfo/*/' --include='10.4/stable/crypto/finkinfo/*' --include='10.4/stable/crypto/finkinfo/**/*' --include='10.4/' --include='10.4/unstable/' --include='10.4/unstable/crypto/' --include='10.4/unstable/crypto/finkinfo/' --include='10.4/unstable/crypto/finkinfo/*/' --include='10.4/unstable/crypto/finkinfo/*' --include='10.4/unstable/crypto/finkinfo/**/*' --include='10.4/' --include='10.4/unstable/' --include='10.4/unstable/main/' --include='10.4/unstable/main/finkinfo/' --include='10.4/unstable/main/finkinfo/*/' --include='10.4/unstable/main/finkinfo/*' --include='10.4/unstable/main/finkinfo/**/*' --include='VERSION' --include='DISTRIBUTION' --include='README' --exclude='**' 'rsync://hnd.jp.asi.finkmirrors.net/finkinfo' '/sw/fink/' /usr/bin/find '/sw/fink/10.4/stable/main' -name CVS -type d -print0 | xargs -0 /bin/rm -rf /usr/bin/find '/sw/fink/10.4/stable/crypto' -name CVS -type d -print0 | xargs -0 /bin/rm -rf /usr/bin/find '/sw/fink/10.4/unstable/crypto' -name CVS -type d -print0 | xargs -0 /bin/rm -rf /usr/bin/find '/sw/fink/10.4/unstable/main' -name CVS -type d -print0 | xargs -0 /bin/rm -rf Downloading the indexes of available packages in the binary distribution. /sw/bin/apt-get-lockwait -q update Hit http://bindist.finkmirrors.net 10.4/release/main Packages Hit http://bindist.finkmirrors.net 10.4/release/main Release Hit http://bindist.finkmirrors.net 10.4/release/crypto Packages Hit http://bindist.finkmirrors.net 10.4/release/crypto Release Hit http://bindist.finkmirrors.net 10.4/current/main Packages Hit http://bindist.finkmirrors.net 10.4/current/main Release Hit http://bindist.finkmirrors.net 10.4/current/crypto Packages Hit http://bindist.finkmirrors.net 10.4/current/crypto Release could not determine XFree86 version number Reading Package Lists... Building Dependency Tree... Scanning package description files.......... Information about 6255 packages read in 14 seconds. could not determine XFree86 version number The following package will be installed or updated: fink Reading buildlock packages... /sw/bin/dpkg-lockwait -i /sw/fink/dists/unstable/main/binary-darwin-i386/base/fink_0.27.1-31_darwin-i386.deb could not determine XFree86 version number (Reading database ... 7978 files and directories currently installed.) Preparing to replace fink 0.27.1-31 (using .../fink_0.27.1-31_darwin-i386.deb) ... Unpacking replacement fink ... Setting up fink (0.27.1-31) ... Checking system... i386-apple-darwin9.1.0 Use of uninitialized value in substitution (s///) at /sw/lib/perl5/Fink/Services.pm line 1372. Under Mac OS X 10.5.1, Fink must be bootstrapped or updated with gcc 4.0, however, you currently have gcc (unknown version) selected. To correct this problem, run the command: sudo gcc_select You may need to install a more recent version of the Developer Tools (Apple's XCode) to be able to do so. /sw/bin/dpkg: error processing fink (--install): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: fink ### execution of /sw/bin/dpkg-lockwait failed, exit code 1 Failed: can't install package fink-0.27.1-31 There is no gcc_select on my system and apparently this is normal in Leopard. I do have the latest Developer tools installed. When I look at this output, it seems that it tries to reinstall the old version (0.27.1), while there is a (much) newer version (0.27.8) available. I tried setting the rsync mirror to "rsync://hnd.jp.asi.finkmirrors.net/finkinfo/" which is reported to be the "only reliable rsync mirror" in a previous posting to this list, but no luck. Eventually I tried "fink selfupdate-cvs", only to get exactly the same error with the same outdated fink version. What am I doing wrong? ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Fink-beginners mailing list [email protected] http://news.gmane.org/gmane.os.apple.fink.beginners
