我刚从20.04升级到22.04。我不确定这是否顺利,因为当我现在尝试运行sudo apt update --fix-missing && sudo apt upgrade --fix-missing时,无法从ubuntu档案中检索到一个包的子集,从而导致整个升级失败:
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/libr/libreoffice/libreoffice-core_7.3.5-0ubuntu0.22.04.1_amd64.deb Connection failed [IP: 185.125.190.39 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/p/python2.7/libpython2.7-stdlib_2.7.18-13ubuntu1.1_amd64.deb Connection failed [IP: 91.189.91.39 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/t/texlive-bin/texlive-binaries_2021.20210626.59705-1build1_amd64.deb Connection failed [IP: 185.125.190.36 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/d/dvisvgm/dvisvgm_2.13.1-1_amd64.deb Connection failed [IP: 185.125.190.36 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/m/mysql-8.0/libmysqlclient21_8.0.30-0ubuntu0.22.04.1_i386.deb Connection failed [IP: 185.125.190.39 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/m/mysql-8.0/libmysqlclient21_8.0.30-0ubuntu0.22.04.1_amd64.deb Connection failed [IP: 91.189.91.39 80]当我在浏览器中访问存档网站并单击那些apt无法获取的特定包版本时,下载也会失败,但是任何其他包版本都可以下载。我尝试使用主服务器和其他几个镜像,而不是本地(GB)服务器。这个问题已经持续了几天,这意味着不仅这些包的升级失败了,而且所有的升级都被阻止了。我怎么解决这个问题?
发布于 2022-09-01 10:11:54
通过使用另一个网络来升级这六个有问题的包,我解决了这个问题。一旦这些软件包升级,我就回到原来的网络上,并能够正常地执行所有其他升级。然而,我从未找到这个问题的确切原因。
https://askubuntu.com/questions/1425596
复制相似问题