Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-03-16 Thread Mathias Behrle
* Eduard Bloch:  Re: Bug#778532: apt-cacher-ng fails with Acquire::http to
  http.debian.net (Thu, 12 Mar 2015 18:05:49 +0100):

 Control: tags 778532 +notreproducible
 
 Please send me the apt-cacher-ng logs and configuration files from
 your server.

Here we go, all other configuration/log files are untouched/empty.
   
   Thanks. However, I am still not having a good idea. Please check the
   /etc/apt-cacher-ng/*backend* files, maybe you need to exchange some
   mirror there with a more reliable one.
  
  I don't think, that this is the problem. In case you are using docker you
  can try yourself. [0] doesn't work, [1] works. So it must have to do
  with Acquire::http.
  
  [0]
  https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L17
  [1]
  https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L18
 
 Sorry, works for me. I tested only the upper line, i.e.
 RUN echo 'Acquire::http { Proxy http://meinserverseincache:3142;; };'
  /etc/apt/apt.conf.d/01proxy

No sorry there, thanks for looking into the problem!
 
 Cannot see any problem at all. Please add
 RUN echo 'Debug::Acquire::Http true;'  /etc/apt/apt.conf.d/01proxy
 then we can see more.
 
 And both lines you mentioned should have the same effect... but they
 shouldn't be used both, of course.

I added the debug line and attached the complete log of the screen session of
the docker build to this mail.

Regards,
Mathias



-- 

Mathias Behrle
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


screenlog.1
Description: Binary data


pgpiS1Rumx_XL.pgp
Description: Digitale Signatur von OpenPGP


Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-03-16 Thread Eduard Bloch
Hallo,
* Mathias Behrle [Mon, Mar 16 2015, 06:06:30PM]:

  And both lines you mentioned should have the same effect... but they
  shouldn't be used both, of course.
 
 I added the debug line and attached the complete log of the screen session of
 the docker build to this mail.

Ok now this starts becoming interesting:

Get:1 http://security.debian.org jessie/updates InRelease [84.1 kB]
Answer for: http://http.debian.net/debian/dists/jessie/InRelease
HTTP/1.1 404 Not Found

Content-Length: 0

Date: Mon Mar 16 17:01:19 2015

Server: Debian Apt-Cacher NG/0.8.0

X-Original-Source: http://ftp2.debian.org/debian/dists/jessie/InRelease

Connection: Keep-Alive


That's obviously wrong. ftp2.debian.org does not exist. Where exactly
does it come from? I guess it's configured in your 
/etc/apt-cacher-ng/backends_debian file and the next question is... how
was it added? Manually by somebody? (that somebody maybe wanted to add
ftp.de.debian.org?)

I am also wondering about that particular status code. ACNG should have
detected a DNS resolution error and would report it as such. Also,
Not Found is not generated by ACNG with that spelling (verified by Mr.
grep). So what's the cause? Do you have some broken DNS that resolves
to some catch-all IP? Maybe an ISP DNS that redirects mistyped domains
to their advertising network or similar crap?

Regadrs,
Eduard.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-03-12 Thread Eduard Bloch
Control: tags 778532 +notreproducible

Please send me the apt-cacher-ng logs and configuration files from your
server.
   
   Here we go, all other configuration/log files are untouched/empty.
  
  Thanks. However, I am still not having a good idea. Please check the
  /etc/apt-cacher-ng/*backend* files, maybe you need to exchange some
  mirror there with a more reliable one.
 
 I don't think, that this is the problem. In case you are using docker you can
 try yourself. [0] doesn't work, [1] works. So it must have to do
 with Acquire::http.
 
 [0] https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L17
 [1] https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L18

Sorry, works for me. I tested only the upper line, i.e.
RUN echo 'Acquire::http { Proxy http://meinserverseincache:3142;; };'  
/etc/apt/apt.conf.d/01proxy

Cannot see any problem at all. Please add
RUN echo 'Debug::Acquire::Http true;'  /etc/apt/apt.conf.d/01proxy
then we can see more.

And both lines you mentioned should have the same effect... but they
shouldn't be used both, of course.

Regards,
Eduard.



signature.asc
Description: Digital signature


Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-02-19 Thread Mathias Behrle
* Eduard Bloch:  Re: Bug#778532: apt-cacher-ng fails with Acquire::http to
  http.debian.net (Thu, 19 Feb 2015 17:01:10 +0100):

 Hallo,
 * Mathias Behrle [Wed, Feb 18 2015, 07:53:14PM]:
  * Eduard Bloch:  Re: Bug#778532: apt-cacher-ng fails with Acquire::http to
http.debian.net (Mon, 16 Feb 2015 19:02:50 +0100):
  
   tags 778532 +moreinfo
   thanks
   
   Hallo,
   * Mathias Behrle [Mon, Feb 16 2015, 12:45:40PM]:
Package: apt-cacher-ng
Version: 0.8.0-3
Severity: normal
   
Ign http://http.debian.net jessie-updates
Release Err http://http.debian.net jessie/main amd64
Packages 404  Not Found [IP: 192.168.99.13 ]
  Err http://http.debian.net jessie-updates/main amd64
Packages


 
   
   Please send me the apt-cacher-ng logs and configuration files from your
   server.
  
  Here we go, all other configuration/log files are untouched/empty.
 
 Thanks. However, I am still not having a good idea. Please check the
 /etc/apt-cacher-ng/*backend* files, maybe you need to exchange some
 mirror there with a more reliable one.

I don't think, that this is the problem. In case you are using docker you can
try yourself. [0] doesn't work, [1] works. So it must have to do
with Acquire::http.

[0] https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L17
[1] https://github.com/mbehrle/docker-tryton-server/blob/master/Dockerfile#L18

-- 

Mathias Behrle
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6


pgpHscRUb9tnL.pgp
Description: Digitale Signatur von OpenPGP


Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-02-19 Thread Eduard Bloch
Hallo,
* Mathias Behrle [Wed, Feb 18 2015, 07:53:14PM]:
 * Eduard Bloch:  Re: Bug#778532: apt-cacher-ng fails with Acquire::http to
   http.debian.net (Mon, 16 Feb 2015 19:02:50 +0100):
 
  tags 778532 +moreinfo
  thanks
  
  Hallo,
  * Mathias Behrle [Mon, Feb 16 2015, 12:45:40PM]:
   Package: apt-cacher-ng
   Version: 0.8.0-3
   Severity: normal
  
   Ign http://http.debian.net jessie-updates
   Release Err http://http.debian.net jessie/main amd64
   Packages 404  Not Found [IP: 192.168.99.13 ]
 Err http://http.debian.net jessie-updates/main amd64
   Packages  
 
 
  
  
  Please send me the apt-cacher-ng logs and configuration files from your
  server.
 
 Here we go, all other configuration/log files are untouched/empty.

Thanks. However, I am still not having a good idea. Please check the
/etc/apt-cacher-ng/*backend* files, maybe you need to exchange some
mirror there with a more reliable one.

Regards,
Eduard.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-02-18 Thread Mathias Behrle
* Eduard Bloch:  Re: Bug#778532: apt-cacher-ng fails with Acquire::http to
  http.debian.net (Mon, 16 Feb 2015 19:02:50 +0100):

 tags 778532 +moreinfo
 thanks
 
 Hallo,
 * Mathias Behrle [Mon, Feb 16 2015, 12:45:40PM]:
  Package: apt-cacher-ng
  Version: 0.8.0-3
  Severity: normal
 
  Ign http://http.debian.net jessie-updates
  Release Err http://http.debian.net jessie/main amd64
  Packages 404  Not Found [IP: 192.168.99.13 ]
Err http://http.debian.net jessie-updates/main amd64
  Packages
  
   
 
 Please send me the apt-cacher-ng logs and configuration files from your
 server.

Here we go, all other configuration/log files are untouched/empty.

-- 

Mathias Behrle
PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
1424285255|I|468|192.168.99.14|debrep/dists/jessie/InRelease
1424285255|O|210|192.168.99.14|debrep/dists/jessie/InRelease
1424285255|I|475|192.168.99.14|debrep/dists/jessie-updates/InRelease
1424285255|O|218|192.168.99.14|debrep/dists/jessie-updates/InRelease
1424285255|I|399|192.168.99.14|security.debian.org/dists/jessie/updates/InRelease
1424285255|O|84369|192.168.99.14|security.debian.org/dists/jessie/updates/InRelease
1424285255|I|469|192.168.99.14|debrep/dists/jessie/Release.gpg
1424285255|O|212|192.168.99.14|debrep/dists/jessie/Release.gpg
1424285256|I|477|192.168.99.14|debrep/dists/jessie-updates/Release.gpg
1424285256|O|220|192.168.99.14|debrep/dists/jessie-updates/Release.gpg
1424285256|I|465|192.168.99.14|debrep/dists/jessie/Release
1424285256|O|208|192.168.99.14|debrep/dists/jessie/Release
1424285256|I|473|192.168.99.14|debrep/dists/jessie-updates/Release
1424285256|O|216|192.168.99.14|debrep/dists/jessie-updates/Release
1424285256|I|487|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.gz
1424285256|O|230|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.gz
1424285256|I|495|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.gz
1424285256|O|238|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.gz
1424285257|I|488|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.bz2
1424285257|O|231|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.bz2
1424285257|I|496|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.bz2
1424285257|O|239|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.bz2
1424285257|I|487|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.xz
1424285257|O|230|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.xz
1424285257|I|495|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.xz
1424285257|O|238|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.xz
1424285257|I|489|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.lzma
1424285257|O|232|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages.lzma
1424285258|I|497|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.lzma
1424285258|O|240|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages.lzma
1424285258|I|484|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages
1424285258|O|227|192.168.99.14|debrep/dists/jessie/main/binary-amd64/Packages
1424285258|I|394|192.168.99.14|security.debian.org/dists/jessie/updates/main/binary-amd64/Packages.gz
1424285258|O|329|192.168.99.14|security.debian.org/dists/jessie/updates/main/binary-amd64/Packages.gz
1424285258|I|492|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages
1424285258|O|235|192.168.99.14|debrep/dists/jessie-updates/main/binary-amd64/Packages


acng.conf
Description: Binary data


pgp3DW9bXoXKP.pgp
Description: Digitale Signatur von OpenPGP


Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-02-16 Thread Eduard Bloch
tags 778532 +moreinfo
thanks

Hallo,
* Mathias Behrle [Mon, Feb 16 2015, 12:45:40PM]:
 Package: apt-cacher-ng
 Version: 0.8.0-3
 Severity: normal

 Ign http://http.debian.net jessie-updates Release 
   
   
 
 Err http://http.debian.net jessie/main amd64 Packages 
   
   
 
   404  Not Found [IP: 192.168.99.13 ]
   Err http://http.debian.net jessie-updates/main amd64 Packages   
   
   
   

Please send me the apt-cacher-ng logs and configuration files from your
server.

Regards,
Eduard.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#778532: apt-cacher-ng fails with Acquire::http to http.debian.net

2015-02-16 Thread Mathias Behrle
Package: apt-cacher-ng
Version: 0.8.0-3
Severity: normal

Hi Eduard,

using the package since a long time (thanks for it!). While building
some docker image I wanted to use my local cache by injecting

echo 'Acquire::http { Proxy http://apt-cacher:;; };'  \
/etc/apt/apt.conf.d/01proxy

which results in 

Get:1 http://security.debian.org jessie/updates InRelease [84.1 kB]
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [20
B]   
Ign http://http.debian.net jessie InRelease 
Ign http://http.debian.net jessie-updates InRelease
Hit http://debian.tryton.org jessie-3.2 InRelease
Ign http://http.debian.net jessie Release.gpg  
Ign http://http.debian.net jessie-updates Release.gpg
Ign http://http.debian.net jessie Release   


  
Ign http://http.debian.net jessie-updates Release   


  
Err http://http.debian.net jessie/main amd64 Packages   


  
  404  Not Found [IP: 192.168.99.13 ]
  Err http://http.debian.net jessie-updates/main amd64 Packages 



404  Not Found [IP: 192.168.99.13 ]
Fetched 103 kB in 8s (12.3 kB/s)


  
W: Failed to fetch
http://http.debian.net/debian/dists/jessie/main/binary-amd64/Packages
404  Not Found [IP: 192.168.99.13 ]

W: Failed to fetch

http://http.debian.net/debian/dists/jessie-updates/main/binary-amd64/Packages
404  Not Found [IP: 192.168.99.13 ]

E: Some index files failed to download. They have been ignored, or
old ones used instead.

OTOH when not using 'Acquire::http', but replacing instead http.debian.net in
sources.list by apt-cacher:, all is working well.

Cheers,
Mathias


-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (400, 'unstable'), (300, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 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/bash
Init: sysvinit (via /sbin/init)

Versions of packages apt-cacher-ng depends on:
ii  adduser3.113+nmu3
ii  debconf [debconf-2.0]  1.5.55
ii  dpkg   1.17.23
ii  init-system-helpers1.22
ii  libbz2-1.0 1.0.6-7+b2
ii  libc6  2.19-13
ii  libgcc11:4.9.1-19
ii  liblzma5   5.1.1alpha+20120614-2+b3
ii  libssl1.0.01.0.1k-1
ii  libstdc++6 4.9.1-19
ii  libsystemd0215-10
ii  libwrap0   7.6.q-25
ii  zlib1g 1:1.2.8.dfsg-2+b1

Versions of packages apt-cacher-ng recommends:
ii  ed  1.10-2

Versions of packages apt-cacher-ng suggests:
ii  avahi-daemon  0.6.31-4+b2
ii  curl  7.38.0-4
pn  doc-base  none
ii  libfuse2  2.9.3-15+b1
ii  wget  1.16-1

-- Configuration Files:
/etc/apt-cacher-ng/acng.conf changed [not included]
/etc/apt-cacher-ng/security.conf [Errno 13] Keine Berechtigung: 
u'/etc/apt-cacher-ng/security.conf'
/etc/cron.daily/apt-cacher-ng changed [not included]

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org