Package: apt-cacher
Version: 1.7.10+deb8u2
Severity: important

Dear Maintainer,

Greetings, I have the most current apt-cacher in the raspbian repository, using 
armhf.
I found ticket #755184 which seems to be the same problem but reported at a 
different version number. 
When trying to perform apt-get on a large package that is not in the cache the 
download will begin then fail and start over again, repetedly.
doing tail on the error file and watch on the file being downloaded the error 
msg happens at the same time as the file size being reset to 0B.
Wed Aug 30 02:07:26 2017|info [9904]: ALARM! 
/mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/wolfram-engine_11.0.1+2017031701_armhf.deb
 file size mismatch (found 5259264, expected 240084788). Renaming to 
/mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/wolfram-engine_11.0.1+2017031701_armhf.deb.corrupted.

I have squid and apt-cacher installed on the same server, at first I thought 
they were in conflict but with further anylsis squid is not involved at all. I 
tried to route the traffic through squid using http_proxy = 127.0.0.1:8080 and 
127.0.0.1:80 and 10.1.0.1:8080 and 10.1.0.1:80 but all of those attempts 
received a 503. Can apt-cacher use squid on the same server? I would like to 
use this feature while this bug is being looked at, maybe even perminently. 
What am I doing wrong with that? I changed the squid port to 8080 btw. The 
private address the server uses is 10.1.0.1.
The problem is reproducable on any large file. 

I can see that the debian distro has newer versions of the package than the 
raspbian distro does, should I assume that the raspbain distro just needs to be 
updated? can you assist with the proxy problem?

-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv7l

Kernel: Linux 4.9.35-v7+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=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.56+deb8u1
ii  ed                     1.10-2
ii  libdpkg-perl           1.17.27
ii  libfilesys-df-perl     0.92-5+b1
ii  libfreezethaw-perl     0.5001-1
ii  libio-interface-perl   1.07-2+b1
ii  libipc-shareable-perl  0.61-1
ii  libnetaddr-ip-perl     4.075+dfsg-1+b1
ii  libsys-syscall-perl    0.25-2+deb8u1
ii  libwww-curl-perl       4.17-1+b1
ii  libwww-perl            6.08-1
ii  lsb-base               4.1+Debian13+rpi1+nmu1
pn  perl:any               <none>
ii  ucf                    3.0030
ii  update-inetd           4.43

Versions of packages apt-cacher recommends:
ii  libberkeleydb-perl  0.54-2+b1

Versions of packages apt-cacher suggests:
pn  libio-socket-inet6-perl  <none>

-- Configuration Files:
/etc/apt-cacher/apt-cacher.conf changed:
cache_dir = /mnt/addon/apt-cacher-cache
daemon_port = 3142
group = root
user = root
daemon_addr = 10.1.0.1
distinct_namespaces = 1
allowed_hosts = *
supported_archs = avr32, amd64, alpha, arm, arm64, armel, armhf, hppa, 
hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, m32r, m68k, mips, mipsel, 
netbsd-alpha, netbsd-i386, powerpc, powerpcspe, ppc64, s390, s390x, sh4, sparc, 
sparc64, x32
ubuntu_release_names = dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, 
karmic, lucid, maverick, natty, oneiric, precise, quantal, raring, saucy, 
trusty, utopic
generate_reports = 1


-- debconf information:
* apt-cacher/mode: daemon

Reply via email to