Как обновить Ubuntu 20.10 после EOL?

Я использую Ubuntu 20.10 groovy для своего рабочего стола. К сожалению, его срок службы превысил.

Согласно руководству EOLUpgrade sources.list становится следующим:

deb http://old-releases.ubuntu.com/ubuntu/ groovy main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ groovy-updates main restricted universe multiverse 
deb http://old-releases.ubuntu.com/ubuntu/ groovy-security main restricted universe multiverse

Я получил этот журнал после запуска apt update :

~ sudo apt-get update                   
[sudo] password for farhad: 
Hit:1 http://ppa.launchpad.net/atareao/atareao/ubuntu groovy InRelease                                                                                                           
Hit:2 ***                                                                                           
Ign:3 http://old-releases.ubuntu.com/ubuntu groovy InRelease                                                               
Hit:4 ***                                                        
Ign:5 http://old-releases.ubuntu.com/ubuntu groovy-updates InRelease                                                 
Hit:6 http://ppa.launchpad.net/atareao/atareao/ubuntu focal InRelease
Ign:7 http://old-releases.ubuntu.com/ubuntu groovy-security InRelease                          
Hit:8 ***                                
Err:9 http://old-releases.ubuntu.com/ubuntu groovy Release                                     
  404  Not Found [IP: 91.189.91.124 80]
Hit:10 http://ppa.launchpad.net/audio-recorder/ppa/ubuntu groovy InRelease
Err:11 http://old-releases.ubuntu.com/ubuntu groovy-updates Release      
  404  Not Found [IP: 91.189.91.124 80]
Err:12 http://old-releases.ubuntu.com/ubuntu groovy-security Release     
  404  Not Found [IP: 91.189.91.124 80]
Hit:13 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu groovy InRelease
Hit:14 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu focal InRelease
Hit:15 http://ppa.launchpad.net/kubuntu-ppa/beta/ubuntu groovy InRelease
Hit:16 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu groovy InRelease
Hit:17 http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu focal InRelease
Reading package lists... Done                      '

E: The repository 'http://old-releases.ubuntu.com/ubuntu groovy 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://old-releases.ubuntu.com/ubuntu groovy-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://old-releases.ubuntu.com/ubuntu groovy-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.

Кажется, что-то не так в http : //old-releases.ubuntu.com .

Что мне делать, чтобы обновить Ubuntu 20.10 сейчас?

P.S: *** репозитории были сторонними и были здесь усечены.

4
задан 1 September 2021 в 09:39

1 ответ

По какой-то причине http://old-releases.ubuntu.com/ubuntu/dists/ не содержит groovy (20.10 ), а на самом деле это EOL с 22 июля 2021 года .

Таким образом, вы должны заменить старые выпуски обратно на архив в sources.list :

sudo sed -i "s/old-releases/archive/g" /etc/apt/sources.list /etc/apt/sources.list.d/*.list
sudo apt-get update
sudo apt-get dist-upgrade

Запуск версии EOL опасен и непродуктивен , поэтому рекомендуется обновить 20.10 (EOL) до 21.04 (актуально, hirsute ), перезагрузив компьютер и выполнив стандартную процедуру, например

sudo do-release-upgrade

или

update-manager -c
5
ответ дан 4 September 2021 в 09:24

Другие вопросы по тегам:

Похожие вопросы: