So I have the problem again this morning. This time I doublechecked
all of my sources.list:

# grep "^deb" /etc/apt/sources.list
deb http://proxy:9999/debian unstable main contrib non-free
deb http://proxy:9999/debian experimental main
deb-src http://proxy:9999/debian unstable main contrib non-free
deb http://proxy:9999/security sarge/updates main contrib non-free
deb http://proxy:9999/mplayer sid main
deb-src http://proxy:9999/mplayer sid main
deb file:///disk1/test-repo/crbg sid main
deb file:///disk1/test-repo/public sid main

And this is an example dialogue, captured with tcpdump
>>>>>>>>>>>>>>>>>>>>>>>
GET http://proxy:9999/mplayer/dists/sid/main/source/Sources.gz.HTTP/1.1
Host:.proxy:9999
Cache-Control: max-age=0
User-Agent: Debian.APT-HTTP/1.3

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
HTTP/1.1.403 Forbidden

Content-type text/html
Content-Length: 77
Date: Mon, 27 Mar 2006 06:38:13 GMT
Server: Ocamlnet_Nethttpd

<html><title>403 Forbidden</title><body><h1>403:
Forbidden</h1></body></html>
================================

I don't know why, but aptitude/apt-get seem to use full URIs in its
http requests.

Here's what approx logs (debug=true, timestamp, hostname and "approx:"
header stripped)
=======================================
Connection from 192.168.110.32:53030
Request http://proxy:9999/mplayer/dists/sid/main/source/Sources.gz
  Host: proxy:9999
  Cache-Control: max-age=0
  User-Agent: Debian APT-HTTP/1.3
no remote repository found for http:
========================================

My (missing) Ocaml skills lead me to util.ml(25) where the request URI
is split by "/" and first compoment is used in approx.ml(463).

I can't figure out how to fix it, however.


Thanks,
dam
-- 
Damyan Ivanov                              Creditreform Bulgaria
[EMAIL PROTECTED]              http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993            fax: +359(2)920-0994
mob. +359(88)856-6067               [EMAIL PROTECTED]/Gaim

-- 
Damyan Ivanov                              Creditreform Bulgaria
[EMAIL PROTECTED]              http://www.creditreform.bg/
phone: +359(2)928-2611, 929-3993            fax: +359(2)920-0994
mob. +359(88)856-6067               [EMAIL PROTECTED]/Gaim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to