Linux
試圖讓 Juypter Notebook 通過 Linux 測試版在我的 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
所以我試圖想辦法繞過它,但我研究的所有東西都毫無意義。
這看起來像 apt 拒絕更新。您收到 404 錯誤,因為您嘗試安裝的特定軟體包版本不再託管。
這通常可以通過簡單地鍵入來解決,
apt-get update
但在您的情況下 apt 拒絕這樣做,因為儲存庫已更改其名稱。您應該可以通過以下方式解決此問題:
apt-get --allow-releaseinfo-change update