You were in my spam box, I apologize.

On Sat, Sep 2, 2017 at 1:15 AM, Michael Goff <[email protected]> wrote:
> Sorry for the long reply. Your response did not go to my e-mail for some 
> reason.
>
> "Are you sure there is enough space on the partition to cache a 240MB
> package?" yes the partition is only 5% full.
>
> "You can use wget to do a single manual file request." yes wget works
> and is quite fast.
>
> "can you send /var/log/apt-cacher/error.log with debugging enabled for
> a single file." yes I will attach the log file but I'm not sure how to
> get the debug option.
>
> "Yes, I have used apt-cacher with an upstream cache with no problems."
> On the same server? I have verified to the best of my ability that
> apt-cacher is not using the proxy with the proxy setting disabled.
> With the setting enabled I only get the error msg. I'm not sure how to
> fix that.
>
> "You need to see if apt-cacher is returning the 503 or if squid is not
> configured correctly" Squid works for web traffic and wget but is not
> currently in the loop for the apt-cacher.
>
> "Define large" >20MB. I got to 200 MB of 240MB once. I was sad...
> Most files under 20MB generally do not have issues but I have seen it
> fail on a 3MB file once, but then on the next attempt it worked.
>
> I hope I have answered all your questions. Thank you for assisting me
> with this problem. Have a nice day.
>
>
> log excerpt:
> Sat Sep  2 00:54:40 2017|info [22788]: Warning: libcurl failed for
> http://archive.raspberrypi.org/debian/pool/main/k/kodi/kodi-bin_17.3-1~jessie_armhf.deb
> with status Transferred a partial file
> Sat Sep  2 00:54:40 2017|info [22787]: ALARM!
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi-bin_17.3-1~jessie_armhf.deb
> file size mismatch (found 15392768, expected 30444032). Renaming to
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi-bin_17.3-1~jessie_armhf.deb.corrupted.
> Sat Sep  2 01:00:08 2017|info [22836]: Warning: libcurl failed for
> http://archive.raspberrypi.org/debian/pool/main/k/kodi/kodi_17.3-1~jessie_all.deb
> with status Transferred a partial file
> Sat Sep  2 01:00:08 2017|info [22791]: ALARM!
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi_17.3-1~jessie_all.deb
> file size mismatch (found 15810560, expected 23502300). Renaming to
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi_17.3-1~jessie_all.deb.corrupted.
> Sat Sep  2 01:01:11 2017|info [22854]: Warning: libcurl failed for
> http://archive.raspberrypi.org/debian/pool/main/k/kodi/kodi_17.3-1~jessie_all.deb
> with status Transferred a partial file
> Sat Sep  2 01:01:11 2017|info [22853]: ALARM!
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi_17.3-1~jessie_all.deb
> file size mismatch (found 589824, expected 23502300). Renaming to
> /mnt/addon/apt-cacher-cache/packages/archive.raspberrypi.org_debian/kodi_17.3-1~jessie_all.deb.corrupted.
>
> On Thu, Aug 31, 2017 at 12:44 PM, michael goff
> <[email protected]> wrote:
>> 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