Re: Installing Fink on Catalina
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
> 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* You will see that these are not the recent installs. (unless you have turned off some of the system protection features) If you boot your system into Recovery mode, delete all /Volumes/<DISK NAME>/System/Library/Receipts/com.apple.pkg.CLT* to reset to default boot back into normal mode and then install CLT 12.4 and then try to boot strap it will fail. -Scott Verifying that installed Xcode Command Line Tools version is supported... ERROR: I couldn't find the correct receipt for the Command Line Tools for your OS X version. Tools from a prior OS X version won't work properly. You can install them by running the command xcode-select --install in a terminal window and then selecting Install in the dialog window that pops up, or downloading them from developer.apple.com. After they are installed, try the bootstrap operation again. _______________________________________________ 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