Ошибка apt для Debian Джесси при переходе через apt-cacher-ng
259
dangonfast
При использовании прямого соединения:
root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update Hit http://security.debian.org jessie/updates InRelease Ign http://deb.debian.org jessie InRelease Hit http://deb.debian.org jessie-updates InRelease Hit http://deb.debian.org jessie Release.gpg Hit http://deb.debian.org jessie Release Get:1 http://security.debian.org jessie/updates/main amd64 Packages [641 kB] Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB] Get:3 http://deb.debian.org jessie/main amd64 Packages [9064 kB] Fetched 9729 kB in 21s (448 kB/s) Reading package lists... Done
При использовании http прокси:
root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update Hit http://security.debian.org jessie/updates InRelease Ign http://deb.debian.org jessie InRelease Hit http://deb.debian.org jessie-updates InRelease Get:1 http://security.debian.org jessie/updates/main amd64 Packages [641 kB] Hit http://deb.debian.org jessie Release.gpg Get:2 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB] Hit http://deb.debian.org jessie Release Get:3 http://deb.debian.org jessie/main amd64 Packages [9064 kB] Fetched 9729 kB in 31s (305 kB/s) Reading package lists... Done
Но при использовании apt-cacher-ng
прокси происходит сбой:
root@cc90861af3e4:/etc/apt/apt.conf.d# apt-get update Ign http://security.debian.org jessie/updates InRelease Ign http://security.debian.org jessie/updates Release.gpg Ign http://security.debian.org jessie/updates Release Err http://security.debian.org jessie/updates/main amd64 Packages Err http://security.debian.org jessie/updates/main amd64 Packages Err http://security.debian.org jessie/updates/main amd64 Packages Err http://security.debian.org jessie/updates/main amd64 Packages Err http://security.debian.org jessie/updates/main amd64 Packages 500 Missing Content-Length Ign http://deb.debian.org jessie InRelease Hit http://deb.debian.org jessie-updates InRelease Hit http://deb.debian.org jessie Release.gpg Hit http://deb.debian.org jessie Release Get:1 http://deb.debian.org jessie-updates/main amd64 Packages [23.1 kB] Get:2 http://deb.debian.org jessie/main amd64 Packages [9064 kB] Fetched 9087 kB in 16s (567 kB/s) W: Failed to fetch http://security.debian.org/dists/jessie/updates/main/binary-amd64/Packages 500 Missing Content-Length E: Some index files failed to download. They have been ignored, or old ones used instead.
Тот же apt-cacher отлично работает для других систем (протестировано для Ubuntu Trusty, Xenial, Artful и Bionic).
Почему это не подходит для Debian? Что еще я мог проверить?
0 ответов на вопрос
Похожие вопросы
-
2
Как мне заставить мой микрофон работать под Debian GNOME?
-
6
Полноэкранная медленная вспышка в KDE 4
-
3
Пакеты в странном состоянии
-
-
2
Есть ли способ привязать беспроводную сеть к настройке прокси?
-
5
Доступ к hulu / youtube за пределами США
-
1
Opera «забывает» определение прокси, если прокси недоступен
-
5
Заставить Firefox автоматически подобрать интернет-прокси по умолчанию?
-
1
Обратный прокси Apache
-
8
Найти, к какому пакету принадлежит файл в Ubuntu / Debian?
-
3
Не могу понять, почему это регулярное выражение не применяется