Re: Fink Self-Update fails???
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 2/28/22 8:16 AM, Scott Hannahs wrote: > On Feb 28, 2022, at 06:18, Hanspeter Niederstrasser <[email protected]> wrote: >> >> On 2/27/22 7:56 PM, Scott Hannahs via Fink-users wrote: >>>> On Feb 27, 2022, at 5:23 PM, Hanspeter Niederstrasser <[email protected]> wrote: >>>> >>>> On 2/27/22 3:28 PM, Scott Hannahs via Fink-users wrote: >>>>> Fink just went through a self-update and updated a bunch of stufff and especially fink itself. But now when I try to do a self update I get an error about an undefined value. >>>>> % fink -y self-update >>>>> I will now run the git command to retrieve the latest package descriptions. The 'su' command will be used to run the git command as the user 'sth'. After that, the core packages will be updated right away; you should then >>>>> update the other packages using commands like 'fink update-all'. >>>>> /usr/bin/su sth -c '/usr/bin/git fetch origin' >>>>> /usr/bin/su sth -c '/usr/bin/git checkout master' >>>>> Already on 'master' >>>>> Your branch is up to date with 'origin/master'. >>>>> /usr/bin/su sth -c '/usr/bin/git merge --ff-only origin/master' >>>>> Already up to date. >>>>> Scanning package description files.......... >>>>> Information about 12722 packages read in 0 seconds. >>>>> no package found for “fink" >>>>> Failed: Can't call method "is_installed" on an undefined value at /opt/sw/lib/perl5/Fink/SelfUpdate.pm line 288. >>>>> % sw_vers >>>>> ProductName: macOS >>>>> ProductVersion: 11.6.3 >>>>> BuildVersion: 20G415 >>>>> % >>>>> There seems to be two problems. >>>>> no package found for “fink" >>>>> And then the method >>>>> Failed: Can't call method "is_installed" on an undefined value at /opt/sw/lib/perl5/Fink/SelfUpdate.pm line 288. >>>>> The system seems to be correct. There is no fink.info <http://fink.info/> <http://fink.info/ <http://fink.info/>> <http://fink.info/ <http://fink.info/> <http://fink.info/ <http://fink.info/>>> package. >>>>> % fink list fink >>>>> Information about 12722 packages read in 1 seconds. >>>>> i fink-buildenv-modules 0.1.9-1 Script for getting common buildtime values >>>>> i fink-mirrors 0.43.0.1-1 Mirror infrastructure >>>>> i fink-obsolete-packages 0.1-1 Base package for obsolete packages >>>>> fink-octave-scripts 0.4.0-1 Convenience scripts for Octave add-ons >>>>> i fink-package-precedence 0.36-1 Check fink masking of system libs >>>>> % >>>>> The fink.info <http://fink.info/> <http://fink.info/ <http://fink.info/>> <http://fink.info/ <http://fink.info/> <http://fink.info/ <http://fink.info/>>> package is in the injected tree since that is where it goes when installing on Big Sur. >>>> >>>> That's weird. The dpkg1.16 branch (for BigSur and Monterey) haven't had a recent update. >>>> >>>> What does `fink --version` report? >>>> >>>> Hanspeter >> >>> Package manager version: 0.45.99.git >>> Distribution version: selfupdate-git Sun Feb 27 20:42:38 2022, 11.3, x86_64 >>> Trees: local/injected local/main stable/main >> >> Do you get the same error if you do `fink reinstall fink`? >> >> If that fails, an alternative is to use dpkg directly to reinstall fink's files: >> >> sudo dpkg -i /opt/sw/fink/debs/fink_0.45.99.git-<SOME_DATE_STRING>_darwin-x86_64.deb >> >> You'll have to replace the <SOME_DATE_STRING> token with the actual filename. > > It seems that “fink cleanup —all” gets a little too enthusiastic? My deb file is missing as well. I only have an info file at "/opt/sw/fink/10.9-libcxx/local/injected/finkinfo/fink.info <http://fink.info/>”. > But fink does not seem to find it when listing “fink list fink”. > > It is in my conf file to search the /local/injected tree first. > > % grep Trees /opt/sw/etc/fink.conf > Trees: local/injected local/main stable/main > SelfUpdateTrees: 10.9-libcxx > > doing a “fink index” does not change this. > > However my system running Monterey that I have been treating the same has the deb file and seems to see the info file. They list the same version of fink. Can I just copy the deb file from the Monterey system to the BS system? Can you copy the file from local/injected to stable/main? Does Fink then see "fink" ? Can't really use debs from a newer system onto an older system. I can try to dig out a deb of the dpkg1.16 branch from a 10.14.5 system and then you can manually install that in case the above doesn't work. Hanspeter _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users