I installed the binary of fink and ran 'fink scanpackages.'

When I started dselect and tried to:

   1. [U]pdate    Update list of available packages, if possible.

I was getting these errors:

   Err http://us.dl.sourceforge.net release/main Packages
     Could not resolve 'us.dl.sourceforge.net'

   Failed to fetch 
http://us.dl.sourceforge.net/fink/direct_download/dists/release/main/binary-darwin-powerpc/Packages
  
   Could not resolve 'us.dl.sourceforge.net'
   Failed to fetch 
http://us.dl.sourceforge.net/fink/direct_download/dists/release/main/binary-darwin-powerpc/Release
  
   Could not resolve 'us.dl.sourceforge.net'

   W: Couldn't stat source package list http://us.dl.sourceforge.net 
   release/main Packages 
 
(/sw/var/lib/apt/lists/us.dl.sourceforge.net_fink_direct%5fdownload_dists_release_main_binary-darwin-powerpc_Packages)
 
   - stat (2 No such file or directory)

   E: Some index files failed to download, they have been ignored, or old 
   ones used instead.

   update available list script returned error exit status 1.

I could not find the fix on this list, but I read on a debian list 
(http://lists.debian.org/deity/2000/deity-200011/msg00086.html) that 
staticly compiled APT can't do DNS lookups.

To fix this I edited /sw/etc/apt/sources.list to look like the following:

   # Official binary distribution: download location for packages
   # from the latest release
   #   deb http://us.dl.sourceforge.net/fink/direct_download release main crypto
   deb http://152.2.210.121/fink/direct_download release main crypto

   # Official binary distribution: download location for updated
   # packages built between releases
   deb http://152.2.210.121/fink/direct_download current main crypto

You can use any of these ips:

$ host us.dl.sourceforge.net
us.dl.sourceforge.net. has address 152.2.210.121
us.dl.sourceforge.net. has address 140.99.102.30
us.dl.sourceforge.net. has address 204.157.3.229
us.dl.sourceforge.net. has address 128.101.80.130






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to