Technical discuss

ubuntu更新时“http://archive.canonical.com/ubuntu focal Release” 没有 Release 解决办法

  • btt
  • [btt]
  • Topic Author
  • Offline
  • Administrator
  • Administrator
More
02 Mar 2025 08:16 - 02 Mar 2025 08:34 #214 by btt
New Topic
安装的ubuntu20.04.4,最小化安装之后,执行update的时候显示如下错误;
E: Release file for archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease is not valid yet

解决办法:
1. 
登陆 mirrors.ustc.edu.cn/repogen/  根据系统找到对应的版本,然后Download.
[img


2.  cd到“sources.list”文件所在的目录,将下载到的sources.list文件,复制到/etc/apt目录下

3. 再次执行:sudo apt-get update
                    sudo apt-get upgrade

原文链接:https://www.cnblogs.com/jzzlo/articles/16113474.html
Last edit: 02 Mar 2025 08:34 by btt.

Please Log in or Create an account to join the conversation.