On 28/06/2009, at 17:42, [email protected] wrote: > Thank you! ... > > This worked: > > % fink reinstall fink (...) > Setting up fink (0.29.2-31) ... > Checking system... i386-apple-darwin9.7.0 > This system was not released at the time this Fink release was made. > Prerelease versions of Mac OS X might work with Fink, but there are no > guarantees. > ln -s 10.4 /sw/fink/10.5 > ln -s 10.5 /sw/fink/dists > /bin/mkdir -p /sw/fink/dists/local/injected/finkinfo/update-packages > cp -f /sw/lib/fink/update-packages/* > /sw/fink/dists/local/injected/finkinfo/update-packages > Scanning package description files.......... > <normal exit> > > That changed my .conf file; now it's: > # Fink configuration, initially created by bootstrap.pl > Basepath: /sw > RootMethod: sudo > Trees: local/main stable/main stable/crypto local/injected > Distribution: 10.5 (...) > UseBinaryDist: true > Verbose: 1 > SelfUpdateMethod: rsync > UpdateFrom: 10.4 > UpdatePackages: perl586-core, rman > SelfUpdateTrees: 10.4 > > > fink selfupdate results in : > The checksum of the file fink-0.29.2.tar.gz of package > fink-0.29.2-41 is > incorrect. The most likely cause for this is a corrupted or incomplete > download > Expected: 17c1e22eef12d98f4e13345674e22f1a > Actual: MD5(c64d38961c57dd8f8e2229ba1456e794) > SHA1(47323fd52bd47bf69dae9cf62bc4d0ce1680b77c) > If I say download again, i get the same message, but with different > actual checksums, e.g. > curl --connect-timeout 30 -f -L -A 'fink/0.29.2' -O > http://distfiles.master.finkmirrors.net/fink-0.29.2.tar.gz > % Total % Received % Xferd Average Speed Time Time Time > Current > Dload Upload Total Spent Left > Speed > 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 > --:--:-- > 0 > 100 1161k 100 1161k 0 0 539k 0 0:00:02 0:00:02 > --:--:-- > 691k > 0.000552199.000The checksum of the file is incorrect. The most likely > cause for this is a corrupted or incomplete download > Expected: 17c1e22eef12d98f4e13345674e22f1a > Actual: MD5(0d9072e2baa82c9c26be15af6b568251) > SHA1(1f1ac416e8dd38d7d59daa5747fae08a88024f07) > and I note that curl is claiming to have downloaded 100% of the file. (...)
I've already seen that myself and I believe the problem was some wrong cache between my box and one of the mirrors; quite possibly a wrong cache by my ISP but I'm not 100% sure. Try the following: cd /sw/src sudo /usr/bin/curl -O http://ufpr.dl.sourceforge.net/sourceforge/fink/fink-0.29.2.tar.gz cd fink selfupdate This downloads that file from SourceForge.net, which hopefully won't be cached by, say, your ISP. It also use system's curl, just in case. If you download source files and place them in /sw/src then Fink won't download them as long as the checksum matches. > I will install DeveloperToolsCLI.pkg and let you know how things go; > posting the above because you may find it intriguing, as I did. > > (Clearly, my symlinks are not good enough: > $ ls -ld `which gcc` > lrwxr-xr-x 1 root wheel 7 Jun 27 14:29 /usr/bin/gcc@ -> gcc-4.0 > $ gcc --version > gcc-4.0: installation problem, cannot exec > '/usr/bin/i686-apple-darwin9-gcc-4.0.1': No such file or directory > $ ls -l /usr/bin/gcc-4.0 > lrwxr-xr-x 1 root wheel 26 Jun 27 14:26 /usr/bin/gcc-4.0@ -> > /Developer/usr/bin/gcc-4.0 > $ ls -l /Developer/usr/bin/gc > gcc gcc-4.0 gcc-4.2 gcov gcov-4.0 gcov-4.2 > $ ls -l /Developer/usr/bin/gcc-4.0 > -rwxr-xr-x 1 root wheel 93088 Sep 25 2008 > /Developer/usr/bin/gcc-4.0* > $ ls -l /Developer//usr/bin/i686-apple-darwin9-gcc-4.0.1 > -rwxr-xr-x 1 root wheel 369408 Sep 25 2008 > /Developer//usr/bin/i686-apple-darwin9-gcc-4.0.1* > $ sudo ln -s /Developer/usr/bin/i686-apple-darwin9-gcc-4.0.1 > /usr/bin/i686-apple-darwin9-gcc-4.0.1 #for kicks.) You must install the Unix tools indeed. > In the mean time, I tried sudo dselect install again. > 84 files downloaded. Default download locations set. Packages started > installing. Installations were successful! > > > The checksum problem described above is still there when I try fink > selfupdate. > Curl acts oddly outside of its use by fink; I can't recall exactly > what > it was doing wrong. > > $ curl --version > curl 7.17.1 (i386-apple-darwin9.3.0) libcurl/7.17.1 OpenSSL/0.9.7l > zlib/1.2.3 libssh2/0.18 > Protocols: tftp ftp telnet dict http file https ftps scp sftp > Features: GSS-Negotiate IPv6 Largefile NTLM SSL libz > $ which curl > /sw/bin/curl Good luck, -- monipol http://finkers.wordpress.com Submitting a Fink bug report? Read this: http://www.finkproject.org/doc/netiquette/index.php http://finkers.wordpress.com/2009/06/03/bug-reports/ ------------------------------------------------------------------------------ _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
