> On Nov 13, 2015, at 07:01, Robert Wohlhueter <bobwohlhue...@earthlink.net> > wrote: > > Dear Fink Users, > > Running fink under MacOS 10.10.5 (on a MacBookPro): > I ran`sudo fink selfupdate successfully, but when I then try > `sudo fink update-all`, I get an error message: > > [summer-3:Contents/MacOS]14 bobw% sudo fink update-all > Scanning package description files > not a reference at /sw/lib/perl5/Fink/Services.pm line 1887. >
Don’t use “sudo” with fink under normal circumstances. fink will acquire elevated privileges for itself. > And the update terminates. Attempting to update just a single package > generates the same message. > > The update procedure to OS 10.11 (as featured on finkproject.org) is > inappropriate, as I am still on 10.10. But the `fink cleanup --deb` seemed > interesting, so I tried it: got the same error message. > > Here's a snippet of Services.pm around line 1887: > > if (Storable::store($ref, $tmp)) { > chmod 0644, $tmp; # Should be world-readable > unless (rename $tmp, $file) { > print_breaking_stderr("Error: could not activate temporary file > $tmp: $!"); > return 0; > } > > The "Services.pm" file is owned by root, but is world-readable. So, I'm > clueless as to what's going on! Maybe I'm looking at the wrong line > numbering. I wold be happy to attach my whole "Services.pm", if that would > help. It really wouldn’t. We all have the same file. The issue is that $ref isn’t being set earlier as a reference for some reason—ideally we would have a human-readable message, but this problem seems not to come up very often. > > Any help will be appreciated. > > Bob Wohlhueter > ------------------------------------------------------------------------------ > _______________________________________________ > 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 Try “fink reinstall fink”, and if that doesn’t work, try running “sudo /sw/lib/fink/postinstall.pl”. Typically errors involving the Storable database are from binary incompatibility due to changing Perl versions (e.g. on OS upgrade), and the the postinstall.pl script does some rebuilding. -- Alexander Hansen, Ph.D. Fink User Liaison
------------------------------------------------------------------------------
_______________________________________________ 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