linux mint 更换国内源
用了linux mint一阵子,发现更新软件相当慢,有时候甚至不成功。于是想替换一下国内的软件源。
一、sudo pluma 打开/etc/apt/sources.list发现,其自带源列表如下
debhttp://packages.linuxmint.com/ nadia main upstreamimport
debhttp://archive.ubuntu.com/ubuntu/ quantal main restricted universemultiverse
debhttp://archive.ubuntu.com/ubuntu/ quantal-updates main restricteduniverse multiverse
debhttp://security.ubuntu.com/ubuntu/ quantal-security main restricteduniverse multiverse
debhttp://archive.canonical.com/ubuntu/ quantal partner
debhttp://packages.medibuntu.org/ quantal free non-free
# debhttp://archive.getdeb.net/ubuntu quantal-getdeb apps
# debhttp://archive.getdeb.net/ubuntu quantal-getdeb games
发现是用的ubuntu的源。
二、国内比较快的ubuntu的源有网易163,找到别人测试过的比较快的163源列表替换之。为保险起见,备份原来的sources.list到桌面。
debftp://mirrors.ustc.edu.cn/linuxmint/ maya main upstreamimport
debhttp://mirrors.163.com/ubuntu/ precise main restricted universemultiverse
debhttp://mirrors.163.com/ubuntu/ precise-updates main restricteduniverse multiverse
debhttp://mirrors.163.com/ubuntu/ precise-security main restricteduniverse multiverse
debhttp://archive.canonical.com/ubuntu/ precisepartner
debhttp://packages.medibuntu.org/ precise freenon-free
(http://marxistprogrammer.blog.163.com/blog/static/47198981201251611465698/)
由于出现了
E:无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系
http://blog.csdn.net/hongjinlongno1/article/details/9045079现在换成中科大的源了,
debhttp://mirrors.ustc.edu.cn/ubuntu/ quantal main restricted universemultiverse
debhttp://mirrors.ustc.edu.cn/ubuntu/ quantal-security main restricteduniverse multiverse
debhttp://mirrors.ustc.edu.cn/ubuntu/ quantal-updates main restricteduniverse multiverse
debhttp://mirrors.ustc.edu.cn/ubuntu/ quantal-proposed main restricteduniverse multiverse
debhttp://mirrors.ustc.edu.cn/ubuntu/ quantal-backports mainrestricted universe multiverse
deb-srchttp://mirrors.ustc.edu.cn/ubuntu/ quantal main restricted universemultiverse
deb-srchttp://mirrors.ustc.edu.cn/ubuntu/ quantal-security main restricteduniverse multiverse
deb-srchttp://mirrors.ustc.edu.cn/ubuntu/ quantal-updates main restricteduniverse multiverse
deb-srchttp://mirrors.ustc.edu.cn/ubuntu/ quantal-proposed main restricteduniverse multiverse
deb-srchttp://mirrors.ustc.edu.cn/ubuntu/ quantal-backports mainrestricted universe multiverse
暂时良好
三、最后在终端 sudo apt-getupdate更新一下就好了。