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
相关推荐
代码中介商5 分钟前
Linux TCP 协议深度解析:从状态机到拥塞控制
linux·网络·tcp/ip
林熙蕾LXL7 分钟前
系统调用&文件描述
linux·运维·服务器
落羽的落羽11 分钟前
【网络】TCP与UDP协议使用指南,Socket编程实现Echo服务
linux·服务器·网络·c++·网络协议·tcp/ip·机器学习
草莓熊Lotso36 分钟前
LangChain从入门到精通:环境搭建→核心能力→LCEL链式编程全实战
android·java·linux·服务器·langchain
eastyuxiao9 小时前
思维导图拆解项目范围 3 个真实落地案例
大数据·运维·人工智能·流程图
GanGanGanGan_9 小时前
RustDesk 安装指南 — Rocky Linux 9 + XFCE X11
linux·运维·centos
风落无尘9 小时前
《智能重生:从垃圾堆到AI工程师》——第五章 代码与灵魂
服务器·网络·人工智能
南境十里·墨染春水13 小时前
linux学习笔记 网络编程——Socket入门与TCP客户端/服务器实现
linux·服务器·网络
Sirens.13 小时前
twikoo:从MongoDB Atlas到本地部署
运维·服务器
Meya112714 小时前
别再人工硬扛机房管理!智能 U 位系统,让机房管理一键数字化
大数据·运维