尝试通过 Linux Beta 版让 Juypter Notebook 在我的 chrome book 上运行

尝试通过 Linux Beta 版让 Juypter Notebook 在我的 chrome book 上运行

因此,我正在尝试让 Jupyter Notebook 在我的 Chromebook 上工作。我正在使用本指南 https://www.codecademy.com/articles/jupyter-notebook-chromebook 每次我输入这个代码

sudo apt install build-essential libssl-dev libffi-dev python3-dev libhdf5-dev

我明白了

Err:1 https://deb.debian.org/debian buster/main amd64 linux-libc-dev amd64 4.19.181-1
  404  Not Found [IP: 2a04:4e42:1::644 443]
Err:2 https://deb.debian.org/debian-security buster/updates/main amd64 libssl-dev amd64 1.1.1d-0+deb10u6
  404  Not Found [IP: 2a04:4e42:1::644 443]
E: Failed to fetch https://deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_4.19.181-1_amd64.deb  404  Not Found [IP: 2a04:4e42:1::644 443]
E: Failed to fetch https://deb.debian.org/debian-security/pool/updates/main/o/openssl/libssl-dev_1.1.1d-0+deb10u6_amd64.deb  404  Not Found [IP: 2a04:4e42:1::644 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

我确实下载了 libffi_3.4.2-1ubuntu5.debian.tar.xz 来修复它,并将其放入我的 Linux 文件中,但它只起到了一点作用。

好的,我尝试sudo apt-get update但它返回

N: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.11'
E: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'https://deb.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details

所以我试图找出解决办法,但我研究的所有东西都毫无意义。

答案1

这看起来 apt 拒绝更新。您收到 404 错误是因为您尝试安装的特定软件包版本不再托管。

通常只需输入即可解决此问题apt-get update,但在您的情况下 apt 拒绝执行此操作,因为存储库已更改其名称。

您应该能够通过以下方式解决此问题:

apt-get --allow-releaseinfo-change update

相关内容