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
相关推荐
炫友呀27 分钟前
Centos 更新/修改宝塔版本
linux·运维·centos
闻道且行之29 分钟前
嵌入式|VNC实现开发板远程Debian桌面
运维·debian·嵌入式
向日葵.1 小时前
fastdds.ignore_local_endpoints 属性
服务器·网络·php
IT成长日记2 小时前
【自动化运维神器Ansible】Playbook中的when条件判断:精细化控制任务执行
运维·自动化·ansible·playbook·when·条件判断
昵称为空C3 小时前
SpringBoot接口限流的常用方案
服务器·spring boot
Peter_Deng.4 小时前
Linux 下基于 TCP 的 C 语言客户端/服务器通信详解(三个示例逐步进阶)
服务器·c语言·网络
花小璇学linux4 小时前
imx6ull-驱动开发篇24——Linux 中断API函数
linux·驱动开发·嵌入式软件
林开落L5 小时前
库制作与原理(下)
linux·开发语言·centos·库制作与原理
wxy3195 小时前
嵌入式LINUX——————TCP并发服务器
java·linux·网络
Castamere5 小时前
配置 Linux 终端 (zsh)
linux