linux Error downloading packages free 0 * needed 71 k

linux  Error downloading packages free   0      * needed 71 k

原因:硬盘空间不足

查看磁盘大小

# df -hl

linux  Error downloading packages free   0      * needed 71 k

从/主目录开始搜索,查看占用磁盘大的

linux  Error downloading packages free   0      * needed 71 k

 # du -sh *

linux  Error downloading packages free   0      * needed 71 k

最后发现jenkins目录下占用过高

# cd /var/lib/jenkins

linux  Error downloading packages free   0      * needed 71 k

原因是部署的项目,每次拉源代码,编译都会生成jar,还有其它东西

 

搜索jenkins的目录,然后准备进行删除

# cd /

# find -name jenkins

# rm -rf /etc/sysconfig/jenkins

# rm -rf /etc/rc.d/init.d/Jenkins

# rm -rf /etc/logrotate.d/Jenkins

# rm -rf /usr/lib/jenkins

# rm -rf /var/log/jenkins

# rm -rf /var/cache/jenkins

上一篇:linux Error downloading packages free 0 * needed 71 k


下一篇:Ieda maven Downloading maven plugins 速度慢