Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#993286: apt-cacher-ng: Fail to fetch data from Debian repo at dl.google.com

280 views
Skip to first unread message

unread,
Aug 30, 2021, 1:10:04 AM8/30/21
to
Package: apt-cacher-ng
Version: 3.6.4-1
Severity: normal

Dear Maintainer, on the apt-cacher-ng proxy server, I have seen many errors of
apt-cacher-ng failing to fetch data from dl.google.com .

Is it because Google is using object storage to serve their data?

* What led up to the situation?
apt update via an apt-cacher-ng proxy

* What exactly did you do (or not do) that was effective (or
ineffective)?
Just run **apt update** on a client with apt-cacher-ng configured

* What was the outcome of this action?
Err:24 http://dl.google.com/linux/chrome/deb stable InRelease
Connection failed [IP: 10.0.0.102 3142]
...
W: Failed to fetch
http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
Connection failed
[IP: 10.0.0.102 3142]

If I try fetching the content with curl, the result is like the following:

curl -I http://dl.google.com/linux/chrome/deb/stable/Release
HTTP/1.1 404 Not Found
...

curl -I http://dl.google.com/linux/chrome/deb/dists/stable/InRelease
HTTP/1.1 200 OK
...
Content-Length: 1811
In /var/log/apt-cacher-ng/apt-cacher.err , there are quite a few
lines like the following:

Mon Aug 30 10:55:10 2021|Failed to move stale item
dl.google.com/linux/chrome/deb/dists/stable/InRelease out of the way:
No such file or directory

* What outcome did you expect instead?
Get:24 http://dl.google.com/linux/chrome/deb stable InRelease [xxx kB]

-- System Information:
Debian Release: 11
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8),
LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-cacher-ng depends on:
ii adduser 3.118
ii debconf [debconf-2.0] 1.5.77
ii dpkg 1.20.9
ii libbz2-1.0 1.0.8-4
ii libc6 2.31-13
ii libevent-2.1-7 2.1.12-stable-1
ii libevent-pthreads-2.1-7 2.1.12-stable-1
ii libgcc-s1 10.2.1-6
ii liblzma5 5.2.5-2
ii libssl1.1 1.1.1k-1
ii libstdc++6 10.2.1-6
ii libsystemd0 247.3-6
ii libwrap0 7.6.q-31
ii lsb-base 11.1.0
ii zlib1g 1:1.2.11.dfsg-2

apt-cacher-ng recommends no packages.

Versions of packages apt-cacher-ng suggests:
pn avahi-daemon <none>
pn doc-base <none>
ii libfuse2 2.9.9-5

Regards,
Fonzie

Harald Dunkel

unread,
Aug 31, 2021, 4:40:04 AM8/31/21
to

PS: acng is version 3.6.4-1

Harald Dunkel

unread,
Aug 31, 2021, 5:00:04 AM8/31/21
to
I've got a similar problem, using repositories on deb.debian,org.
'apt update' fails to obtain the InRelease files from acng:

:
Ign:18 http://HTTPS///pkg.jenkins.io/debian binary/ InRelease
Hit:19 http://HTTPS///pkg.jenkins.io/debian binary/ Release
Err:21 http://deb.debian.org/debian bullseye InRelease
Connection failed [IP: 172.19.96.126 3142]
Err:22 http://deb.debian.org/debian bullseye-updates InRelease
Connection failed [IP: 172.19.96.126 3142]
Err:23 http://deb.debian.org/debian bullseye-proposed-updates InRelease
Connection failed [IP: 172.19.96.126 3142]
Fetched 9383 B in 3min 0s (52 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
:

/var/log/apt-cacher-ng/apt-cacher.err shows

Tue Aug 31 10:16:45 2021|Failed to move stale item debrep/dists/buster/InRelease out of the way: No such file or directory
Tue Aug 31 10:16:51 2021|Failed to move stale item debrep/dists/bullseye/InRelease out of the way: No such file or directory
Tue Aug 31 10:17:45 2021|Failed to move stale item debrep/dists/buster-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:17:51 2021|Failed to move stale item debrep/dists/bullseye-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:11 2021|Failed to move stale item debrep/dists/bullseye/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:45 2021|Failed to move stale item debrep/dists/buster-proposed-updates/InRelease out of the way: No such file or directory
Tue Aug 31 10:18:51 2021|Failed to move stale item debrep/dists/bullseye-proposed-updates/InRelease out of the way: No such file or directory


Regards
Harri

Harald Dunkel

unread,
Aug 31, 2021, 5:40:04 AM8/31/21
to
PPS: Using ftp2.de.debian.org instead of deb.debian.org there
is no such problem.

% host deb.debian.org
deb.debian.org is an alias for debian.map.fastlydns.net.
debian.map.fastlydns.net has address 151.101.14.132
debian.map.fastlydns.net has IPv6 address 2a04:4e42:3::644

% host ftp2.de.debian.org
ftp2.de.debian.org is an alias for ftp.halifax.rwth-aachen.de.
ftp.halifax.rwth-aachen.de has address 137.226.34.46
ftp.halifax.rwth-aachen.de has IPv6 address 2a00:8a60:e012:a00::21
0 new messages