Hello Mark,
On Tue, Aug 23, 2016 at 08:41:01AM +0100, Mark Hindley wrote:
> > 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
> 
> OK, I think I have misunderstood this and the CA error has made me miss the
> obvious -- Sorry!
> 
> On Mon, Aug 22, 2016 at 07:43:59PM +0200, Helge Kreutzmann wrote:
> > Hello Mark,
> > On Mon, Aug 22, 2016 at 11:20:06AM +0100, Mark Hindley wrote:
> > > Thanks. I am wondering where your HTTPS upstream is configured? What do 
> > > you have in /etc/apt/sources.list?
> > 
> > root@samd:~# grep -v "^#" /etc/apt/sources.list
> > deb http://172.16.18.51:9999/debian testing main
> 
> You need to configure your upstream host somewhere. Probably the easiest for 
> you
> is to add the host to sources.list:
> 
>    deb http://172.16.18.51:9999/upstream.host.fdqn/debian testing main
> 
> This is documented as accessing apt-cacher as a mirror in the manpage.

I try this, but this gives an endless loop of lines:
Holen:1 http://172.16.18.51:9999/ftp.de.debian.org/debian testing InRelease 
[251 kB]

(after some minutes, the next same line comes up, I left it running
for hours without any visual change).

In the error.log I see:
Thu Aug 25 21:14:23 2016|info [11546]: return_file 
/var/cache/aptproxy/packages/ftp.de.debian.org_debian_dists_testing_InRelease 
aborted by timeout at 6631 of 250532 bytes
Thu Aug 25 21:14:27 2016|info [11547]: Warning: libcurl failed for 
http://ftp.de.debian.org/debian/dists/testing/InRelease with status Timeout was 
reached
Thu Aug 25 21:14:28 2016|info [11573]: ALARM! 
/var/cache/aptproxy/packages/ftp.de.debian.org_debian_dists_testing_InRelease 
file size mismatch (found 6631, expected 250532). Renaming to 
/var/cache/aptproxy/packages/ftp.de.debian.org_debian_dists_testing_InRelease.corrupted.

Somehow still a libcurl problem?


> Alternatively you could create a path_map setting:
> 
>    path_map = debian upstream.host.fqdn/debian 

Did not try.

> Do you have a local DNS that means that debian resolves as a hostname?

No, I only have /etc/hosts (this is a recent install, so no "cruft" lying 
around).

Switching to direct net access still works flawlessly.

Thanks!

Greetings

          Helge
-- 
      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/

Attachment: signature.asc
Description: Digital signature

Reply via email to