Hello Mark,
On Sun, Aug 21, 2016 at 10:58:50AM +0100, Mark Hindley wrote:
> On Sun Aug 21 06:04:12 2016 Helge Kreutzmann <deb...@helgefjell.de> wrote:
> > Package: apt-cacher
> > Version: 1.7.13
> > Severity: normal
> > 
> > I wanted to use apt-cacher-ng.
> 
> This is apt-cacher not apt-cacher-ng!

Yes, sorry. Mixed packages.

> > 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
> 
> This looks like you also have a path_map setting? It isn't included in the 
> /etc/apt-cacher/apt-cacher.conf in the bug report. Do you have any 
> configuration fragments in /etc/apt-cacher/conf.d?

apt-cacher.conf is essentially:
root@samd:~# cat /etc/apt-cacher/apt-cacher.conf  | grep -v "^#"|grep -v "^$"
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

/etc/apt-cacher/conf.d/ is empty.

root@samd:~# grep -r path_map /etc/apt-cacher/*
/etc/apt-cacher/apt-cacher.conf:#path_map = debian 
ftp.uni-kl.de/pub/linux/debian ftp2.de.debian.org/debian ;
/etc/apt-cacher/apt-cacher.conf:# There are 2 default internal path_map 
settings for the Debian and Ubuntu
/etc/apt-cacher/apt-cacher.conf:#path_map = debian-changelogs
/etc/apt-cacher/apt-cacher.conf:# directories whose names are derived from the 
relevant path_map key. So
/etc/apt-cacher/apt-cacher.conf:# generally there will be a path_map key => 
server(s) setting for each
/etc/apt-cacher/apt-cacher.conf:# the URLs. This is matched before any path_map 
settings are expanded. If
/etc/apt-cacher/apt-cacher.conf:# the path_map setting. Note these items are 
strings, not regexps.

> Are you trying to use HTTPS for upstream? If so, you will need to set 
> curl_ssl_insecure or use the libcurl option to configure CA to verify the 
> upstream connection.

Is there some documentation to do this libcurl configuration? I'd
rather configure the CA properly, but could not find any docs for
this.

Thanks also for you speedy reply.

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