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
相关推荐
做个文艺程序员4 小时前
Linux第11篇:存储管理——磁盘分区、LVM 与文件系统
linux·运维·服务器
懂AI的老郑4 小时前
工业检测场景下智能体的应用:从自动化到智能化
运维·自动化
AI视觉网奇4 小时前
BambuStudio 自定义加载页面
服务器·前端·javascript
天空'之城4 小时前
Linux 系统编程 14:Reactor 反应堆模式
linux·开发语言·网络编程·reactor 反应堆模式
法号:行颠4 小时前
《Linux内核源码全景解读:从上电到用户态》之 目录
linux
运维大师4 小时前
【云原生与DevOps】08-多云容灾架构设计:跨Region自动切换实践
运维·云原生·devops
一氧化二氢.h4 小时前
AI大模型批量自动化评测脚本
运维·人工智能·自动化
是枚小菜鸡儿吖4 小时前
服务器出问题别等用户反馈:用Python和钉钉搭一套轻量告警系统
服务器·python·钉钉
mounter6256 小时前
深入解析 RDMA 中的 Address Handler (AH) 缓存:AWS EFA 驱动的硬件演进与软件复用艺术
linux·kernel·rdma·hashtable·hash table·address handle
jarreyer12 小时前
【AI Agent】大模型自动化载体
运维·自动化