安裝大包拋出“沒有空間”錯誤

安裝大包拋出“沒有空間”錯誤

我正在嘗試在我持久的 Ubuntu linuy 上安裝 unity3D,該棒有 10+ GB,持久性部分約為 4GB。

但每當我運行時,dpkg -i unity-editor-5.3.5f1+20160525_amd64.deb它需要一段時間,然後拋出此錯誤:

(Reading database ... 192291 files and directories currently installed.)
Preparing to unpack unity-editor-5.3.5f1+20160525_amd64.deb ...
Unpacking unity-editor (5.3.5f1) over (5.3.5f1) ...
dpkg: error processing archive unity-editor-5.3.5f1+20160525_amd64.deb (--install):
 cannot copy extracted data for './opt/Unity/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/Variations/win64_nondevelopment_mono/player_win_x64.pdb' to '/opt/Unity/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/Variations/win64_nondevelopment_mono/player_win_x64.pdb.dpkg-new': failed to write (No space left on device)
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 unity-editor-5.3.5f1+20160525_amd64.deb

我用谷歌搜尋了這個問題並閱讀了一些答案,例如清除緩存,不幸的是,這兩種解決方案都不起作用。這是df -a列印的內容:

ubuntu@ubuntu:~/Downloads$ df -a
Filesystem     1K-blocks    Used Available Use% Mounted on
sysfs                  0       0         0    - /sys
proc                   0       0         0    - /proc
udev             4048568       0   4048568   0% /dev
devpts                 0       0         0    - /dev/pts
tmpfs             812644    9656    802988   2% /run
/dev/sdf1       15257600 5681272   9576328  38% /cdrom
/dev/loop1       1399936 1399936         0 100% /rofs
/cow             4062904 3439240    413952  90% /
securityfs             0       0         0    - /sys/kernel/security
tmpfs            4063216     144   4063072   1% /dev/shm
tmpfs               5120       4      5116   1% /run/lock
tmpfs            4063216       0   4063216   0% /sys/fs/cgroup
cgroup                 0       0         0    - /sys/fs/cgroup/systemd
pstore                 0       0         0    - /sys/fs/pstore
cgroup                 0       0         0    - /sys/fs/cgroup/perf_event
cgroup                 0       0         0    - /sys/fs/cgroup/net_cls,net_prio
cgroup                 0       0         0    - /sys/fs/cgroup/memory
cgroup                 0       0         0    - /sys/fs/cgroup/cpu,cpuacct
cgroup                 0       0         0    - /sys/fs/cgroup/devices
cgroup                 0       0         0    - /sys/fs/cgroup/cpuset
cgroup                 0       0         0    - /sys/fs/cgroup/blkio
cgroup                 0       0         0    - /sys/fs/cgroup/freezer
cgroup                 0       0         0    - /sys/fs/cgroup/hugetlb
cgroup                 0       0         0    - /sys/fs/cgroup/pids
systemd-1              0       0         0    - /proc/sys/fs/binfmt_misc
mqueue                 0       0         0    - /dev/mqueue
hugetlbfs              0       0         0    - /dev/hugepages
debugfs                0       0         0    - /sys/kernel/debug
tracefs                -       -         -    - /sys/kernel/debug/tracing
fusectl                0       0         0    - /sys/fs/fuse/connections
tmpfs            4063216     132   4063084   1% /tmp
tmpfs             812644      48    812596   1% /run/user/999
gvfsd-fuse             0       0         0    - /run/user/999/gvfs

編輯:unity .deb 檔案是 1.2G 根據du -sh unity-editor-5.3.5f1+20160525_amd64.deb

答案1

dpkg不是說謊,你沒有足夠的空間來安裝unity-editor-5.3.5f1+20160525_amd64.deb

您的root檔案系統只有 404.25 MB 的可用空間,而您正在嘗試安裝 1.2 GB 的軟體包。

Filesystem     1K-blocks    Used Available Use% Mounted on
/cow             4062904 3439240    413952  90% /

413952 KB 可用。 413952 KB == 404.25 MB

相關內容