Package: apt-cacher Version: 1.7.13 Severity: normal I wanted to use apt-cacher-ng. I installed it and set up the data as I assumed appropriate.
However, when trying to "apt-get update" I get the following error: root@samd:/var/log/apt-cacher# LC_ALL=C apt-get update Ign:1 http://172.16.18.51:9999/debian testing InRelease Ign:2 http://172.16.18.51:9999/debian testing Release Ign:3 http://172.16.18.51:9999/debian testing/main amd64 Packages Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Ign:3 http://172.16.18.51:9999/debian testing/main amd64 Packages Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Ign:3 http://172.16.18.51:9999/debian testing/main amd64 Packages Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Ign:3 http://172.16.18.51:9999/debian testing/main amd64 Packages Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Ign:3 http://172.16.18.51:9999/debian testing/main amd64 Packages Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Err:3 http://172.16.18.51:9999/debian testing/main amd64 Packages 502 apt-cacher: libcurl error: Peer certificate cannot be authenticated with given CA certificates Ign:4 http://172.16.18.51:9999/debian testing/main all Packages Ign:5 http://172.16.18.51:9999/debian testing/main Translation-en Ign:6 http://172.16.18.51:9999/debian testing/main Translation-de_DE Ign:7 http://172.16.18.51:9999/debian testing/main Translation-de Ign:8 http://172.16.18.51:9999/debian testing/main amd64 DEP-11 Metadata Ign:9 http://172.16.18.51:9999/debian testing/main all DEP-11 Metadata Ign:10 http://172.16.18.51:9999/debian testing/main DEP-11 64x64 Icons Ign:11 http://172.16.18.51:9999/debian testing/main amd64 Contents (deb) Ign:12 http://172.16.18.51:9999/debian testing/main all Contents (deb) Reading package lists... Done W: The repository 'http://172.16.18.51:9999/debian testing Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user configuration details. E: Failed to fetch http://172.16.18.51:9999/debian/dists/testing/main/binary-amd64/Packages 502 apt-cacher: libcurl error: Peer certificate cannot be authenticated with given CA certificates E: Some index files failed to download. They have been ignored, or old ones used instead. I looked at apt-secure(8) but it does not say anything about curl and without apt-cacher apt works flawlessly. Looking at /var/log/apt-cacher I see lots of lines like Sun Aug 21 06:56:28 2016|info [7482]: Warning: libcurl failed for http://debian/dists/testing/main/i18n/Translation-de with status Peer certificate cannot be authenticated with given CA certificates I looked at /usr/share/doc/curl and /usr/share/doc/libcurl3-gnutls but could not find anything regarding this error neither. Nor does the man page of curl. There is no mention of curl in /var/log/* I have not used curl on this machine before, so it looks like something is broken on the default install. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.5.5samd.10-grsec (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages apt-cacher depends on: ii debconf [debconf-2.0] 1.5.59 ii ed 1.10-2.1 ii libdpkg-perl 1.18.10 ii libfilesys-df-perl 0.92-6 ii libio-interface-perl 1.09-1+b1 ii libipc-shareable-perl 0.61-1 ii libnetaddr-ip-perl 4.079+dfsg-1 ii libsys-syscall-perl 0.25-6 ii libwww-curl-perl 4.17-2+b1 ii libwww-perl 6.15-1 ii lsb-base 9.20160629 ii perl 5.22.2-3 ii ucf 3.0036 ii update-inetd 4.43 Versions of packages apt-cacher recommends: ii libberkeleydb-perl 0.55-1+b1 pn libio-compress-lzma-perl <none> Versions of packages apt-cacher suggests: pn libfreezethaw-perl <none> ii libio-socket-inet6-perl 2.72-2 -- Configuration Files: /etc/apt-cacher/apt-cacher.conf changed: cache_dir = /var/cache/aptproxy admin_email = helge@localhost daemon_port = 9999 group = www-data user = www-data checksum = 1 allowed_hosts = 172.16.18.0/8 -- debconf information: * apt-cacher/mode: daemon -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature