111 字
1 分钟
Ubuntu 中 apt 相关问题
2024-04-27

问题列表#

  1. W: GPG error: https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 871920D1991BC93C

解决方法:添加公钥

解决清华源问题(GPG errorthe public key is not available)\CSDN 博客


  1. E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation

解决方法:安装 gnupg 库

sudo apt install gnupg

  1. E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

解决方法:修复破损包

apt --fix-broken install
apt-get install aptitude
sudo aptitude install <packagename>
Ubuntu 中 apt 相关问题
https://blog.hzau.top/posts/tools/ubuntu/problem/apt_problem/
作者
Dawn Journey
发布于
2024-04-27
许可协议
CC BY-NC-SA 4.0