Linux Mint 18.1 升级到18.3 问题总结

apt-get update fail

     如果发现一下问题 "E: Failed to fetch http://xxx/binary-armhf/Packages  404  Not Found"
可能的问题原因为:
参考:https://askubuntu.com/questions/705895/how-to-fix-a-failed-to-fetch-binary-armhf-packages-error-during-apt-get-update

You might install the armhf cross tools which add armhf as foreign architecture (your architecture maybe i386 or amd64). You can launch this command to verify:

dpkg --print-foreign-architectures
If the output includes armhf, you can simply remove it by running the command:

sudo dpkg --remove-architecture armhf
Finally, launch your sudo apt-get update again.

安装包时,依赖包版本不存在

一般这种问题更换相应的软件源或者时下载相应的包安装就行.我遇到的这种情况比较特殊,就是安装时,该包在软件源里面时存在的,但是对应的版本不存在,所以安装时能找到包,但是下载时,就是404,如下图:


如途中黄色的部分,安装时不报依赖的不存在,下载包时404.
遇到这种问题,只能找到相应的源,替换掉添加进去才行,把包下载下来本地安装都不行.
这个问题最后解决方案:

#security.ubuntu.com里面没有gir1.2-javascriptcoregtk-4.0 的2.16版本
#deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
#mirror.combahton.net里面包含gir1.2-javascriptcoregtk-4.0 的2.16版本,替换掉默认的源
deb http://mirror.combahton.net/ubuntu/ xenial-security main restricted universe multiverse

 

转载于:https://my.oschina.net/u/929672/blog/1812395

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值