Re: any way around this?
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
> On Nov 2, 2021, at 06:41, Hanspeter Niederstrasser <[email protected]> wrote: > > On 11/1/21 8:50 PM, Scott Hannahs via Fink-users wrote: >> On Nov 1, 2021, at 9:35 PM, Hanspeter Niederstrasser <[email protected]> wrote: >>> >>> On 11/1/21 4:20 PM, James Coyle via Fink-users wrote: >>>> Is there a way to get past this apparent incompatibility? >>>> JamesCoyleiMac:~ jimcoyle$ fink selfupdate >>>> 12.0 does not match the expected value of . Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1370. >>> >>> What version of fink are you running? Did you just update from another macOS version? If so, what macOS were you previously running? >> Is this the problem of not being able to identify the version from the Darwin version? I get an error on macOS 11.6 with the message >> "11.6 does not match the expected value of 11.5. Please run `fink selfupdate` to download a newer version of fink” >> I edited the file to change the “die” command to a "print()” command so I get it as a warning. Should fink still be expecting a certain value of sw_vers based on the Darwin version from the “uname -r” command. It is a nice consistency check but it has issues. > > > The consistency check was recently updated (Oct 21) to understand both macOS 12 and macOS11.6. If you go into the git source tree where you first got the Fink version that works on BigSur+, run these commands: > > git pull --rebase > ./inject.pl <PATH TO YOUR FINK TREE> > > This will get you the latest commits to Fink, then update your working fink tool so it can use them. > > Hanspeter But I get the following… % sudo ./inject.pl /opt/sw Password: Creating fink tarball... tar -cf /opt/sw/src/fink-0.45.99.git.tar AUTHORS COPYING INSTALL INSTALL.html MANIFEST MANIFEST.SKIP Makefile NEWS README README.buildsystem README.html … Copying package description(s)... /bin/mv /opt/sw/fink/dists/local/injected/finkinfo/fink.info /opt/sw/fink/dists/local/injected/finkinfo/fink.info.bak Modifying package description... /bin/chmod 644 /opt/sw/fink/dists/local/injected/finkinfo/*.* Installing package... /opt/sw/bin/fink install fink-0.45.99.git-20211102.1430 11.6 does not match the expected value of 11.5. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1373. ### execution of /opt/sw/bin/fink failed, exit code 29 Installing the new fink package failed. The description and the tarball were installed, though. You can retry at a later time by issuing the appropriate fink commands. So it seems that the problem will not inject the fixed version without first tweaking the Services.pm file to not die? If I mod the Services.pm file to not die, I get the following (warning still prints) /opt/sw/bin/fink install fink-0.45.99.git-20211102.1435 11.6 does not match the expected value of 11.5. Please run `fink selfupdate` to download a newer version of fink Scanning package description files.......... Information about 11780 packages read in 12 seconds. no matching version found for fink Failed: no package found for specification 'fink-0.45.99.git-20211102.1435'! ### execution of /opt/sw/bin/fink failed, exit code 1 Installing the new fink package failed. The description and the tarball were installed, though. You can retry at a later time by issuing the appropriate fink commands. Which implies that it can’t find the package to install. Is that the correct package name. I do have an injected deb file, but it is listed as 202110906.1726 and not the one specified by the inject? % ls -l /opt/sw/fink/10.9-libcxx/local/injected/binary-darwin-x86_64 total 2008 115644676 0 drwxr-xr-x 5 root wheel 160 Sep 27 12:09 ./ 115643988 0 drwxr-xr-x 4 root wheel 128 Sep 5 18:47 ../ 117041128 8 -rw-r--r-- 1 root wheel 580 Sep 27 11:56 Packages.gz 115645141 8 -rw-r--r-- 1 root wheel 88 Sep 27 11:56 Release 115781049 1992 -rw-r--r-- 1 root wheel 1015922 Sep 27 11:56 fink_0.45.99.git-20210906.1726_darwin-x86_64.deb The Services.pm in my copy of fink for installation is up to date with origin/dpkg1.16. The Services.pm file seems to have 11.5, 11.6 and 12 handlers for the OS Version. But that doesn’t seem to become part of my installation with the inject command. _______________________________________________ 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