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
相关推荐
大哥_ZH2 分钟前
Linux umami在国产麒麟系统安装网站统计工具(只能上国内网站的系统)
linux·服务器
o(╥﹏╥)18 分钟前
在 Ubuntu 上安装 VS Code
linux·运维·vscode·ubuntu·vs
AI慧聚堂43 分钟前
自动化 + 人工智能:投标行业的未来是什么样的?
运维·人工智能·自动化
不爱学英文的码字机器1 小时前
[Linux] Shell 命令及运行原理
linux·运维·服务器
cdut_suye1 小时前
Linux工具使用指南:从apt管理、gcc编译到makefile构建与gdb调试
java·linux·运维·服务器·c++·人工智能·python
qq_433618441 小时前
shell 编程(三)
linux·运维·服务器
苹果醋31 小时前
2020重新出发,MySql基础,MySql表数据操作
java·运维·spring boot·mysql·nginx
两张不够花1 小时前
Jenkins 持续集成部署
运维·jenkins
Tlzns1 小时前
Linux网络——UDP的运用
linux·网络·udp
码农土豆1 小时前
PaddlePaddle飞桨Linux系统Docker版安装
linux·docker·paddlepaddle