Re: seelfupdate does not work

Hanspeter Niederstrasser <[email protected]> Sun, 27 Aug 2023 08:47:22 -0500
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 8/26/23 6:27 PM, Heinz Nabielek via Fink-beginners wrote:
> Am 26.08.2023 um 14:15 schrieb Hanspeter Niederstrasser <[email protected]>:
>>
>> On 8/25/23 4:05 PM, Heinz Nabielek via Fink-beginners wrote:
>>> Am 25.08.2023 um 11:25 schrieb Hanspeter Niederstrasser <[email protected]>:
>>>>
>>>> On 8/24/23 7:41 PM, Heinz Nabielek via Fink-beginners wrote:
>>>>> fink selfupdate
>>>>> Argument "13.-1" isn't numeric in numeric ne (!=) at /opt/sw/lib/perl5/Fink/Services.pm line 1445.
>>>>> 14.0 does not match the expected value of 13.-1. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449.
>>>>> fink update-all
>>>>> Argument "13.-1" isn't numeric in numeric ne (!=) at /opt/sw/lib/perl5/Fink/Services.pm line 1445.
>>>>> 14.0 does not match the expected value of 13.-1. Please run `fink selfupdate` to download a newer version of fink at /opt/sw/lib/perl5/Fink/Services.pm line 1449
>>>>> What has happened here?
>>>>> Heinz
>>>>> macOS Sonoma beta 14.0
>>>>> Darwin iMac-von-Heinz.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Aug 18 00:02:20 PDT 2023; root:xnu-10002.1.11~5/RELEASE_ARM64_T8103 arm64
>>>>
>>>> macOS 14.0beta changed the relationship between the OS version and the kernel version.
>>>>
>>>> See this comment for a patch to fix this issue:
>>>> https://github.com/fink/fink/issues/255#issuecomment-1684711978
>>>>
>>>> If you're bootstrapping fink from scratch you'll run into a later failure about the `-read_only_stubs` in dpkg, but if this was a system upgrade to an existing install, that shouldn't affect you.
>>> I am lost. Can you take me by the hand and tell me which steops to take?
>>> Heinz
>>
>> This assumes you already have an existing Fink install that broke after you installed the 14.0 beta. It also assumes that your git clone of the Fink source code is from https://github.com/fink/fink and not some other fork (like TheSin-).
>>
>> 1) Download the Sonomapatch.patch file from that comment I linked to.
>> 2) change directory in Terminal to the fink clone from github.com
>> 3) run `git pull` to make sure you have the latest commits
> 
> 
> Further help needed….Sorry for being clumsy.
> Heinz
> 
> 
> cd Downloads
> ls -al Son*
> -rw-r--r--@ 1 heinznabielek  staff  3754 25 Aug 23:03 Sonomapatch.patch
> 
> git pull
> fatal: not a git repository (or any of the parent directories): .git

You need to first change the directory in terminal to wherever your 
clone of the Fink source tree is. It might be ~/src/fink if you've 
followed previous directions posted to the mailing list.

If you've deleted the source tree, you can reclone it:
mkdir -p ~/src
cd ~/src
git clone https://github.com/fink/fink
cd fink

Then you can apply the Sonomapatch.patch.

Hanspeter

-- 
When a stupid man is doing something he is ashamed of, he always
declares that it is his duty.
   --George Bernard Shaw



_______________________________________________
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