apt-get install cmake, Unable to fetch some archives

apt-get install cmake, Unable to fetch some archives

bash 复制代码
wc@wc:~/Ne10 $ sudo apt-get install cmake
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  cmake-data libarchive13 libjsoncpp25 librhash0 libuv1
Suggested packages:
  cmake-doc cmake-format elpa-cmake-mode ninja-build lrzip
The following NEW packages will be installed:
  cmake cmake-data libarchive13 libjsoncpp25 librhash0 libuv1
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,482 kB of archives.
After this operation, 38.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://deb.debian.org/debian bookworm/main arm64 libarchive13 arm64 3.6.2-1
  404  Not Found [IP: 2a04:4e42:8c::644 80]
Get:2 http://deb.debian.org/debian bookworm/main arm64 libjsoncpp25 arm64 1.9.5-4 [72.3 kB]
Get:3 http://deb.debian.org/debian bookworm/main arm64 librhash0 arm64 1.4.3-3 [131 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security/main arm64 libuv1 arm64 1.44.2-1+deb12u1 [130 kB]
Get:5 http://deb.debian.org/debian bookworm/main arm64 cmake-data all 3.25.1-1 [2,026 kB]
Get:6 http://deb.debian.org/debian bookworm/main arm64 cmake arm64 3.25.1-1 [6,806 kB]
Fetched 9,166 kB in 3min 19s (46.0 kB/s)
E: Failed to fetch http://deb.debian.org/debian/pool/main/liba/libarchive/libarchive13_3.6.2-1_arm64.deb  404  Not Found [IP: 2a04:4e42:8c::644 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Err:1 http://deb.debian.org/debian bookworm/main arm64 libarchive13 arm64 3.6.2-1

404 Not Found [IP: 2a04:4e42:8c::644 80]

E: Failed to fetch http://deb.debian.org/debian/pool/main/liba/libarchive/libarchive13_3.6.2-1_arm64.deb 404 Not Found [IP: 2a04:4e42:8c::644 80]

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

这个通常是软件包在指定的源中不存在/版本不匹配导致的。可以用以下命令来更新软件包列表/修复缺失的软件包

bash 复制代码
sudo apt-get update
sudo apt-get install --fix-missing
相关推荐
hweiyu007 分钟前
Linux 命令:scp
linux·运维·服务器
cpsvps18 分钟前
容器内部DNS解析针对美国服务器微服务的调试指南
运维·服务器·微服务
特种加菲猫18 分钟前
Linux之线程池
linux·笔记
8K超高清30 分钟前
汇世界迎全运 广州国际社区运动嘉年华举行,BOSMA博冠现场展示并分享与科技全运的故事
运维·服务器·网络·数据库·人工智能·科技
若水不如远方1 小时前
深入理解 Linux I/O 多路复用:从 select 到 epoll演进之路
linux·后端
郁大锤1 小时前
Docker 中删除镜像与容器的完整指南
运维·docker·容器
RrEeSsEeTt1 小时前
【HackTheBox】- Eureka 靶机学习
linux·网络安全·渗透测试·kali·hackthebox
有一只柴犬1 小时前
Cubic 5分钟定制专属Ubuntu
linux·ubuntu
yy_xzz2 小时前
Debian开发板TQ3658设置日期和时间显示 配置无法装入 发生未知的错误
运维·debian
jiunian_cn2 小时前
【Linux网络】TCP协议
linux·网络·tcp/ip