keanu585 发表于 2024-11-8 18:14:26

apt-get update遇到问题

请问各位大佬,我在用串口调试板子的时候,想使用apt-get install安装一些应用,但是我更改source.list进行换源后,sudo apt-get update一直出问题(确定了不是source源的问题)。完整的错误信息如下:
W: GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: Unknown error executing apt-key
W: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: Unknown error executing apt-key
W: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://archive.ubuntu.com/ubuntu focal-security InRelease: Unknown error executing apt-key
W: The repository 'http://archive.ubuntu.com/ubuntu focal-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/main/i18n/by-hash/SHA256/148f017843d4120854368c6bfbcfbb008f0f8f5f1eef1b5eb77f55855da97979Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-arm64/Packages404Not Found
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/main/binary-arm64/Packages404Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
请问该如何解决呢?

kunyi 发表于 2024-11-8 19:45:42

不是跟你說沒有GPG key嗎? 先補上
看看這篇
https://community.theforeman.org/t/getting-gpg-key-for-ubuntu-repository/28138

keanu585 发表于 2024-11-8 18:15:50

无论是阿里云的源,还是清华源、中科大源,都会出现这样的错误信息。请求可用的source.list内容或者解决方案。

keanu585 发表于 2024-11-8 18:22:07

咨询技术客服,说开发板上自带的操作系统不支持通过apt-get install这样的方式安装应用?我觉得说得有点问题,,,求大佬解惑
页: [1]
查看完整版本: apt-get update遇到问题