Команда apt-get update не работает в Ubuntu 20.04.2 LTS

Я не могу обновить ubuntu 20.04 и получаю ошибку ниже

Hit:1 http://in.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease                   
Hit:3 http://packages.microsoft.com/repos/code stable InRelease                
Hit:4 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease              
Hit:5 https://linux.teamviewer.com/deb stable InRelease                        
Hit:6 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu cosmic InRelease           
Ign:7 http://archive.ubuntu.com/ubuntu cosmic InRelease                        
Hit:8 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease 
Hit:9 http://security.ubuntu.com/ubuntu focal-security InRelease
Err:10 http://archive.ubuntu.com/ubuntu cosmic Release
  404  Not Found [IP: 2001:67c:1360:8001::24 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu cosmic 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.

Вывод из /etc/apt/sources.list: - enter image description here

0
задан 25 April 2021 в 13:32

1 ответ

Вы должны закомментировать проблемную строку в /etc/apt/sources.list с космическим выпуском, а затем повторите попытку с

sudo apt-get update
2
ответ дан 26 April 2021 в 23:07

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

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