【ubuntu21.04问题】关于404 Not Found [IP: 185.125.190.39 80]的解决办法

这篇具有很好参考价值的文章主要介绍了【ubuntu21.04问题】关于404 Not Found [IP: 185.125.190.39 80]的解决办法。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

简要

卸载不维护的ubuntu21.04,重装 ubuntu LTS 版本(如20.04.4),再换相应源,即可解决。

问题背景

做项目时文档要求ubuntu21.04版本,按照文档要求换了相应的ubuntu版本,换源也按照要求来,但是每次 apt-get update 的时候,还是失败,提示404 Not Found [IP: 185.125.190.39 80]。

xxx@xxx:~$ sudo bash -c 'echo "deb http://mirrors.ustc.edu.cn/ubuntu-old-releases/ubuntu/ hirsute main restricted universe multiverse" > /etc/apt/source.list'
xxx@xxx:~$ sudo apt-get update
Ign:1 http://cn.archive.ubuntu.com/ubuntu hirsute InRelease
Ign:2 http://cn.archive.ubuntu.com/ubuntu hirsute-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu hirsute-security InRelease
Ign:4 http://cn.archive.ubuntu.com/ubuntu hirsute-backports InRelease
Err:5 http://security.ubuntu.com/ubuntu hirsute-security Release
  404  Not Found [IP: 185.125.190.39 80]
Err:6 http://cn.archive.ubuntu.com/ubuntu hirsute Release
  404  Not Found [IP: 91.189.91.38 80]
Err:7 http://cn.archive.ubuntu.com/ubuntu hirsute-updates Release
  404  Not Found [IP: 91.189.91.38 80]
Err:8 http://cn.archive.ubuntu.com/ubuntu hirsute-backports Release
  404  Not Found [IP: 91.189.91.38 80]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu hirsute-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 'http://cn.archive.ubuntu.com/ubuntu hirsute 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://cn.archive.ubuntu.com/ubuntu hirsute-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://cn.archive.ubuntu.com/ubuntu hirsute-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.

问题解析

ubuntu21.04版本是中间过渡版本,官方已经不维护。

解决途径

1. 替换ubuntu-old-releases,先后找了官网的源,华中科技大学的源和中科大的源,全都失败

2.重装20.04 LTS,替换源,成功。 

问题总结

关于ubuntu的中间版本,所谓民间的源也只是官方的镜像,官方不维护则这些镜像源也没有用,我就像个冤大头摸索了三个小时。

LTS是long term support的简称,意思是长期支持,也就是服务支持会不停更新,一般是偶数年发布,也就是18.04(这个也快要不支持了,所以不推荐现在安装这个版本),20.04和最新的22.04这些版本。文章来源地址https://www.toymoban.com/news/detail-540133.html

到了这里,关于【ubuntu21.04问题】关于404 Not Found [IP: 185.125.190.39 80]的解决办法的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 404 not found nginx(dist打包后,刷新和跳转都是404 not found nginx的问题) 解决方案(打包发布在服务器)

    当我们执行了yarn run build之后,生成dist文件 我们将代码放入nginx-1.24.0下面的html中 然后我们就配置conf文件下的nginx.conf  配置方面不介绍了,主要问题是因为没有加这句话  问题分析 index index.htm index.html; index 就是根目录,也就是只识别“/”结尾的,输入不存在或者刷新页面

    2024年02月08日
    浏览(34)
  • 【GLBCXX_3.4.21 not found】问题解决

    2024年02月13日
    浏览(26)
  • ubuntu 20.04配置蓝牙以及 btusb not found解决

    想把ubuntu 20.04当做日常开发平台,需要连接蓝牙耳机所以记录一下蓝牙配置和debug过程。 终端下执行: 终端下执行: 这一步的时候提示保报错信息: FATAL: Module btusb not found in directory /lib/modules/5.11.0-25-generic 第二节讲解如何解决。 查看蓝牙状态: 启用蓝牙服务: 重启蓝牙服

    2024年02月05日
    浏览(36)
  • 五步解决 Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法

    Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法 参考debian网址https://packages.debian.org/buster/并搜索想要的软件或者工具等,如libc6,有结果如下: 具体就不介绍了,请浏览官网了解。 第一步: 添加软件源,在 /etc/apt/sources.list 文件中的最后面追加下面这一行内容(参考官网): 第二步

    2024年02月20日
    浏览(32)
  • Ubuntu 18.04 出现GLIBC_2.28 not found的解决方法(亲测有效)

    关于 /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.28’ not found`出现报错,建议不要使用源码包去编译并升级。在下文有分享一个使用官方的Debian软件包去升级使用的方法。仅供参考! 环境 分析原因 glibc是linux底层的API库。通常情况下,有些环境需要glibc更高的版本才支持,比如 GL

    2024年02月03日
    浏览(34)
  • ubuntu20.04升级GLIBC高版本方法,解决:version `GLIBC_2.34‘ not found

    检查版本 strings /lib/x86_64-linux-gnu/libc.so.6 |grep GLIBC_ 1 显示结果 GLIBC_2.2.5 GLIBC_2.2.6 GLIBC_2.3 GLIBC_2.3.2 GLIBC_2.3.3 GLIBC_2.3.4 GLIBC_2.4 GLIBC_2.5 GLIBC_2.6 GLIBC_2.7 GLIBC_2.8 GLIBC_2.9 GLIBC_2.10 GLIBC_2.11 GLIBC_2.12 GLIBC_2.13 GLIBC_2.14 GLIBC_2.15 GLIBC_2.16 GLIBC_2.17 GLIBC_2.18 GLIBC_2.22 GLIBC_2.23 GLIBC_2.24 GLIBC_2.25 GLIBC_

    2024年02月12日
    浏览(33)
  • 【已解决】postman测试接口显示404 not found

    postman显示404错误 前端不显示u获取uerinfo 404找不到资源,无非就是接口路径,提交方式、参数类型、返回结果类型有问题。 逐一排查: 没有问题 get方法,没问题 似乎也没有问题 rusult类型 这里都有添加没有问题 1、@RestController = @Controller + @ResponseBody 2、@RestController用于返回

    2024年02月16日
    浏览(34)
  • SpringCloud + GateWay + Nacos访问出现404,Not Found

    最近在学SpringCloud,在使用GateWay作为网关时,发现注册的服务通过网关访问找不到路径出现404,NOT FOUND。 这个问题搞了我挺久,引起这个问题的可能原因有两个点: 1、SpringCloud从2020版本开始就不再支持Ribbon了,所以当我们使用网关时需要在网关服务上加上Ribbon依赖。 2、由

    2024年02月12日
    浏览(27)
  • Springboot运行报错: “status“: 404, “error“: “Not Found“

    学习SpringBoot jdk版本:jdk-16.0.2 SpringBoot版本:2.7.0 PostMan版本:8.3.1 Idea版本:2021.2 电脑系统:win10 创建一个SpringBoot项目 编写一个Controller类 运行创建的SpringBoot项目,打开PostMan输入如下URL: http://localhost:8080/books/1 结果发现报错 报错信息如下: 解决方案如下: 发现将主方法所

    2024年02月12日
    浏览(33)
  • ASP网页HTTP 错误 404.3 - Not Found解决方案

    1.首先贴出问题截图 如图所示,报错为HTTP 错误 404.3 - Not Found 2.简单的原因分析 通过在网上查阅相关资料后得知, 这种情况属于WCF问题,发现将网站WCF服务放到IIS上时不能正常运行。 3.解决方法 去控制面板-程序-启用或关闭Windows功能,如下图所示,将需要的WCF服务勾选上就好。

    2024年02月13日
    浏览(44)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包