sudo apt update 失败,显示“E:方法 http 意外终止!E:子进程 http 收到信号 7”

sudo apt update 失败,显示“E:方法 http 意外终止!E:子进程 http 收到信号 7”

我最近升级到了 Ubuntu 22.04,并且运行了sudo apt update和,upgrade并且都成功了。重启后,当我尝试运行 apt update 时,出现了以下错误:

Reading package lists... Done
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received signal 7.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method https has died unexpectedly!
E: Sub-process https received signal 7.
E: Method /usr/lib/apt/methods/https did not start correctly
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy/InRelease  
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  
E: Failed to fetch http://in.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  
E: Failed to fetch https://dl.google.com/linux/chrome/deb/dists/stable/InRelease  
E: Some index files failed to download. They have been ignored, or old ones used instead.

我查看了其他问答,但它们并不完全相同。例如,我可以找到答案,Sub-process http received signal 4但对于我的错误情况Sub-process http received signal 7

任何帮助都将受到赞赏。

相关内容