Error : Insufficient space in download directory /var/cache/yum/x86_64/7/epel
[root@admin~]# yum install lshw Installing: lshw x86_64 B.02.17-3.el6 base 1053 k Error Downloading Packages: lshw-B.02.17-3.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6/base/packages * free 0 * needed 1053 k
This error message gives a hint with stats as ‘free 0’, which means you are running out of disk space. And you can resolve this by:
You can resolve this by either deleting unwanted files in the cache folder (/var/cache/) and free the directory.
Now, you should try to free up some space under ‘/’ partition.
/dev/sda1 4.9G 4.8G 0 100% /
Assume, you have enough space on another partition, then you can change "cachedir" directory in yum.conf.
# vi /etc/yum.conf [main] sslverify=0 cachedir=/anotherpartition/yum/cache/