无法获取 linux-headers-hwe

无法获取 linux-headers-hwe

我不明白为什么我不能sudo apt-get upgrade

我收到此错误:

Get:198 http://security.ubuntu.com/ubuntu focal-security/main amd64 libreoffice-pdfimport all 1:6.4.7-0ubuntu0.20.04.6 [6,344 B]                                                                          
Ign:185 http://security.ubuntu.com/ubuntu focal-security/main amd64 linux-hwe-5.15-headers-5.15.0-58 all 5.15.0-58.64~20.04.1                                                                             
Ign:185 http://archive.ubuntu.com/ubuntu focal-security/main amd64 linux-hwe-5.15-headers-5.15.0-58 all 5.15.0-58.64~20.04.1
Err:185 http://archive.ubuntu.com/ubuntu focal-security/main amd64 linux-hwe-5.15-headers-5.15.0-58 all 5.15.0-58.64~20.04.1
  Connection failed [IP: 185.125.190.39 80]
Fetched 509 MB in 7min 21s (1,155 kB/s)
W: http://archive.ubuntu.com/ubuntu/pool/main/s/systemd/libudev1_245.4-4ubuntu3.19_amd64.deb: Automatically disabled Acquire::http::Pipeline-Depth due to incorrect response from server/proxy. (man 5 apt.conf)
W: http://security.ubuntu.com/ubuntu/pool/main/p/perl/perl_5.30.0-9ubuntu0.3_amd64.deb: Automatically disabled Acquire::http::Pipeline-Depth due to incorrect response from server/proxy. (man 5 apt.conf)
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-5.15/linux-hwe-5.15-headers-5.15.0-58_5.15.0-58.64~20.04.1_all.deb  Connection failed [IP: 185.125.190.39 80]

我找不到任何解决方案。我尝试过两次重新安装 Ubuntu 20.04LTS(它是虚拟机)。我尝试过 apt clean,我更改了 sources.list...

这里是我的 /etc/apt 中的 sources.list:

deb http://archive.ubuntu.com/ubuntu focal main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu/ focal-security main multiverse universe restricted
deb http://archive.ubuntu.com/ubuntu focal-updates main multiverse universe restricted

你有什么想法?

答案1

您的网络连接有问题。

为此,请在另一个窗口中运行此命令:

ping archive.ubuntu.com

使用稳定的互联网连接它就会起作用。

相关内容