我是靠谱客的博主 要减肥手套,这篇文章主要介绍linux Ubuntu 12.10更新源,现在分享给大家,希望可以做个参考。

安装 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内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(45)

评论列表共有 0 条评论

立即
投稿
返回
顶部