> On Sep 22, 2016, at 22:22, James Coyle <jamescoy...@mac.com> wrote:
> 
> When trying to selfupdate, I received an instruction to reinstall Fink, but 
> that failed. Here’s the output. I’d appreciate instructions in how to proceed:
> 
> Thank you!
> 
> Last login: Wed Sep 21 20:18:07 on console
> James-Coyle-iMac:~ jimcoyle$ fink selfupdate
> Password:
> Use 'fink reinstall fink' to switch distributions
> from 10.11 to 10.12.
> 'selfupdate' operation not permitted.
> James-Coyle-iMac:~ jimcoyle$ fink reinstall fink
> Use 'fink reinstall fink' to switch distributions
> from 10.11 to 10.12.
> Information about 9830 packages read in 39 seconds.
> WARNING: your info file index has not been updated for 16 days. You should run
> 'fink selfupdate' to get the latest package descriptions.
> The following package will be reinstalled:
>  fink
> Reading buildlock packages...
> /sw/bin/dpkg-lockwait -i 
> /sw/fink/dists/stable/main/binary-darwin-x86_64/base/fink_0.39.5-101_darwin-x86_64.deb
> (Reading database ... 19103 files and directories currently installed.)
> Preparing to replace fink 0.39.5-101 (using 
> .../fink_0.39.5-101_darwin-x86_64.deb) ...
> Unpacking replacement fink ...
> Setting up fink (0.39.5-101) ...
> Checking system... i386-apple-darwin16.0.0
> Use of uninitialized value $gcc in regexp compilation at 
> /sw/lib/perl5/Fink/Services.pm line 1364.
> Use of uninitialized value $gcc in concatenation (.) or string at 
> /sw/lib/perl5/Fink/Bootstrap.pm line 164.
> 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.
> Use of uninitialized value $distroot in string eq at 
> /sw/lib/fink/postinstall.pl line 164.
> Use of uninitialized value $distroot in concatenation (.) or string at 
> /sw/lib/fink/postinstall.pl line 196.
> ln -s  /sw/fink/10.12
> Use of uninitialized value $distroot in concatenation (.) or string at 
> /sw/lib/fink/postinstall.pl line 203.
> ln -s 10.12 /sw/fink/dists
> Use of uninitialized value $selfupdatetree in concatenation (.) or string at 
> /sw/lib/fink/postinstall.pl line 236.
> /bin/mkdir -p /sw/fink/dists/local/injected/finkinfo/update-packages
> mkdir: /sw/fink/dists/local/injected/finkinfo/update-packages: Not a directory
> ### execution of /bin/mkdir failed, exit code 1
> ERROR: couldn't create directory 
> /sw/fink/dists/local/injected/finkinfo/update-packages
> /sw/bin/dpkg: error processing fink (--install):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  fink
> ### execution of /sw/bin/dpkg-lockwait failed, exit code 1
> Failed: can't install package fink-0.39.5-101
> James-Coyle-iMac:~ jimcoyle$ fink cleanup --deb
> Scanning package description files
> Failed: not a reference at /sw/lib/perl5/Fink/Services.pm line 1903.
> James-Coyle-iMac:~ jimcoyle$ fink reinstall fink
> Scanning package description files
> not a reference at /sw/lib/perl5/Fink/Services.pm line 1903.
> James-Coyle-iMac:~ jimcoyle$ 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Fink-beginners mailing list
> Fink-beginners@lists.sourceforge.net
> List archive:
> http://news.gmane.org/gmane.os.apple.fink.beginners
> Subscription management:
> https://lists.sourceforge.net/lists/listinfo/fink-beginners

You didn’t mention the essential point, which is that you updated to Sierra 
before installing a fink which actually supports it—that’s why it broke.  The 
reverse operation is what you’d want:  selfupdate to a fink that supports 
Sierra, update the OS, and use “fink reinstall fink” to point fink at the 
proper distribution.

There’s a quick fix, fortunately.  Manually download 
http://bindist.finkproject.org/10.12/dists/stable/main/binary-darwin-x86_64/base/fink_0.41.0-111_darwin-x86_64.deb,
 which is the initial fink release for Sierra, and use “sudo dpkg -i 
/path/to/fink_0.41.0-111_darwin-x86_64.deb” (replacing /path/to with the actual 
location) to install it.  The install process should reset the distribution for 
you.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison


------------------------------------------------------------------------------
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to