[MacPorts] ProblemHotlist modified

MacPorts Wiki noreply at macports.org
Sat Nov 2 18:59:32 UTC 2019


Page "ProblemHotlist" was changed by MarcusCalhoun-Lopez
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=145>
Revision 145
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 144)
+++ ProblemHotlist (version: 145)
@@ -161,6 +161,23 @@
 
 
 
+== Reinstalling the command line tools == #reinstall-clt
+
+When the command line tools package is installed, a receipt is generated that can be accessed with `/usr/sbin/pkgutil`.
+When upgrading Xcode, this receipt can be lost even though the command line tools remain installed.
+Without this receipt, MacPort cannot determine which version of the command line tools package is installed.
+
+'''Fix:'''[[BR]]
+
+Reinstalling the command line tools package fixes the problem.
+* Download the command line tools package from the [https://developer.apple.com/download/more/?=command%20line%20tools Apple Developer] site.
+* Or, on Mac OS X 10.9 or greater, Software Update can reinstall the package:
+  * {{{sudo touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress}}}
+  * {{{softwareupdate -l}}}
+  * [https://support.apple.com/en-us/HT201541 Run Software Update]
+  * {{{sudo 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.
 
 {{{
 #!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