Ubuntu: The repository does not have a Release file

Потребовалось мне на ноуте перенести ОС с маленького диска на новый большего размера. Загрузился с загрузочной флешки, которую делал пол года назад, и начал устанавливать Midnight Commander. Но, столкнулся с ошибками при попытке сделать apt-get update...
Текст ошибок
kubuntu@kubuntu:~$ sudo apt-get update
Ign:1 http://archive.ubuntu.com/ubuntu impish InRelease
Ign:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
Err:3 http://archive.ubuntu.com/ubuntu impish Release
404 Not Found [IP: 185.125.190.39 80]
Ign:4 http://security.ubuntu.com/ubuntu impish-security InRelease
Err:5 http://archive.ubuntu.com/ubuntu impish-updates Release
404 Not Found [IP: 185.125.190.39 80]
Err:6 http://security.ubuntu.com/ubuntu impish-security Release
404 Not Found [IP: 91.189.91.39 80]
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu impish 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://archive.ubuntu.com/ubuntu impish-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://security.ubuntu.com/ubuntu impish-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.
Погуглив, нашел, что проблема возникает из-за того, что используемый репозиторий устарел.
Following EOL guide above works, the key is editing the /etc/apt/sources.list so archive.ubuntu.com and security.ubuntu.com are changed to old-releases.ubuntu.com. This allows you to update/upgrade from an EOL version (e.g. Impish). Better instructions can be found here: https://askubuntu.com/a/91821/571221
Сделал, так как и написано, открыл sources.list и заменил "security.ubuntu.com" на "/old-releases.ubuntu.com"
kubuntu@kubuntu:~$ sudo nano /etc/apt/sources.list
Далее, я смог обновить репозитории
kubuntu@kubuntu:~$ sudo apt-get update
Get:1 http://old-releases.ubuntu.com/ubuntu impish InRelease [270 kB]
Get:2 http://old-releases.ubuntu.com/ubuntu impish-security InRelease [110 kB]
Get:3 http://old-releases.ubuntu.com/ubuntu impish-updates InRelease [115 kB]
Get:4 http://old-releases.ubuntu.com/ubuntu impish/main amd64 Packages [1,396 kB]
Get:5 http://old-releases.ubuntu.com/ubuntu impish/main Translation-en [511 kB]
Get:6 http://old-releases.ubuntu.com/ubuntu impish/main amd64 DEP-11 Metadata [460 kB]
Get:7 http://old-releases.ubuntu.com/ubuntu impish/main DEP-11 48x48 Icons [109 kB]
Get:8 http://old-releases.ubuntu.com/ubuntu impish/main DEP-11 64x64 Icons [160 kB]
Get:9 http://old-releases.ubuntu.com/ubuntu impish/main DEP-11 64x64@2 Icons [15.8 kB]
Get:10 http://old-releases.ubuntu.com/ubuntu impish/main DEP-11 128x128 Icons [338 kB]
Get:11 http://old-releases.ubuntu.com/ubuntu impish/main amd64 c-n-f Metadata [29.8 kB]
Get:12 http://old-releases.ubuntu.com/ubuntu impish/restricted amd64 Packages [82.2 kB]
Get:13 http://old-releases.ubuntu.com/ubuntu impish/restricted Translation-en [11.9 kB]
Get:14 http://old-releases.ubuntu.com/ubuntu impish/restricted amd64 c-n-f Metadata [452 B]
Get:15 http://old-releases.ubuntu.com/ubuntu impish/universe amd64 Packages [13.1 MB]
Get:16 http://old-releases.ubuntu.com/ubuntu impish/universe Translation-en [5,463 kB]
Get:17 http://old-releases.ubuntu.com/ubuntu impish/universe amd64 DEP-11 Metadata [3,701 kB]
Get:18 http://old-releases.ubuntu.com/ubuntu impish/universe DEP-11 48x48 Icons [3,247 kB]
Get:19 http://old-releases.ubuntu.com/ubuntu impish/universe DEP-11 64x64 Icons [7,845 kB]
Get:20 http://old-releases.ubuntu.com/ubuntu impish/universe DEP-11 64x64@2 Icons [61.0 kB]
Get:21 http://old-releases.ubuntu.com/ubuntu impish/universe DEP-11 128x128 Icons [13.9 MB]
Get:22 http://old-releases.ubuntu.com/ubuntu impish/universe amd64 c-n-f Metadata [279 kB]
Get:23 http://old-releases.ubuntu.com/ubuntu impish-security/main amd64 Packages [238 kB]
Get:24 http://old-releases.ubuntu.com/ubuntu impish-security/main Translation-en [71.3 kB]
Get:25 http://old-releases.ubuntu.com/ubuntu impish-security/main amd64 DEP-11 Metadata [20.2 kB]
Get:26 http://old-releases.ubuntu.com/ubuntu impish-security/main DEP-11 48x48 Icons [14.6 kB]
Get:27 http://old-releases.ubuntu.com/ubuntu impish-security/main DEP-11 64x64 Icons [24.7 kB]
Get:28 http://old-releases.ubuntu.com/ubuntu impish-security/main DEP-11 64x64@2 Icons [29 B]
Get:29 http://old-releases.ubuntu.com/ubuntu impish-security/main DEP-11 128x128 Icons [56.7 kB]
Get:30 http://old-releases.ubuntu.com/ubuntu impish-security/main amd64 c-n-f Metadata [5,884 B]
Get:31 http://old-releases.ubuntu.com/ubuntu impish-security/restricted amd64 Packages [95.1 kB]
Get:32 http://old-releases.ubuntu.com/ubuntu impish-security/restricted Translation-en [12.4 kB]
Get:33 http://old-releases.ubuntu.com/ubuntu impish-security/restricted amd64 c-n-f Metadata [532 B]
Get:34 http://old-releases.ubuntu.com/ubuntu impish-security/universe amd64 Packages [207 kB]
Get:35 http://old-releases.ubuntu.com/ubuntu impish-security/universe Translation-en [61.1 kB]
Get:36 http://old-releases.ubuntu.com/ubuntu impish-security/universe amd64 DEP-11 Metadata [3,624 B]
Get:37 http://old-releases.ubuntu.com/ubuntu impish-security/universe DEP-11 48x48 Icons [4,357 B]
Get:38 http://old-releases.ubuntu.com/ubuntu impish-security/universe DEP-11 64x64 Icons [7,802 B]
Get:39 http://old-releases.ubuntu.com/ubuntu impish-security/universe DEP-11 64x64@2 Icons [29 B]
Get:40 http://old-releases.ubuntu.com/ubuntu impish-security/universe DEP-11 128x128 Icons [18.1 kB]
Get:41 http://old-releases.ubuntu.com/ubuntu impish-security/universe amd64 c-n-f Metadata [5,396 B]
Get:42 http://old-releases.ubuntu.com/ubuntu impish-updates/main amd64 Packages [306 kB]
Get:43 http://old-releases.ubuntu.com/ubuntu impish-updates/main Translation-en [93.1 kB]
Get:44 http://old-releases.ubuntu.com/ubuntu impish-updates/main amd64 DEP-11 Metadata [24.3 kB]
Get:45 http://old-releases.ubuntu.com/ubuntu impish-updates/main DEP-11 48x48 Icons [20.9 kB]
Get:46 http://old-releases.ubuntu.com/ubuntu impish-updates/main DEP-11 64x64 Icons [39.7 kB]
Get:47 http://old-releases.ubuntu.com/ubuntu impish-updates/main DEP-11 64x64@2 Icons [29 B]
Get:48 http://old-releases.ubuntu.com/ubuntu impish-updates/main DEP-11 128x128 Icons [82.6 kB]
Get:49 http://old-releases.ubuntu.com/ubuntu impish-updates/main amd64 c-n-f Metadata [8,040 B]
Get:50 http://old-releases.ubuntu.com/ubuntu impish-updates/restricted amd64 Packages [104 kB]
Get:51 http://old-releases.ubuntu.com/ubuntu impish-updates/restricted Translation-en [14.1 kB]
Get:52 http://old-releases.ubuntu.com/ubuntu impish-updates/restricted amd64 c-n-f Metadata [560 B]
Get:53 http://old-releases.ubuntu.com/ubuntu impish-updates/universe amd64 Packages [255 kB]
Get:54 http://old-releases.ubuntu.com/ubuntu impish-updates/universe Translation-en [77.7 kB]
Get:55 http://old-releases.ubuntu.com/ubuntu impish-updates/universe amd64 DEP-11 Metadata [35.6 kB]
Get:56 http://old-releases.ubuntu.com/ubuntu impish-updates/universe DEP-11 48x48 Icons [17.7 kB]
Get:57 http://old-releases.ubuntu.com/ubuntu impish-updates/universe DEP-11 64x64 Icons [27.8 kB]
Get:58 http://old-releases.ubuntu.com/ubuntu impish-updates/universe DEP-11 64x64@2 Icons [29 B]
Get:59 http://old-releases.ubuntu.com/ubuntu impish-updates/universe DEP-11 128x128 Icons [67.7 kB]
Get:60 http://old-releases.ubuntu.com/ubuntu impish-updates/universe amd64 c-n-f Metadata [6,648 B]
Fetched 53.2 MB in 2min 25s (367 kB/s)
Reading package lists... Done
А уже после нормально поставить Midnight Commander
Author: | Rating: / | Tags:

Leave a Reply