在 Cydia 上搜索應(yīng)用進行安裝,提示錯誤:failed to write (No space left on device),從字面上的意思看是磁盤空間不夠,導(dǎo)致寫入錯誤,但是到 “關(guān)于” 里看到磁盤可用空間還剩 8.3G。嘗試將 deb 包上傳到手機,使用命令手動安裝,還是提示相應(yīng)的錯誤,信息如下:
創(chuàng)新互聯(lián)建站,專注為中小企業(yè)提供官網(wǎng)建設(shè)、營銷型網(wǎng)站制作、成都響應(yīng)式網(wǎng)站建設(shè)公司、展示型成都網(wǎng)站設(shè)計、網(wǎng)站制作等服務(wù),幫助中小企業(yè)通過網(wǎng)站體現(xiàn)價值、有效益。幫助企業(yè)快速建站、解決網(wǎng)站建設(shè)與網(wǎng)站營銷推廣問題。
# dpkg -i eXfaker.deb Selecting previously unselected package net.exchen.exfaker. (Reading database ... 4236 files and directories currently installed.) Preparing to unpack eXfaker.deb ... Unpacking net.exchen.exfaker (1.2.5) ... dpkg: error processing archive eXfaker.deb (--install): cannot copy extracted data for './Applications/eXfaker.app/eXfaker' to '/Applications/eXfaker.app/eXfaker.dpkg-new': failed to write (No space left on device) dpkg-deb: error: subprocess paste was killed by signal (Broken pipe: 13) Errors were encountered while processing: eXfaker.deb
使用 df -h 命令查看磁盤的情況,發(fā)現(xiàn)原來文件系統(tǒng) /dev/disk0s1s1 的掛載點是 / 目錄,可用空間果然是沒有了,而 /dev/disk0s1s2 的掛載點是 /private/var 目錄,可用空間還剩 8.3 G,信息如下:
# df -h Filesystem Size Used Avail Use% Mounted on /dev/disk0s1s1 2.6G 2.6G 0 100% / devfs 28K 28K 0 100% /dev /dev/disk0s1s2 13G 4.0G 8.3G 33% /private/var /dev/disk1 242M 72M 170M 30% /Developer
嘗試卸載掉 /Applications 目錄的一個應(yīng)用,發(fā)現(xiàn) / 目錄的可用空間多了 6.1MB,再次使用 dpkg -i eXfaker.deb 命令安裝應(yīng)用就沒問題了,信息如下:
# dpkg -i eXfaker.deb Selecting previously deselected package net.exchen.exfaker. (Reading database ... 2307 files and directories currently installed.) Unpacking net.exchen.exfaker (from eXfaker.deb) ... Setting up net.exchen.exfaker (1.2.5) ... # uicache
原文地址:https://www.exchen.net/ios-hacker-no-space-left-on-device.html