嵌入式爱好者

查看: 135|回复: 3

[Linux] apt-get update遇到问题

[复制链接]

1

主题

3

帖子

6

积分

扫一扫,手机访问本帖
发表于 7 天前 | 显示全部楼层 |阅读模式
请问各位大佬,我在用串口调试板子的时候,想使用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/148f017843d4120854368c6bfbcfbb008f0f8f5f1eef1b5eb77f55855da97979  Hash Sum mismatch
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.81 80]
E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.81 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
请问该如何解决呢?

回复

使用道具 举报

2

主题

27

帖子

450

积分

RK3568通行证i.MX RT通行证AM62x资料下载

发表于 7 天前 | 显示全部楼层
不是跟你說沒有GPG key嗎? 先補上
看看這篇
https://community.theforeman.org ... tu-repository/28138
点评回复 支持 1 反对 0

使用道具 举报

1

主题

3

帖子

6

积分

 楼主| 发表于 7 天前 | 显示全部楼层
无论是阿里云的源,还是清华源、中科大源,都会出现这样的错误信息。请求可用的source.list内容或者解决方案。
点评回复 支持 反对

使用道具 举报

1

主题

3

帖子

6

积分

 楼主| 发表于 7 天前 | 显示全部楼层
咨询技术客服,说开发板上自带的操作系统不支持通过apt-get install这样的方式安装应用?我觉得说得有点问题,,,求大佬解惑
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-15 02:08

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表