LinuxForum.Fans
Тема

Репозитарии Debian 10 не работают

Автор: Kalaputsa 6 сообщений 1410 просмотров
25.05.2020 12:48 #434766

Здравствуйте.
После установки Debian 10 и попытке обновить пакеты выскакивает много ошибок

[console]lko@newlko:~$ sudo apt update
Игн:1 http://ftp.debian.org/debian buster InRelease
Игн:2 http://httpredir.debian.org/debian buster-updates InRelease
Игн:3 http://security.debian.org/debian-security buster/updates InRelease
Игн:4 http://deb.debian.org/debian buster InRelease
Ошб:5 http://ftp.debian.org/debian buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
Ошб:6 http://httpredir.debian.org/debian buster-updates Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
Ошб:7 http://security.debian.org/debian-security buster/updates Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
Ошб:8 http://deb.debian.org/debian buster Release
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
Чтение списков пакетов… Готово
E: Репозиторий «http://ftp.debian.org/debian buster Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
E: Репозиторий «http://httpredir.debian.org/debian buster-updates Release» не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
E: Репозиторий «http://security.debian.org/debian-security buster/updates Release» больше не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
E: Репозиторий «http://deb.debian.org/debian buster Release» больше не содержит файла Release.
N: Обновление из этого репозитория нельзя выполнить безопасным способом, поэтому по умолчанию он отключён.
N: Информацию о создании репозитория и настройках пользователя смотрите в справочной странице apt-secure(8).
[/console]

Сам файл репозитариев

Показать
# Buster Debian 10.x

# security updates
deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# binary and source packages
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main

# debian
deb http://ftp.debian.org/debian/ buster main
deb-src http://ftp.debian.org/debian/ buster main

deb http://httpredir.debian.org/debian/ buster-updates main
deb-src http://httpredir.debian.org/debian/ buster-updates main

Подскажите пожалуйста, как решить вопрос?

25.05.2020 14:55 #434769
"Kalaputsa" написал:
IP: 10.0.0.3

Этот пул IP отдан для локальных сетей. У вас локальное зеркало? Сомневаюсь.

"Kalaputsa" написал:
Репозиторий «http://ftp.debian.org/debian buster Release» не содержит файла Release.

Написано, в чём дело. Проверьте даже в браузере наличие файла, чтобы знать, откуда поиск проблемы начинать.

25.05.2020 17:00 · отредактировано #434773
Rizado написал:
[quote="Kalaputsa"]IP: 10.0.0.3

Этот пул IP отдан для локальных сетей. У вас локальное зеркало? Сомневаюсь.

"Kalaputsa" написал:
Репозиторий «http://ftp.debian.org/debian buster Release» не содержит файла Release.

Написано, в чём дело. Проверьте даже в браузере наличие файла, чтобы знать, откуда поиск проблемы начинать.[/quote]
Спасибо, что ответили.
Почему зеркало указывает на локальный IP я не знаю. Как можно это исправить?
На сайт http://ftp.debian.org/debian/ захожу без ошибок, но файла нету.

25.05.2020 17:24 #434774
"Kalaputsa" написал:
но файла нету.

Файл лежит в dists/buster/

"Kalaputsa" написал:
Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.

Это крайне странная ошибка, учитывая то, что соединение проходит не по HTTPS, а репозитории Debian не имеют переадресацию на HTTPS.

К слову, провайдер – не Мегафон?

25.05.2020 17:50 · отредактировано #434775

Изменил пути в репозитариях.
[console]
deb [trusted=yes] http://ftp.debian.org/debian/dists/Debian10.4/ buster main non-free contrib
deb-src [trusted=yes] http://ftp.debian.org/debian/dists/Debian10.4/ buster main non-free contrib

deb [trusted=yes] http://security.debian.org/debian-security/dists/bullseye-security/ buster/updates main contrib non-free
deb-src [trusted=yes] http://security.debian.org/debian-security/dists/bullseye-security/ buster/updates main contrib non-free[/console]


в конце вылезли ошибки

Показать
E: Не удалось получить https://srfw:4081/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL2NvbnRyaWIvc291cmNlL1NvdXJjZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL25vbi1mcmVlL3NvdXJjZS9Tb3VyY2Vz&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vc291cmNlL1NvdXJjZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vYmluYXJ5LWFsbC9QYWNrYWdlcw==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vYmluYXJ5LWkzODYvUGFja2FnZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vaTE4bi9UcmFuc2xhdGlvbi1ydQ==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vaTE4bi9UcmFuc2xhdGlvbi1lbg==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL21haW4vaTE4bi9UcmFuc2xhdGlvbi1ydV9SVQ==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL2NvbnRyaWIvYmluYXJ5LWFsbC9QYWNrYWdlcw==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL2NvbnRyaWIvYmluYXJ5LWkzODYvUGFja2FnZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL2NvbnRyaWIvaTE4bi9UcmFuc2xhdGlvbi1ydV9SVQ==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить https://srfw:4081/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL3NvdXJjZS9Tb3VyY2Vz&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9ub24tZnJlZS9zb3VyY2UvU291cmNlcw==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9jb250cmliL3NvdXJjZS9Tb3VyY2Vz&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL2JpbmFyeS1hbGwvUGFja2FnZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL2JpbmFyeS1pMzg2L1BhY2thZ2Vz&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL2kxOG4vVHJhbnNsYXRpb24tcnVfUlU=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL2kxOG4vVHJhbnNsYXRpb24tcnU=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9tYWluL2kxOG4vVHJhbnNsYXRpb24tZW4=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9ub24tZnJlZS9iaW5hcnktaTM4Ni9QYWNrYWdlcw==&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9ub24tZnJlZS9iaW5hcnktYWxsL1BhY2thZ2Vz&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Не удалось получить http://srfw:4080/login/?dest=aHR0cDovL2Z0cC5kZWJpYW4ub3JnL2RlYmlhbi9kaXN0cy9EZWJpYW4xMC40L2Rpc3RzL2J1c3Rlci9ub24tZnJlZS9pMThuL1RyYW5zbGF0aW9uLWVu&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown. Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]
E: Некоторые индексные файлы скачать не удалось. Они были проигнорированы, или вместо них были использованы старые версии.

Это локальный сервер, я так понимаю, он хочет получить ключ сертификата, но там его и в помине нету и почему Debian 10 пытается к нему конектиться?

Провайдер Ростелеком

25.05.2020 18:04 · отредактировано #434776
"Kalaputsa" написал:
Изменил пути в репозиториях.

Верни обратно %).

"Kalaputsa" написал:
и почему Debian 10 пытается к нему конектиться?

Дело явно не в Debian, а в том, как устроена сеть.

"Kalaputsa" написал:
text
E: Не удалось получить https://srfw:4081/login/?dest=aHR0cDovL3NlY3VyaXR5LmRlYmlhbi5vcmcvZGViaWFuLXNlY3VyaXR5L2Rpc3RzL2J1bGxzZXllLXNlY3VyaXR5L2Rpc3RzL2J1c3Rlci91cGRhdGVzL2NvbnRyaWIvc291cmNlL1NvdXJjZXM=&host=MTAuMC4wLjIyIGZiNDE1MDNkMDA5MmRmZTY2MjJkMjFkNGUyNmIxODRh  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. [IP: 10.0.0.3 4081]

Где-то в локальной сети спрятался MITM, то и так было понятно, но теперь есть и более конкретная ссылка (подменяющая http://security.debian.org/debian-security/dists/bullseye-security/dists/buster/updates/contrib/source/Sources).

Войдите или зарегистрируйтесь, чтобы ответить.