Thank you!  ...

This worked: 

% fink reinstall fink
Password:
Scanning package description files..........
Information about 4386 packages read in 1 seconds.
The following package will be reinstalled:
 fink
Reading buildlock packages...
/sw/bin/dpkg-lockwait -i
/sw/fink/dists/local/injected/binary-darwin-i386/fink_0.29.2-31_darwin-i386.deb
(Reading database ... 22446 files and directories currently installed.)
Preparing to replace fink 0.29.2-31 (using
.../fink_0.29.2-31_darwin-i386.deb) ...
Unpacking replacement 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
ConfFileCompatVersion: 1
Mirror-apache: http://www.apache.org/dist
Mirror-apt: http://bindist.finkmirrors.net/bindist
Mirror-cpan: ftp://ftp.cpan.org/pub/CPAN
Mirror-ctan: ftp://tug.ctan.org/tex-archive
Mirror-debian: ftp://ftp.debian.org/debian
Mirror-gimp: ftp://ftp.gimp.org/pub/gimp
Mirror-gnome: ftp://ftp.gnome.org/pub/GNOME
Mirror-gnu: ftp://ftp.gnu.org/gnu
Mirror-kde: ftp://ftp.kde.org/pub/kde
Mirror-master: http://distfiles.master.finkmirrors.net/
Mirror-rsync: rsync://master.us.finkmirrors.net/finkinfo/
Mirror-sourceforge: http://west.dl.sourceforge.net/sourceforge/
MirrorContinent: nam
MirrorCountry: nam-us
MirrorOrder: MasterFirst
ProxyPassiveFTP: true
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.
trying again:
curl --connect-timeout 30 -f -L -A 'fink/0.29.2' -O
http://superb-west.dl.sourceforge.net/sourceforge/fink/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
100 1161k  100 1161k    0     0   606k      0  0:00:01  0:00:01 --:--:--
 701k
0.000621128.000The checksum of the file is incorrect. The most likely
cause for this is a corrupted or incomplete download
Expected: 17c1e22eef12d98f4e13345674e22f1a
Actual: MD5(0a4db5e8202276c811b54449e6a40dbb)
        SHA1(9ad6519a39b62317240cf7ba2e947d82664b11e0)
and if I retry the same mirror, curl again is claiming to have
downloaded 100% of the file, but the checksum is different:

(1)     Give up
(2)     Retry the same mirror
(3)     Retry another mirror

Default answer will be chosen in 120 seconds...
How do you want to proceed? [3] 2
curl --connect-timeout 30 -f -L -A 'fink/0.29.2' -O
http://superb-west.dl.sourceforge.net/sourceforge/fink/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
100 1161k  100 1161k    0     0   822k      0  0:00:01  0:00:01 --:--:--
 866k
0.000842191.000The checksum of the file is incorrect. The most likely
cause for this is a corrupted or incomplete download
Expected: 17c1e22eef12d98f4e13345674e22f1a
Actual: MD5(b589f7a6928f02f5aba5cedb4630a9a4)
        SHA1(7e252e0a43ae0adeb588a101b4944ef85c034e25)
Downloading the file "fink-0.29.2.tar.gz" failed.

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.)

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

Thanks again!  

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to