Ubuntu apt install 一直去抓 armhf package

[Ubuntu 20.04]
apt update 時一直會出現去抓 armhf 的包,但 /etc/apt/sources.list 中已無指定 armhf 了。

執行 dpkg --print-foreign-architectures 看看輸出,在我的系統下是:

i386
armhf

所以其實我先前不知怎的加了 armhf 架構了。刪除方式是:

sudo dpkg --force-architecture --remove-architecture armhf

參考資料:https://askubuntu.com/questions/543722/apt-get-searching-for-binary-armhf-with-intel-i7-cpu

留言

熱門文章