[MacPorts] ProblemHotlist modified

MacPorts Wiki noreply at macports.org
Sat Nov 6 14:37:21 UTC 2021


Page "ProblemHotlist" was changed by breun
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=157>
Revision 157
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 156)
+++ ProblemHotlist (version: 157)
@@ -184,30 +184,34 @@
 
 == Reinstalling the command line tools == #reinstall-clt
 
-When the command line tools package is installed, a receipt is generated that can be accessed with `pkgutil`.
-When upgrading macOS or Xcode, this receipt can be lost even though the command line tools remain installed.
-Without this receipt, MacPorts cannot determine which version of the command line tools package is installed, and worse, Software Update will never update the CLTs.
-
-To verify whether you have a CLT receipt, run this command:
+When the Command Line Tools package is installed, a receipt is generated that can be accessed with `pkgutil`.
+When upgrading macOS or Xcode, this receipt can be lost even though the Command Line Tools remain installed.
+Without this receipt, MacPorts cannot determine which version of the Command Line Tools package is installed, and worse, Software Update will never update the Command Line Tools.
+
+To verify whether you have a Command Line Tools receipt, run this command:
 
 {{{
 pkgutil --pkg-info=com.apple.pkg.CLTools_Executables --pkg-info=com.apple.pkg.CLTools_Base --pkg-info=com.apple.pkg.DeveloperToolsCLI --pkg-info=com.apple.pkg.DeveloperToolsCLILeo 2>/dev/null | sed -n 's/^version: //p'
 }}}
 
-If it prints a version number, that's the version of the CLT that are installed, according to the receipt. If it doesn't print anything, you don't have a receipt and should reinstall the CLT as follows.
+If it prints a version number, that's the version of the Command Line Tools that are installed, according to the receipt. If it doesn't print anything, you don't have a receipt and should reinstall the Command Line Tools as follows.
 
 '''Fix:'''[[BR]]
 
-Reinstalling the command line tools package fixes the problem (however future updates will cause it to recur until Apple fixes the bug).
-* Download the command line tools package from the [https://developer.apple.com/download/more/?=command%20line%20tools Apple Developer] site.
-* If the version of the CLT you need is not listed at the developer site, but an older version is, reinstalling that will restore the package receipts. Then just run Software Update to trigger the update to the newer version.
-* Or, on OS X 10.9 or greater, Software Update can reinstall the package:
+Reinstalling the Command Line Tools package fixes the problem (however future updates will cause it to recur until Apple fixes the bug).
+
+On Mac OS X 10.9 Mavericks or later, Software Update can reinstall the package:
   * {{{touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress}}}
   * {{{softwareupdate -l}}}
-  * [https://support.apple.com/en-us/HT201541 Run Software Update] and install the command line tools. If more than one version is presented, select only the version that matches your Xcode version.
+  * [https://support.apple.com/en-us/HT201541 Run Software Update] and install the Command Line Tools. If more than one version is presented, select only the version that matches your Xcode version.
   * {{{rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress}}}
-Please note that Software Update will continue to list the command line tools package as outdated so long as the file `/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress` exists.[[BR]]
-Be sure to remove it once the package is reinstalled.
+  * Software Update will continue to list the Command Line Tools package as outdated so long as the file `/tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress` exists, so don't forget to run the previous command to remove it.
+
+On Mac OS X versions older than 10.9 you'll need to download and install the Command Line Tools package again yourself:
+* Download and install the Command Line Tools package from the [https://developer.apple.com/download/more/?=command%20line%20tools Apple Developer] site.
+* If the version of the Command Line Tools you need is not listed at the developer site, but an older version is, reinstalling that will restore the package receipts. Then just run Software Update to trigger the update to the newer version.
+
+If you've had to reinstall the Command Line Tools because of this bug, consider reporting this issue to Apple via the Feedback Assistant application or https://feedbackassistant.apple.com.
 
 {{{
 #!comment
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
MacPorts <https://www.macports.org/>
Ports system for macOS

This is an automated message. Someone added your email address to be
notified of changes on 'ProblemHotlist' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list