我必须为大学的一个项目安装 Caffe。我是 Ubuntu 新手,我正在使用它,因为我根本无法在 Windows 上构建 Caffe。
我曾尝试按照原文教程。如果我运行sudo apt install caffe-cuda
,我会得到错误Unable to locate package caffe-cuda
。我理解,基于这,此包仅在 18.04 存储库中可用。如果我理解正确的话,有一个简单的方式获取这些包,但不幸的是,在我运行之后sudo apt update
,会出现一堆错误,比如
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-security InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic-updates InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu bionic-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32
E: The repository 'http://archive.ubuntu.com/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu hirsute Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
如果我跑apt-cache search caffe
,caffe-cuda
就不在那里。
现在,我想到的唯一解决方案是手动安装每个包裹及其依赖项,但由于每个依赖项都有依赖项等等,所以我希望有一种更简单的方法。
我问你:我是不是漏掉了什么?我做错了什么?为什么我无法干净地获取 18.04 软件包?