首页 > 代码库 > apt-get update 问题 及gcc高亮
apt-get update 问题 及gcc高亮
一 gcc高亮
gcc 高亮有好几种方法。
参考 http://www.cokco.cn/thread-39909-1-1.html 这个教程:
(1)
git clone https://github.com/chinaran/color-compile/
(2)
cd color-compile
make
sudo make install
(3)退出再登陆,进入这个目录,make TEST
二 apt-get update问题
出现了一点问题,按照网上的方法,将 /var/lib/apt/lists下的文件移到别的地方,然后 apt-get update,就出现了错误。具体是名叫 lunchpad 之类的一个PPA 错误, NODATA 2
找了很多资料都没解决。
最终发现是 /tmp 的问题,这个目录满了,容量是5MB。
从这里发现的:http://stackoverflow.com/questions/25388620/debian-apt-error-the-following-signatures-were-invalid-nodata-1-nodata-2
总结,以前cassandra有个问题,也是tmp的问题,也是容量太小。
apt-get update 问题 及gcc高亮
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。