On Sun, 02 Aug 2009 01:20 +0200, "Sylvain Le Gall" <gil...@debian.org>
wrote:
> In gmane.linux.debian.user, you wrote:
> >> >
> >> 
> >> You can try using "curl http://.../Packages..."; from the machine
> >> hosting approx, even if it sounds weird it can give you hints on what is
> >> happening (I say curl because approx use curl). If the problem is at the
> >> download level, there is probably a problem with curl from this specific
> >> computer. The same problem can disappear using apt/wget/iceweasel/...
> >> from the same machine. 
> >
> > Sorry, this got put on the back burner for a couple 
> > of days. Things seem to have worked themselves out 
> > on the server itself (lenny).  I tried running curl 
> > on the cl. That worked, so I tried aptitude update 
> > with sources.list pointing to the localhost approx 
> > proxy.  Don't understand why, but it is working.
> >
> > The problem persists from a remote client (a squeeze box),
> > though.  Packages file downloads variously to between 4 & 
> > 6 per cent, then the download stalls for a minute or two.  
> > The partially downloaded file then disappears and returns 
> > as a zero length file which then downloads to between 4 & 6 per cent ...
> >
> >> 
> >> Another point is to look at the log in /var/log/* to see what happens
> >> when the problem appears. You will probably find there some valuable
> >> information (error messages...).
> >
> > And you were right:
> >
> > approx: Nethttpd: Uncaught exception:
> > Nethttpd_types.Standard_response(-358247754, 0, 0)
> >
> > appears over and over again in /var/log/syslog when the remote
> > clients chokes and starts the download over.  Googling that only
> > turned up one bug report that seems to my naive eye to not
> > be a related problem, and anyway, was fixed in approx 3.3.0 
> > which is what I am running.
> >
> > Does the nethttpd error mean anything to anyone?
> 
> Nethttpd server is probably not complete enough to answer specific
> option used by aptitude... 
> 
> Can you try a simple "apt-get update" 

Same result, gets to about 4 or 6 % then tanks.
Noticed a new message in the logs:

approx: Removing
debian/dists/squeeze/main/binary-i386/Packages.3038.588984013 (size:
421116)
approx: Nethttpd: Uncaught exception:
Nethttpd_types.Standard_response(-358247754, 0, 0)

> or "curl
> http://host:port/.../Packages"; from the squeeze box (where host/port
> match approx host/port).

Same thing, except I used wget instead of curl.

It also seems that things are not so rosy on the
server itself.  I ran "aptitude build-dep approx"
to try and solve the other part of my problem
(approx-import missing from v3.3.0).  One of the 
things it wanted to install is ocaml-interp.  At
about 33% downloaded this tanks with the same 
type of message:

approx: Removing
debian/pool/main/o/ocaml/ocaml-interp_3.10.2-3_amd64.3018.199742079
(size: 400459)
approx: Nethttpd: Uncaught exception:
Nethttpd_types.Standard_response(-358247754, 0, 0)


willy
-- 
  
  whollyg...@letterboxes.org

-- 
http://www.fastmail.fm - A fast, anti-spam email service.


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

Reply via email to