当我拿到时,我正试图安装libpcap
Error Downloading Packages:
14:libpcap-0.9.4-15.el5.i386: Insufficient space in download directory /var/cache/yum/base/packages
* free 0
* needed 108 k
这是df -h的输出:
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 20G 19G 0 100% /
/dev/sda3 202G 38G 154G 20% /home
tmpfs 1.5G 0 1.5G 0% /dev/shm
和fdisk -l:
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 83 Linux
/dev/sda2 2612 3251 5140800 82 Linux swap / Solaris
/dev/sda3 3252 30394 218026147+ 83 Linux
我推出了yum clean all,但没有成功清理空间.
请指教.
谢谢.
你的/ mount已经满了.
首先,验证/ tmp为空.
其次,清空/ var / cache / yum / base / packages的内容. (或者考虑在验证系统中的以下过程时移动内容.)
然后尝试将/ home中的安装空间绑定到/ var / cache / yum / base / packages:
mount --bind /home/yum /var/cache/yum/base/packages
然后在/ etc / fstab的底部添加一个条目,如下所示:
/home/yum /var/cache/yum/base/packages none,rw bind 0 0
一旦设置了绑定挂载,运行df -h将显示/ var / cache / yum / base / packages以具有boku空间.然后运行yum并验证一切都是copasetic.