概述
安装 Ubuntu 12.10 时默认的源都停止了更新,需要使用新的源进行更新
以下以阿里源为例:
复制备份sources.list.bak
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
打开sources.list
sudo vi /etc/apt/sources.list
删除里面的全部内容,替换为以下:
deb http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ trusty-backports main restricted universe multiverse
然后保存退出
然后尽可以进行正常更新及下载软件了
sudo apt-get update
sudo apt-get upgrede
最后
以上就是要减肥手套为你收集整理的linux Ubuntu 12.10更新源的全部内容,希望文章能够帮你解决linux Ubuntu 12.10更新源所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复