I am using Fink commander 0.5.4 to install gcc 4.2 or later versions, on a Mac running OS 10.5.8. Whenever I try to install gcc, I obtain this error.
Err http://bindist.finkmirrors.net 10.5/release/main gmp-shlibs 4.2.2-1001
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main libmpfr1-shlibs 2.2.0-2
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main gcc42-shlibs 4.2.2-1000
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main gcc42 4.2.2-1000
404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//libs/gmp-shlibs_4.2.2-1001_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//libs/libmpfr1-shlibs_2.2.0-2_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//languages/gcc42-shlibs_4.2.2-1000_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//languages/gcc42_4.2.2-1000_darwin-i386.deb 404 Not Found
E: Some files failed to download
Following instructions from the Fink/Fink commander website faq's, I also tried running "sudo apt-get update" and "fink scanpackages" in the terminal, but they also come up with similar errors, like below.
Err http://bindist.finkmirrors.net 10.5/release/main gmp-shlibs 4.2.2-1001
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main libmpfr1-shlibs 2.2.0-2
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main gcc42-shlibs 4.2.2-1000
404 Not Found
Err http://bindist.finkmirrors.net 10.5/release/main gcc42 4.2.2-1000
404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//libs/gmp-shlibs_4.2.2-1001_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//libs/libmpfr1-shlibs_2.2.0-2_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//languages/gcc42-shlibs_4.2.2-1000_darwin-i386.deb 404 Not Found
Failed to fetch http://bindist.finkmirrors.net/bindist/dists/fink-0.9.0/main/binary-darwin-i386//languages/gcc42_4.2.2-1000_darwin-i386.deb 404 Not Found
E: Some files failed to download
I suspect(ed) that the specified urls are incorrect & looked at the http://bindist.finkmirrors.net site, which further suggests the same. But I cannot figure what exact change I have to make to get this working. Please help me fix this issue.
The project doesn't support 10.5 any more (it was dropped a year ago). Unfortunately, we had to change the download structure after support ended.
As a workaround, I would recommend not trying to use the binary distribution--the packages were generated about six years ago in any case. Installing from source will get you much newer versions.
As another workaround, the files are available via the web. You can download them manually by using a browser or other download tool if you change "bindist/dists/fink-0.9.0" to "10.5/dists/stable" in the addresses given by the "failed to fetch" messages:
http://bindist.finkmirrors.net/10.5/dists/stable/main/binary-darwin-i386//libs/gmp-shlibs_4.2.2-1001_darwin-i386.deb
http://bindist.finkmirrors.net/10.5/dists/stable/main/binary-darwin-i386//libs/libmpfr1-shlibs_2.2.0-2_darwin-i386.deb
http://bindist.finkmirrors.net/10.5/dists/stable/main/binary-darwin-i386//languages/gcc42-shlibs_4.2.2-1000_darwin-i386.deb
http://bindist.finkmirrors.net/10.5/dists/stable/main/binary-darwin-i386//languages/gcc42_4.2.2-1000_darwin-i386.deb
You would then install them via the command line. For example if you downloaded them to your Downloads folder:
cd Downloads
sudo dpkg -i *.deb
I may have time to try to put out a bugfix release that addresses this issue.
Hello Alexander
I like your suggestion below:
As another workaround, the files are available via the web. You can download them manually by using a browser or other download tool if you change "bindist/dists/fink-0.9.0" to "10.5/dists/stable" in the addresses given by the "failed to fetch" messages:
Do you happen to have any thoughts on how to make this happen in Fink commander? As I mentioned above, running "sudo apt-get update" and "fink scanpackages" did not take care of the issue.
This would require somebody rewriting FinkCommander. I don't have the expertise and I don't know if we currently have anyone active in the project who does.
Another thing to try would be to edit /sw/etc/apt/sources.list as an administrator and add the following line under the one that says "# Put local modifications to this file below this line, or at the top."
deb http://bindist.finkmirrors.net/10.5 stable main crypto
(don't edit the current deb lines because fink will overwrite them)
Then try using "sudo apt-get update" or the FinkCommander equivalent (Binary->Update) to see if the proper package descriptions are being used.
I don't have a 10.5 environment installed right now, and so I can't easily test this myself.
Last edit: Alexander Hansen 2014-07-01
Thank you very much, I'll try that. If it does not work, I will try to update it from local source files.