Re: apt-get and proxy
On Wed, 13 Sep 2000, Andreas Tille wrote:
> I'm in real trouble with apt-get and a squid proxy. First of all
> I found out that in contrast to the manual of apt.conf the environment
> variables
Uh..
Wakko{root}~/work/apt2/build/bin#http_proxy="http://void" apt-get install apt
Reading Package Lists... Done
Building Dependency Tree... Done
1 packages upgraded, 0 newly installed, 0 to remove and 362 not upgraded.
Need to get 483kB of archives. After unpacking 142kB will be used.
Err http://sunsite.ualberta.ca woody/main apt 0.3.19
Could not resolve 'void'
Maybe your shell is foobar <shrug>
> Unfortunately I've got MD5 sum errors for all files I got via
> apt-get install
> which remained in /var/cache/apt/archives/partial if the sources.list
Well, this means the bits that were pulled down don't match the what the
Package file claims. Should never ever happen of course.
> file enforced http-protocol instead of ftp. But all files where OK
> and I could cmp them perfectly to files I got "by hand". I could
Run md5sum on the files in partial and check against the Package file.
Your cache may be caching a corrupted file or the end servers
just might be bad <shrug>. Heck, you might have a 1 bit error that isn't
within any compressed data. So it eludes gzip's CRC.
If they do match, then congrats, you found a bug - though due to the way
the code is that would be .. interesting ..
> perfectly install them via "dpkg -i". I guess that the squid-proxy
> prevents a MD5 validation.
Nope, impossible.
> I've thought I could get rid off this problem using ftp-protocol
> in sources.list entries, because the MD5 problem vanished. Today I
> recogniced that the cache is ignored and files are obtained everytime
> from the far host instead of using the squid-cache.
FTP over HTTP over Squid is slightly less than desirable, I dont think
If-Modified-Since actually works (squid bug). I *don't* recommend this
configuration BTW.
> I really hope that there is anybody who can help me out this situation.
> I'm sharing a 128kByte line with many people :-(( and need the cache
> very hard.
I recommend shared NFS of /var/cache/apt/archives... Faster/better than
squid for .debs
Jason
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: