Linux Mint Debian更新源问题

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

到官网看文档才知道MintDebian是基于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,也支持了!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值