安装 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内容请搜索靠谱客的其他文章。
发表评论 取消回复