Hi! I've been hit by this issue while installing an Ubuntu Dapper with the text mode debian-installer. I was unable to figure out why apt was sending full URIs to appprox, so I made a quick and dirty patch to approx which fixes this issue.
I'm sending it here for the record, but I don't know if it's worth re-opening the bug, so I'm leaving it as is. Regards, -- Jérémy
--- approx-2.06.orig/approx.ml 2006-04-28 19:19:27.000000000 +0200 +++ approx-2.06/approx.ml 2006-07-31 00:12:08.000000000 +0200 @@ -452,9 +452,11 @@ end end -let validate_path path = +let rec validate_path path = let name = relative_path path in match explode_path name with + (* Handle full URLs by dropping the first URL parts *) + | "http:" :: _ :: _ :: rest -> validate_path (implode_path rest) | dir :: rest -> (try name, implode_path (Config.get dir :: rest) with Not_found ->
signature.asc
Description: Digital signature