若是發現一下問題 "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-updatejavascript
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,以下圖:java
如途中黃色的部分,安裝時不報依賴的不存在,下載包時404.
遇到這種問題,只能找到相應的源,替換掉添加進去才行,把包下載下來本地安裝都不行.
這個問題最後解決方案:ubuntu
#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