On 4/27/14, 9:02 PM, Mark D. McKean wrote: > When I ran a self-update on fink today, I got an odd message when fink > was updating the indexes of the binary distribution: > > --- > Downloading the indexes of available packages in the binary distribution. > /sw/bin/apt-get-lockwait update > Get:1 http://bindist.finkproject.org stable/main Packages [65.5kB] > Get:2 http://bindist.finkmirrors.net stable/main Packages [65.5kB] > > Hit http://bindist.finkproject.org stable/main Release > > 82% [1 Packages gzip 0] [2 Packages 43155/65.5kB 65%] > gzip: stdin: unexpected end of file > Err http://bindist.finkproject.org stable/main Packages > Sub-process gzip returned an error code (1) > Hit http://bindist.finkmirrors.net stable/main Release > 99% [2 Packages gzip 0] > gzip: stdin: unexpected end of file > Err http://bindist.finkmirrors.net stable/main Packages > Sub-process gzip returned an error code (1) > Fetched 131kB in 0s (141kB/s) > Failed to fetch > http://bindist.finkmirrors.net/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Failed to fetch > http://bindist.finkproject.org/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Reading Package Lists... Done > Building Dependency Tree... Done > W: Couldn't stat source package list http://bindist.finkmirrors.net > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkmirrors.net_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkproject.org > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkproject.org_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkmirrors.net > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkmirrors.net_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkproject.org > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkproject.org_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: You may want to run apt-get update to correct these problems > E: Some index files failed to download, they have been ignored, or old > ones used instead. > ### execution of /sw/bin/apt-get-lockwait failed, exit code 100 > WARNING: Failure while updating indexes. > Running 'fink scanpackages' may fix indexing problems. > Scanning package description files.......WARNING: Unresolved CVS > conflicts in info2 of > "/sw/fink/dists/stable/main/finkinfo/languages/php5.info". > WARNING: Repeated occurrence of field "builddepends" at line 9 of info2 > of "/sw/fink/dists/stable/main/finkinfo/languages/php5.info". > ... > --- > > A subsequent update-all built updates normally, though it returned the > same "Couldn't stat source package list" errors that the selfupdate gave. > > Then, at the end of the update-all process, I got this error when fink > again tried to get the binary distribution indexes: > > --- > Downloading the indexes of available packages in the binary distribution. > /sw/bin/apt-get-lockwait update > Get:1 http://bindist.finkproject.org stable/main Packages [65.5kB] > > Get:2 http://bindist.finkmirrors.net stable/main Packages [65.5kB] > Hit http://bindist.finkproject.org stable/main Release > Hit http://bindist.finkmirrors.net stable/main Release > 99% [1 Packages gzip 424777] > gzip: stdin: unexpected end of file > Err http://bindist.finkproject.org stable/main Packages > Sub-process gzip returned an error code (1) > 99% [2 Packages gzip 0] > gzip: stdin: unexpected end of file > Err http://bindist.finkmirrors.net stable/main Packages > Sub-process gzip returned an error code (1) > Fetched 131kB in 0s (202kB/s) > Failed to fetch > http://bindist.finkmirrors.net/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Failed to fetch > http://bindist.finkproject.org/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Reading Package Lists... Done > Building Dependency Tree... Done > E: Some index files failed to download, they have been ignored, or old > ones used instead. > ### execution of /sw/bin/apt-get-lockwait failed, exit code 100 > WARNING: Failure while updating indexes. > --- > > Following the advice of the first error message, I ran apt-get update, > with the following response: > > --- > $ apt-get update > E: Could not open lock file /sw/var/lib/apt/lists/lock - open (13 > Permission denied) > E: Unable to lock the list directory > --- > > I checked the permissions in that directory: > > --- > $ ls -l /sw/var/lib/apt/lists > total 2288 > -rw-r--r-- 1 root admin 0 Apr 27 23:36 > _sw_fink_dists_local_main_binary-darwin-x86%5f64_Packages > -rw-r--r-- 1 root admin 84 Apr 27 23:36 > _sw_fink_dists_local_main_binary-darwin-x86%5f64_Release > -rw-r--r-- 1 root admin 1153294 Apr 27 23:36 > _sw_fink_dists_stable_main_binary-darwin-x86%5f64_Packages > -rw-r--r-- 1 root admin 85 Apr 27 23:36 > _sw_fink_dists_stable_main_binary-darwin-x86%5f64_Release > -rw-r--r-- 1 root admin 85 Apr 16 23:54 > bindist.finkmirrors.net_10.9_dists_stable_main_binary-darwin-x86%5f64_Release > -rw-r--r-- 1 root admin 85 Apr 16 23:54 > bindist.finkproject.org_10.9_dists_stable_main_binary-darwin-x86%5f64_Release > -rw-r----- 1 root admin 0 Apr 27 23:36 lock > drwxr-xr-x 2 root admin 68 Apr 27 23:36 partial > --- > > Then I tried the apt-get update again under a sudo: > > --- > $ sudo apt-get update > Password: > Get:1 http://bindist.finkmirrors.net stable/main Packages [65.5kB] > Get:2 http://bindist.finkproject.org stable/main Packages [65.5kB] > Hit http://bindist.finkmirrors.net stable/main Release > Hit http://bindist.finkproject.org stable/main Release > 99% [1 Packages gzip 0] > gzip: stdin: unexpected end of file > Err http://bindist.finkmirrors.net stable/main Packages > Sub-process gzip returned an error code (1) > 99% [2 Packages gzip 0] > gzip: stdin: unexpected end of file > Err http://bindist.finkproject.org stable/main Packages > Sub-process gzip returned an error code (1) > Fetched 131kB in 1s (120kB/s) > Failed to fetch > http://bindist.finkmirrors.net/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Failed to fetch > http://bindist.finkproject.org/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Reading Package Lists... Done > Building Dependency Tree... Done > W: Couldn't stat source package list http://bindist.finkmirrors.net > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkmirrors.net_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkproject.org > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkproject.org_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkmirrors.net > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkmirrors.net_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: Couldn't stat source package list http://bindist.finkproject.org > stable/main Packages > (/sw/var/lib/apt/lists/bindist.finkproject.org_10.9_dists_stable_main_binary-darwin-x86%5f64_Packages) > - stat (2 No such file or directory) > W: You may want to run apt-get update to correct these problems > E: Some index files failed to download, they have been ignored, or old > ones used instead. > --- > > So then I tried the other advice from the first error message: > > --- > $ fink scanpackages > Updating the list of locally available binary packages. > Scanning dists/local/main/binary-darwin-x86_64 > Scanning dists/stable/main/binary-darwin-x86_64 > Downloading the indexes of available packages in the binary distribution. > /sw/bin/apt-get-lockwait update > Get:1 http://bindist.finkproject.org stable/main Packages [65.5kB] > > Get:2 http://bindist.finkmirrors.net stable/main Packages [65.5kB] > Hit http://bindist.finkproject.org stable/main Release > 91% [1 Packages gzip 0] [2 Packages 54739/65.5kB 83%] > gzip: stdin: unexpected end of file > Err http://bindist.finkproject.org stable/main Packages > Sub-process gzip returned an error code (1) > Hit http://bindist.finkmirrors.net stable/main Release > 99% [2 Packages gzip 0] > gzip: stdin: unexpected end of file > Err http://bindist.finkmirrors.net stable/main Packages > Sub-process gzip returned an error code (1) > Fetched 131kB in 2s (62.0kB/s) > Failed to fetch > http://bindist.finkmirrors.net/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Failed to fetch > http://bindist.finkproject.org/10.9/dists/stable/main/binary-darwin-x86_64/Packages > Sub-process gzip returned an error code (1) > Reading Package Lists... Done > Building Dependency Tree... Done > E: Some index files failed to download, they have been ignored, or old > ones used instead. > ### execution of /sw/bin/apt-get-lockwait failed, exit code 100 > WARNING: Failure while updating indexes. > --- > > Clearly, something odd is happening here, but I can't put my finger on > where. I'm not even sure if the problem is actually on my system, or if > there's something amiss with bindist.finkmirrors.org and > bindist.finkmirrors.net. > > So does anyone have any suggestions? > > Versions: > OS X 10.9.2 > Xcode 5.1.1 > Xcode CLT 5.1.0.0.1.1396320587 > fink 0.36.4.1 > apt-get 0.5.4 > > Mark D. McKean > qpa...@quantumpanda.com >
(bindist.finkmirrors.net and bindist.finkproject.org are the same machine) The message indicates that the error was on the remote box, but I didn't reproduce that here just now. Perhaps your update happened to coincide with an upload operation--bindist.finkproject.org | bindist.finkmirrors.org isn't a Mac, so a build machine uploads packages to it. -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users