• webqwe-资源分享和开发经验
AD
AD

Home / 服务器 / debian 安装curl报E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

debian 安装curl报E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

2023-12-18 21:42:17
275 阅读
#sudo apt install curl
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libcurl4
The following NEW packages will be installed:
  curl libcurl4
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 608 kB of archives.
After this operation, 1,188 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian bullseye/main amd64 libcurl4 amd64 7.74.0-1.3+b1
  404  Not Found [IP: 146.75.94.132 80]
Err:2 http://deb.debian.org/debian bullseye/main amd64 curl amd64 7.74.0-1.3+b1
  404  Not Found [IP: 146.75.94.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/libcurl4_7.74.0-1.3%2bb1_amd64.deb  404  Not Found [IP: 146.75.94.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/c/curl/curl_7.74.0-1.3%2bb1_amd64.deb  404  Not Found [IP: 146.75.94.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


解决办法:

sudo apt update


再次安装:

sudo apt install curl

已成功解决。上述对我有用的解决方法可能对你不起作用时。在这种情况下,我建议你按顺序运行以下命令来安装可能已卸载的所有丢失的软件包

sudo apt clean
sudo apt update
sudo apt install --fix-missing

还有,你可以简单地运行sudo apt update --fix-missing命令来安装缺少的更新。

sudo apt update --fix-missing




uuid怎么下载(免费) | 求资源
本站提供的一切软件、教程和内容信息仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。 本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑或手机中彻底删除上述内容。 如果您喜欢该程序,请支持正版,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。敬请谅解!
标签
author
pings

每天都在打酱油~

评论
登录后评论