ubuntu更新源报错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu更新源报错相关的知识,希望对你有一定的参考价值。
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/main/binary-amd64/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/restricted/binary-amd64/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/universe/binary-amd64/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/multiverse/binary-amd64/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/main/binary-i386/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/restricted/binary-i386/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/universe/binary-i386/Packages 404 Not Found [IP: 198.71.84.64 80]
W: Failed to fetch http://archive.ubuntu.org.cn/ubuntu-cn/dists/feisty/multiverse/binary-i386/Packages 404 Not Found [IP: 198.71.84.64 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
打开这个网址是404报错,我从国外源到国内源都有这个报错,求解决方法
你安装的Ubuntu,版本太古老了。从2008年10月开始就已经不受支持了。
Ubuntu的发行版代号是随着发行日期按照英文顺序排列的。
Feisty Fawn 2007.04 ~ 2008.10
Gutsy Gibbon 2007.10 ~2009.04
Hardy Heron 2008.04 ~ 2011.05
......
目前(2013.11),仍在支持周期中的版本是:
Lucid Lynx(服务器版) 2010.04 ~ 2015.04 LTS长期支持版本
Precise Pangolin 2012.04 ~ 2017.04 LTS长期支持版本
Quantal Quetzal 2012.10 ~ 2014.04
Raring Ringtail 2013.04 ~ 2014.01
Saucy Salamander 2013.10 ~ 2014.07
我最早使用的Ubuntu版本是Ubuntu 11.04 Natty Narwhal,我挺喜欢的,可惜2012年10月就过期了。
我这个人不喜欢频繁换系统, 所以目前使用Ubuntu 12.04的衍生版本Linux Mint 13,代号Maya。
感觉挺稳定的。 参考技术A 用国内的源,网易和新浪好像都有。我直接选的国内的,速度很快。 参考技术B http://www.cnblogs.com/xfiver/archive/2013/02/01/2889538.html
可以参考这里
ubuntu更新源报错Certificate verification failed: The certificate is NOT trusted.
今天更新ubuntu源总是报错
Ign:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease
Ign:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease
Ign:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease
Ign:4 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease
Err:5 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Err:8 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 101.6.15.130 443]
Reading package lists... Done
E: The repository 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports 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 'https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security 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.
最后参考网上大佬的方法,把软件源里的https改成http,成功解决。
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
# deb-src https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal-security main restricted universe multiverse
以上是关于ubuntu更新源报错的主要内容,如果未能解决你的问题,请参考以下文章