美文网首页
Linux Mint Debian更新源问题

Linux Mint Debian更新源问题

作者: sladeliu | 来源:发表于2017-10-13 13:07 被阅读0次

今天装了Linux Mint Debian发行版,安装后换了163的squeeze源,发现好多软件包在安装时会报错“破损的安装包”,说我的系统是unstable的,而且sudo apt-get upgrade竟然只下载了几兆的东西,这太奇怪了,之前都是下载几百兆的啊。

到官网看文档才知道Mint的Debian是基于testing的,可是163的说明里也说了源是包括testing的,怎么会不行呢?经过摸索才发现,只要把里面的squeeze换成testing的源(wheezy源)就可以了:

deb http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main contrib non-free

deb http://mirrors.163.com/debian-security wheezy/updates main contrib non-free 
deb-src http://mirrors.163.com/debian-security wheezy/updates main contrib non-free

deb http://http.us.debian.org/debian wheezy main contrib non-free
deb http://non-us.debian.org/debian-non-US wheezy/non-US main contrib non-free
deb http://security.debian.org wheezy/updates main contrib non-free

现在再试试:

sudo apt-get update
sudo apt-get upgrade

哈哈,这就对了。再试试之前不支持的包:
OK,也支持了!

相关文章

网友评论

      本文标题:Linux Mint Debian更新源问题

      本文链接:https://www.haomeiwen.com/subject/pydzyxtx.html