Re: Fink selfupdate not working
Hanspeter Niederstrasser <[email protected]> Sun, 24 Sep 2023 08:17:26 -0500
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 9/22/23 9:57 AM, James Kolata via Fink-beginners wrote:
> I just updated to MacOS 13.6. Here is the message I received when I tried to update fink:
>
> jkolata1% fink selfupdate
> 13.6 does not match the expected value of 13.5. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449
>
>
> I don’t understand this message. What am I supposed to do? Here is the code around line 1449:
>
> sub get_osx_vers {
> my $sw_vers = get_osx_vers_long();
> my $darwin_osx = get_darwin_equiv();
> $sw_vers =~ s/^(\d+\.\d+).*$/$1/;
> if ($sw_vers != $darwin_osx) {
> if (($sw_vers == 11.6 && $darwin_osx == 11.5) || ($sw_vers == 12.6 && $darwin_osx == 12.5)) {
> # special cases in Big Sur and Monterey where it's OK to have a mismatch
> } else {
> die "$sw_vers does not match the expected value of $darwin_osx. Please run `fink selfupdate` to download a newer version of fink";
> }
> }
> return $sw_vers;
> }
>
>
> Am I supposed to edit some of this code? If so, what do I need to do, exactly? Nowhere does this code refer to 13.5.
You need to fetch an updated Fink that knows about 13.6.
See the Sept 23 news item at https://www.finkproject.org/ for the
necessary git commands.
Once you have the code, run `./inject.pl` to update your Fink
installation, and then you should be able to run `fink selfupdate`.
Hanspeter
--
There three ways to get things done: Do it yourself,
hire someone else to do it, or forbid your kids to do it
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners