我正在尝试在我的持久 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