野火电子论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 16475|回复: 10

关于镜像源的问题

[复制链接]
发表于 2020-5-4 14:19:10 | 显示全部楼层 |阅读模式
由于update失败
Get:1 http://mirrors.aliyun.com/debian buster InRelease [122 kB]
Get:2 http://mirrors.aliyun.com/debian-security buster/updates InRelease [65.4 kB]
Get:3 http://mirrors.aliyun.com/debian buster-updates InRelease [49.3 kB]
Get:4 http://mirrors.aliyun.com/debian buster-backports InRelease [46.7 kB]
Err:1 http://mirrors.aliyun.com/debian buster InRelease
  Unknown error executing apt-key
Err:2 http://mirrors.aliyun.com/debian-security buster/updates InRelease
  Unknown error executing apt-key
Err:3 http://mirrors.aliyun.com/debian buster-updates InRelease
  Unknown error executing apt-key
Err:4 http://mirrors.aliyun.com/debian buster-backports InRelease
  Unknown error executing apt-key
Reading package lists... Done
W: GPG error: http://mirrors.aliyun.com/debian buster InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.aliyun.com/debian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.aliyun.com/debian-security buster/updates InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.aliyun.com/debian-security buster/updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.aliyun.com/debian buster-updates InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.aliyun.com/debian buster-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://mirrors.aliyun.com/debian buster-backports InRelease: Unknown error executing apt-key
E: The repository 'http://mirrors.aliyun.com/debian buster-backports InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


回复

使用道具 举报

 楼主| 发表于 2020-5-4 14:20:53 | 显示全部楼层
这个开发版就不能下载东西,sudo apt-get install xxx总是下载不了,那肯定是镜像源的问题了。原来的那个是buster版本。到底是不是呀。
怎么回事呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-4 14:32:35 | 显示全部楼层
我换了一个wheezy发行版本的,没有错误了。但是有其他问题。。。。

debian@npi:~$ sudo apt-get update -y
Ign:1 http://mirrors.aliyun.com/debian wheezy InRelease
Ign:2 http://mirrors.aliyun.com/debian wheezy-updates InRelease
Ign:3 http://mirrors.aliyun.com/debian-security wheezy/updates InRelease
Err:4 http://mirrors.aliyun.com/debian wheezy Release
  404  Not Found [IP: 125.74.34.240 80]
Err:5 http://mirrors.aliyun.com/debian wheezy-updates Release
  404  Not Found [IP: 125.74.34.240 80]
Err:6 http://mirrors.aliyun.com/debian-security wheezy/updates Release
  404  Not Found [IP: 125.74.34.240 80]
Reading package lists... Done
E: The repository 'http://mirrors.aliyun.com/debian wheezy Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.aliyun.com/debian wheezy-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'http://mirrors.aliyun.com/debian-security wheezy/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
回复 支持 反对

使用道具 举报

发表于 2020-5-4 16:14:30 | 显示全部楼层
默认的镜像源应该是http://mirrors.tuna.tsinghua.edu.cn/debian/这个吧,它有什么问题吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-4 18:44:15 | 显示全部楼层
耶耶宁 发表于 2020-5-4 16:14
默认的镜像源应该是http://mirrors.tuna.tsinghua.edu.cn/debian/这个吧,它有什么问题吗? ...

我不修改镜像源,也会报错enable 。。。
总之就是下载不了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-4 18:46:10 | 显示全部楼层
耶耶宁 发表于 2020-5-4 16:14
默认的镜像源应该是http://mirrors.tuna.tsinghua.edu.cn/debian/这个吧,它有什么问题吗? ...

你能正常下载吗?让我看看你的/etc/apt/source.list里的文件内容吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-6 16:26:53 | 显示全部楼层
链接:https://pan.baidu.com/s/1pji1U1vvgP8sl_TTZp59qg 提取码:b5wb
问了淘宝店家,还是用这个烧录,更新完以后,我会把镜像源发出来看看,下次有伙伴遇到就直接复制粘贴吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2020-5-6 17:22:25 | 显示全部楼层
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
e
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
#deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
e

#deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib nonn
-free
##deb-src http://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrii
b non-free

#deb http://deb.debian.org/debian-security buster/updates main contrib non-free
##deb-src http://deb.debian.org/debian-security buster/updates main contrib non--
free


deb [arch=armhf] https://wildfireteam.gitee.io/ buster main
#deb-src [arch=armhf] https://wildfireteam.gitee.io/ buster main

#Kernel source (repos.rcn-ee.com) : https://github.com/RobertCNelson/linux-stabll
e-rcn-ee
#
#git clone https://github.com/RobertCNelson/linux-stable-rcn-ee
#cd ./linux-stable-rcn-ee
#git checkout `uname -r` -b tmp
#
deb [arch=armhf] http://repos.rcn-ee.com/debian/ buster main
#deb-src [arch=armhf] http://repos.rcn-ee.com/debian/ buster main
现在可以下载了,不知道原来的旧镜像换这个有没有用,你们试吧
回复 支持 反对

使用道具 举报

发表于 2021-1-29 11:53:34 | 显示全部楼层
Pintitus1 发表于 2020-5-6 17:22
deb http://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
#deb-src http://mirrors ...

大佬想咨询一下大佬是怎么修改sources.list里面的东西,我直接root用vi去修改,但没效果
回复 支持 反对

使用道具 举报

发表于 2024-3-17 20:28:28 | 显示全部楼层
Pintitus1 发表于 2020-5-6 16:26
链接:https://pan.baidu.com/s/1pji1U1vvgP8sl_TTZp59qg 提取码:b5wb
问了淘宝店家,还是用这个烧录,更 ...

链接失效了,能重新发一下吗?
回复 支持 反对

使用道具 举报

发表于 2024-3-20 08:37:37 | 显示全部楼层
battleMan 发表于 2024-3-17 20:28
链接失效了,能重新发一下吗?

sudo apt install wget
wget https://Embedfire.github.io/keyfile
sudo apt-key add keyfile
sudo apt update
这样更新下密钥即可,不用换源
回复 支持 反对

使用道具 举报

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

本版积分规则

联系站长|手机版|野火电子官网|野火淘宝店铺|野火电子论坛 ( 粤ICP备14069197号 ) 大学生ARM嵌入式2群

GMT+8, 2024-4-19 23:12 , Processed in 0.044895 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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