Changes between Version 144 and Version 145 of ProblemHotlist


Ignore:
Timestamp:
Nov 2, 2019, 6:59:31 PM (4 years ago)
Author:
MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v144 v145  
    162162
    163163
     164== Reinstalling the command line tools == #reinstall-clt
     165
     166When the command line tools package is installed, a receipt is generated that can be accessed with `/usr/sbin/pkgutil`.
     167When upgrading Xcode, this receipt can be lost even though the command line tools remain installed.
     168Without this receipt, MacPort cannot determine which version of the command line tools package is installed.
     169
     170'''Fix:'''[[BR]]
     171
     172Reinstalling the command line tools package fixes the problem.
     173* Download the command line tools package from the [https://developer.apple.com/download/more/?=command%20line%20tools Apple Developer] site.
     174* Or, on Mac OS X 10.9 or greater, Software Update can reinstall the package:
     175  * {{{sudo touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress}}}
     176  * {{{softwareupdate -l}}}
     177  * [https://support.apple.com/en-us/HT201541 Run Software Update]
     178  * {{{sudo rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress}}}
     179Please 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]]
     180Be sure to remove it once the package is reinstalled.
    164181
    165182{{{