Re: Installing Fink on Catalina

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 7/30/21 7:49 AM, Scott Hannahs via Fink-users wrote:
>> On Jul 30, 2021, at 08:15, Hanspeter Niederstrasser <[email protected]> wrote:
>>
>> On 7/28/21 11:44 AM, Scott Hannahs via Fink-users wrote:
>>> The install program checks for the receipts for the command line tools under Catalina before installing Fink.  It does this by checking the receipt for the command line tools installation.
>>> However the Command Line Tools 12.4 installer attempts to put the receipt in /System/Library/Receipts.  This folder is not writeable (except in recovery mode) and thus no receipt is installed.
>>> Xcode correctly puts the receipt in /private/var/db/com.apple.pkg.Xcode.plist.  However the CLT installer does not do this.
>>> Thus the quick installer fails as well as the actual bootstrap routines. I am not sure how to resolve this, but how does one install Fink under Catalina?
>>
>> I just tested a freshly installed CLT-12.4 on an existing Fink install on Catalina, and it was able to find the CLT (fink list xcode). I also tried to bootstrap a fresh install from the 0.45.2 tarball with CLT-12.4, and the script was able to find and detect the 12.4 install.
>>
>> Hanspeter
> 
> Hanspeter,
> 
> I did the same thing except it was the 0.45-3 tarball.  My guess is that you upgraded to Catalina via a previous OS with Xcode CLT installed.  This keeps the correct file
> "com.apple.pkg.CLTools_Executables” in /System/Library/Receipts, and thus the pkgutil command "pkgutil --pkg-info com.apple.pkg.CLTools_Executables” succeeds.  However it is using the older package and if you run that pkgutil command it will tell you that you have 11.3 installed(?)
> 
> If you do a clean install of MacOS (or have a new machine as I do), the receipt is NOT created when CLT 12.4 is installed and the bootstrap fails.
> 
> Look at the file dates for
> % ls -l /System/Library/Receipts/com.apple.pkg.CLT*

[Catalina:~] nieder $ ls -l /System/Library/Receipts/com.apple.pkg.CLT*
zsh: no matches found: /System/Library/Receipts/com.apple.pkg.CLT*

I do have other bom & plist files in there. I tried to create a file in 
there, but it's not permitted, so SIP is working. The CLT receipts are 
in /Library/Apple/System/Library/Receipts, and they're all dated July 30.

My Catalina install is a VirtualBox VM (Mojave host) that was a clean 
Catalina install (never an earlier OS). On my Mojave machine 
(10.11->10.13->10.14), the CLT receipts are in /System/Library/Receipts.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.