我无法通过 debian 9 模板虚拟机更新或安装任何内容。如果我有本地 .deb,那么我可以在 AppVM 上安装并运行它。如何解决以下问题?
sudo apt update --fix-missing
Ign:1 https://deb.debian.org/debian stretch InRelease
Ign:2 https://security.debian.org stretch/updates InRelease
Err:3 https://security.debian.org stretch/updates Release
Bad header line
Err:4 https://deb.debian.org/debian stretch Release
Bad header line
Ign:5 http://deb.qubes-os.org/r4.0/vm stretch InRelease
Err:6 http://deb.qubes-os.org/r4.0/vm stretch Release
Connection failed
Ign:7 http://packages.microsoft.com/repos/vscode stable InRelease
Err:8 http://packages.microsoft.com/repos/vscode stable Release
Connection failed
Reading package lists... Done
E: The repository 'https://security.debian.org stretch/updates Release' does no longer 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.
E: The repository 'https://deb.debian.org/debian stretch Release' does no longer 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.
E: The repository 'http://deb.qubes-os.org/r4.0/vm stretch Release' does no longer 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.
E: The repository 'http://packages.microsoft.com/repos/vscode stable 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.
答案1
检查您的 resources.list 文件中是否有正确的存储库 URL,如下所述:https://wiki.debian.org/SourcesList