способное обновление кажется поврежденным

На одном из наших серверов способное обновление дает странные ошибки:

Ign:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Err:4 http://archive.ubuntu.com/ubuntu xenial Release
  503  Cache storage error - No such file or directory
Err:5 http://archive.ubuntu.com/ubuntu xenial-updates Release
  503  Cache storage error - No such file or directory
Ign:6 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Err:7 http://security.ubuntu.com/ubuntu xenial-security Release
  503  Cache storage error - No such file or directory
Ign:8 http://ppa.launchpad.net/costamagnagianfranco/borgbackup/ubuntu xenial InRelease
Err:9 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial Release
  503  Cache storage error - No such file or directory
Err:10 http://ppa.launchpad.net/costamagnagianfranco/borgbackup/ubuntu xenial Release
  503  Cache storage error - No such file or directory
Reading package lists... Done
E: The repository 'http://archive.ubuntu.com/ubuntu xenial 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 xenial-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 xenial-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.
E: The repository 'http://ppa.launchpad.net/certbot/certbot/ubuntu xenial 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://ppa.launchpad.net/costamagnagianfranco/borgbackup/ubuntu xenial 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.

Одно различие к машине ниже того по некоторым причинам шахтер также ищет Выпуск, но я не могу выяснить, почему или где это настроено.

me@mimer:/etc/apt$ grep -R Release .
me@mimer:/etc/apt$

Ничего?

Тем временем на другой машине это работает просто великолепно:

Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Hit:2 http://ppa.launchpad.net/ansible/ansible/ubuntu xenial InRelease                                                                   
Hit:3 http://archive.ubuntu.com/ubuntu xenial InRelease                                                                                                               
Hit:4 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease                                                                                                
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]                                                                                 
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease                                                                                                                  
Ign:7 http://pkg.jenkins.io/debian-stable binary/ InRelease                                                                        
Hit:8 http://pkg.jenkins.io/debian-stable binary/ Release
Hit:9 https://download.docker.com/linux/ubuntu xenial InRelease
Hit:10 https://deb.nodesource.com/node_8.x xenial InRelease
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [1120 kB]
Fetched 1338 kB in 1s (789 kB/s)                              
Reading package lists... Done
Building dependency tree       
Reading state information... Done
...

Некоторые случайные власти и материал я попробовал:

у шахтера действительно есть сеть, и файлы, кажется, там?

me@mimer:/etc/apt$ curl -s http://archive.ubuntu.com/ubuntu/dists/xenial/Release | head
Origin: Ubuntu
Label: Ubuntu
Suite: xenial
Version: 16.04
Codename: xenial
Date: Thu, 21 Apr 2016 23:23:46 UTC
Architectures: amd64 arm64 armhf i386 powerpc ppc64el s390x
Components: main restricted universe multiverse
Description: Ubuntu Xenial 16.04
MD5Sum:

sources.list от шахтера:

me@mimer:/etc/apt$ cat sources.list
#
#  /etc/apt/sources.list
#


#
# trusty
#
deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial main restricted universe
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe
deb http://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted universe

обе машины работают 16.04

me@mimer:/etc/apt$ lsb_release -id
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS

Теперь к чему-то странному, если я изменяю sources.list для добавления [trusted=yes] это, кажется, работает. Разве существует ли некоторый ключ или сертификат или что-то, что может истечь?

Я попробовал apt clean, удаление способного файла блокировки и т.д.

Помогите, я колотил голову против этого весь день и был бы действительно рад идти дальше к тому, что я был планированием выполнения сегодня... :) Если Вы хотите вывод от чего-либо просто сообщенного мне.

3
задан 27 March 2020 в 16:38

1 ответ

Таким образом, оказалось, что был способный прокси, настроенный на том сервере (небольшая компания, я ношу многих, много шляп и т.д....), и по-видимому что прокси не работал больше.

me@mimer:/etc/apt/apt.conf.d$ cat 00proxy 
Acquire::http::Proxy "http://1.2.3.4:3142";

Я переместил тот файл в другой каталог и затем apt update теперь работы снова. Добейтесь!

2
ответ дан 7 April 2020 в 23:26

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

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