0%

sudo apt-get update 报错:"Err6 mirrors.tuna.tsinghua.edu.cn/ubuntu eoan Release 404 Not Found [IP 101.6.8.193 443]"

今天在 node24 安装 streamlink 时安装不上,提示添加 –fix-missing 加上还是不行,想着是不是因为太久没更新的缘故试了下 update:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
tian@node24 ~/D> sau
Ign:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan InRelease
Ign:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-updates InRelease
Ign:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-backports InRelease
Ign:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-security InRelease
Ign:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-proposed InRelease
Err:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan Release
404 Not Found [IP: 101.6.8.193 443]
Err:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-updates Release
404 Not Found [IP: 101.6.8.193 443]
Err:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-backports Release
404 Not Found [IP: 101.6.8.193 443]
Err:9 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-security Release
404 Not Found [IP: 101.6.8.193 443]
Err:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-proposed Release
404 Not Found [IP: 101.6.8.193 443]
Hit:11 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:13 http://dk.archive.ubuntu.com/ubuntu xenial InRelease
Ign:12 http://www.analizo.org/download ./ InRelease
Get:14 http://www.analizo.org/download ./ Release [2,740 B]
Reading package lists... Done
E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan Release' no longer has 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-updates Release' no longer has 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-backports Release' no longer has 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-security Release' no longer has 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu eoan-proposed Release' no longer has 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.

开始直接想着是源坏掉了于是换成了阿里源,结果还是不行,于是搜这个错误,搜到 CSDN 这个博客:https://blog.csdn.net/jh_luchi/article/details/102812031

按照他的方法果然解决了:

1.在官网源 https://mirrors.ustc.edu.cn/repogen/ 下载对应版本最新的源

虽然 19.10 提示说已经过期,但我还是直接复制粘贴到 /etc/apt/sources.list

1
2
3
4
5
6
7
8
9
10
11
deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-security main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-security main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-updates main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-updates main restricted universe multiverse

deb https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-backports main restricted universe multiverse
deb-src https://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ eoan-backports main restricted universe multiverse

编辑完保存,update 没报错,继续安装也是没问题,好耶!

Welcome to my other publishing channels