<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">This happens both on a 2017 iMac running Catalina and a 2010 MBA running High Sierra.</div><div class=""><br class=""></div>Every time I run "sudo port upgrade outdated" I get the message about the command line tools:<div class=""><br class=""></div><div class="">"Warning: cltversion: The Command Line Tools are installed, but MacPorts cannot determine the version."</div><div class=""><br class=""></div><div class="">I follow the instructions here:</div><div class=""><br class=""></div><div class=""><a href="https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt" class="">https://trac.macports.org/wiki/ProblemHotlist#reinstall-clt</a></div><div class=""><br class=""></div><div class="">This is the iMac:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">MrMuscle:volumes mnewman$ touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress</div></div><div class=""><div class="">MrMuscle:volumes mnewman$ softwareupdate -l</div></div><div class=""><div class="">Software Update Tool</div></div><div class=""><div class="">Finding available software</div></div><div class=""><div class="">Software Update found the following new or updated software:</div></div><div class=""><div class="">* Label: Command Line Tools for Xcode-12.4</div></div><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Title: Command Line Tools for Xcode, Version: 12.4, Size: 440392K, Recommended: YES,</div></div><div class=""><div class="">MrMuscle:volumes mnewman$ rm /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress</div></div><div class=""><div class="">MrMuscle:volumes mnewman$ softwareupdate -l</div></div><div class=""><div class="">Software Update Tool</div></div><div class=""><div class="">Finding available software</div></div><div class=""><div class="">No new software available.</div></div><div class=""><div class="">MrMuscle:volumes mnewman$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables</div></div><div class=""><div class="">package-id: com.apple.pkg.CLTools_Executables</div></div><div class=""><div class="">version: 12.4.0.0.1.1610135815</div></div><div class=""><div class="">volume: /</div></div><div class=""><div class="">location: /</div></div><div class=""><div class="">install-time: 1622628917</div></div><div class=""><div class="">groups: com.apple.FindSystemFiles.pkg-group</div></div></blockquote><div class=""><br class=""></div><div class="">But it doesn't seem to "stick" and the next time it shows up again.</div><div class=""><br class=""></div><div class="">What am I doing wrong?</div><div class=""><br class=""></div><div class="">Mike Newman</div><div class="">Korat, Thailand</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>