在Ubuntu上安装CUDA时,我在终端中运行了以下命令:
sudo sh -c 'echo "foreign-architecture armhf" >> /etc/dpkg/dpkg.cfg.d/multiarch'
命令失败,当我这样做时sudo apt-get update,它给了我一大堆failed to fetch错误.然而,我的CUDA安装成功了.如何将其还原,以便在更新时不会出现错误?
sudo apt-get update
failed to fetch
linux cuda ubuntu-12.04
cuda ×1
linux ×1
ubuntu-12.04 ×1