Xcode on Mac App Store can't install , show disk space not enough

后端 未结 30 1820
执念已碎
执念已碎 2021-01-29 18:33

I\'m using the Mac OS to install the XCode10.1.

I have 18.43GB free disk space in the mac,

but when I click the install button on the Xcode from the app store,<

30条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-29 19:29

    I also have this problem with a whopping 240GB available.

    It seems that purging simply does not happen. I created a really big file, but it died because of no disk space:

    paul-> dd if=/dev/zero of=~/zeroes bs=100M
    dd: error writing '/Users/paul/zeroes': No space left on device
    151+0 records in
    150+0 records out
    15728640000 bytes (16 GB, 15 GiB) copied, 33.0689 s, 476 MB/s
    [~/Library/Caches ]
    paul-> ls -lh ~/zeroes 
    -rw-r--r-- 1 paul staff 15G Nov 17 09:27 /Users/paul/zeroes
    

    It certainly should not have stopped at 15 GB

    paul-> df -h
    Filesystem      Size  Used Avail Use% Mounted on
    /dev/disk1s1    466G  268G  197G  58% /
    /dev/disk1s4    466G  1.1G  197G   1% /private/var/vm
    

    Oddly enough, after removing the big file, I was able to download Xcode from the App Store.

提交回复
热议问题