Skip to main content
Lloyd Dewolf's user avatar
Lloyd Dewolf's user avatar
Lloyd Dewolf's user avatar
Lloyd Dewolf
  • Member for 13 years, 2 months
  • Last seen more than 1 year ago
comment
Could not validate sizes – Operation not permitted. The operation couldn’t be completed. (OSStatus error 1.)
This worked for me in attempting to re-install Mac OS X Lion (previously bought in App Store) on an old Macbook. Benign error messages: Checksum failed. Expected 7425D663 but got 84E748B9 Could not restore - Invalid argument
comment
Best way to check in bash if Command Line Tools are installed?
I looked in the source code of homebrew and Homebrew/os/mac/xcode.rb looks to use this type of approach. Looking at homebrew was interesting to me as I could see the evolution of the CLT integration in MacOS.
Loading…
comment
Almost 450 MB consumed on empty external hard drive
Without including a diskutil list output to show the partitioning of the disk, this answer is incomplete and possibly incorrect.
comment
Best way to check in bash if Command Line Tools are installed?
@fd0 looks to be the way to go. On a clean Sierra MacOS 10.12.1: ENTER: $ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables RESULT: No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. ENTER: $ echo $? RESULT: 1
comment
Best way to check in bash if Command Line Tools are installed?
In macOS Sierra 10.12.2, if CLT is already installed xcode-select --install 2>&1 results in stderr: xcode-select: error: command line tools are already installed, use "Software Update" to install updates, but you wouldn't want to suppress that either for the case when it isn't installed. I'm stumped.
awarded
awarded