运行apt-get update出现
Some index files failed to download. They have been ignored, or old ones used instead
所使用的源镜像地址被墙掉了,换个国内的镜像地址
修改 /etc/apt/sources.list中的
cn.archive.ubuntu.com换成mirrors.aliyun.com
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty main
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-updates main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-updates main
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty universe
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-updates universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-updates universe
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-security main
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-security main
deb http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-security universe
deb-src http://mirrors.cloud.aliyuncs.com/ubuntu/ trusty-security universe