无法从存储库下载
无论我尝试在终端中运行apt update
它都不起作用,我只是得到这个消息。
sudo apt-get update Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB] Hit:2 http://ppa.launchpad.net/linrunner/tlp/ubuntu bionic InRelease Ign:3 http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu bionic InRelease Err:4 http://ppa.launchpad.net/upubuntu-com/gtk3/ubuntu bionic Release 404 Not Found [IP: 91.189.95.83 80] Err:5 http://ba.archive.ubuntu.com/ubuntu bionic InRelease Could not connect to ba.archive.ubuntu.com:80 (80.65.85.94), connection timed out Err:6 http://ba.archive.ubuntu.com/ubuntu bionic-updates InRelease Could not connect to ba.archive.ubuntu.com:80 (80.65.85.94), connection timed out
有人可以帮我解决这个问题吗? 我是新用户,所以我真的不知道自己在做什么。
由于某种原因, ba.archive.ubuntu.com
现在已经关闭,因此apt-get update
无法从那里获取包列表。 现在尝试通过在软件和更新中更改镜像或运行以下命令来切换到主存储库:
sudo sed -is/ba.archive/archive/g /etc/apt/sources.list && sudo apt-get update
这将替换/etc/apt/sources.list
中ba.archive
所有实例,以便apt使用主存档( http://archive.ubuntu.com )从