Re: updating fink to Sonoma 14.4.1 does not work. What can I do?

Hanspeter Niederstrasser <[email protected]> Mon, 29 Apr 2024 20:28:31 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 4/29/24 1:03 AM, Heinz Nabielek via Fink-beginners wrote:
> Friends: updating fink to Sonoma 14.4.1 does not work. What can I do?
> Heinz
> 
> Installing package...
> 
> /opt/sw/bin/fink install fink-0.45.99.git-20240429.0600
> 14.4 does not match the expected value of 13.3. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449.
> ### 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.
> 
> heinznabielek@AppleSilicon fink-upstream % fink selfupdate
> 14.4 does not match the expected value of 13.3. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449.
> heinznabielek@AppleSilicon fink-upstream %


There's a deadlock in the update process. To work around it:

1) make sure your git checkout is up to date: run `git pull` in the 
fink-upstream directory.
2) Edit the file /opt/sw/lib/perl5/Fink/Services.pm and change the line 
around #1446 in that file to match the what's at this link:

https://github.com/fink/fink/blob/0956959c97f64b28111ad7e2e1d05b7491af496d/perlmod/Fink/Services.pm#L1447

(basically, update the long set of comparisons in your installed Fink).

3) in the fink-upstream directory, re-run ./inject.pl

Hanspeter

-- 
More agile than a turtle, stronger than a mouse, nobler than lettuce



_______________________________________________
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