ubuntu20.04 版本库没有发布文件错误

问题描述

我了解“存储库没有发布文件”是不受支持的旧版本的常见错误。但是我在受支持的版本中遇到此错误。我尝试将 /etc/apt/sources.list 中的“in.archive...”更改为“old-releases...”。但我仍然收到错误。下面是我的输出

    sambeet@polya:~$ sudo apt-get update
Ign:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:2 http://old-releases.ubuntu.com/ubuntu focal InRelease                                       
Ign:3 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease                                 
Err:4 http://security.ubuntu.com/ubuntu focal-security Release                                     
  Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:5 http://old-releases.ubuntu.com/ubuntu focal Release                                          
  Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Ign:6 http://in.archive.ubuntu.com/ubuntu focal InRelease                                         
Ign:7 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease                               
Err:8 http://in.archive.ubuntu.com/ubuntu focal-updates Release
  Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:9 http://in.archive.ubuntu.com/ubuntu focal Release
  Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Err:10 http://in.archive.ubuntu.com/ubuntu focal-backports Release
  Could not handshake: An unexpected TLS packet was received. [IP: 10.10.78.62 3128]
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu focal-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://old-releases.ubuntu.com/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 'http://in.archive.ubuntu.com/ubuntu focal-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 'http://in.archive.ubuntu.com/ubuntu focal 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://in.archive.ubuntu.com/ubuntu focal-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.
sambeet@polya:~$ 

如您所见,我将一个网站更改为“http://old-releases..”,但即使如此也未显示发布文件错误。有人可以建议一些解决方法吗?这是我的发布信息。

sambeet@polya:~$ lsb_release -a
No LSB modules are available.
distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)