Ubuntu 19.04
这已经发生了一段时间。每当我运行 apt-get update 或 install 时,什么都不会起作用。
sudo apt-get update
Err:1 http://ca.old-releases.ubuntu.com/ubuntu disco InRelease
Could not resolve 'ca.old-releases.ubuntu.com'
Err:2 http://ca.old-releases.ubuntu.com/ubuntu disco-updates InRelease
Could not resolve 'ca.old-releases.ubuntu.com'
Err:3 http://ca.old-releases.ubuntu.com/ubuntu disco-backports InRelease
Could not resolve 'ca.old-releases.ubuntu.com'
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:5 https://dl.yarnpkg.com/debian stable InRelease
Hit:6 https://download.docker.com/linux/ubuntu disco InRelease
Hit:7 http://ppa.launchpad.net/ondrej/php/ubuntu disco InRelease
Hit:8 http://old-releases.ubuntu.com/ubuntu disco-security InRelease
Reading package lists... Done
W: Failed to fetch http://ca.old-releases.ubuntu.com/ubuntu/dists/disco/InRelease Could not resolve 'ca.old-releases.ubuntu.com'
W: Failed to fetch http://ca.old-releases.ubuntu.com/ubuntu/dists/disco-updates/InRelease Could not resolve 'ca.old-releases.ubuntu.com'
W: Failed to fetch http://ca.old-releases.ubuntu.com/ubuntu/dists/disco-backports/InRelease Could not resolve 'ca.old-releases.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
我一直在努力寻找答案,但没有任何效果。我相信我需要更新 Ubuntu,但是每当我尝试更新软件中心之类的东西时,它都找不到任何东西。
当我尝试打开软件更新程序时,它只是说它无法下载存储库信息。
我可以更新我的发行版,但我不知道该怎么做。我有备份所以这不是太担心。
自从我得到 ubuntu 后,我就知道我收到了关于找不到包的通知。但是我一直在尝试设置 glfw 并且在 ubuntu 包上精确命中的包出现为未找到。
这里需要做什么?谢谢你。
我认为旧版本没有本地国家/地区镜像,您可以尝试使用主镜像。
您应该升级到受支持的版本,目前是 Ubuntu 19.10,以及最新的 20.04 LTS。