Ubuntu 问题记录,持续更新中

71 阅读1分钟
  1. 更新软件提示以下错误
无法下载 http://us.mirrors.ustc.edu.cn/ubuntu/dists/jammy/InRelease 连接失败 [IP: 202.141.160.110 80

遇到该问题是更新从该地址 连接失败,若在/etc/apt/sources.list 中有配置该地址的,注释掉即可,然后更新设置中切换到 国内的镜像地址 即可

  1. 更新软件 提示以下错误 “由于没有公钥,无法验证下列签名: NO_PUBKEY 4EB27DB2A3B88B8B”
W: https://www.charlesproxy.com/packages/apt/dists/charles-proxy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: GPG 错误:https://storage.googleapis.com/download.dartlang.org/linux/debian stable Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 4EB27DB2A3B88B8B
E: 仓库 “https://storage.googleapis.com/download.dartlang.org/linux/debian stable Release” 没有数字签名。

W: https://www.charlesproxy.com/packages/apt/dists/charles-proxy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: http://pkg.jenkins.io/debian-stable/binary/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
E: 仓库 “https://ppa.launchpadcontent.net/fcitx-team/nightly/ubuntu jammy Release” 没有 Release 文件。

解决: 打开/etc/apt/sources.list.d/目录,删除 对应文件 sudo rm charles.list ,再进行更新