On Fri, 2008-08-29 at 16:58 +0100, Wookey wrote:

First thing that stands out is:

> http://trx850/debianpool/main/libf/libfontconfig-utils/libfontconfig-utils_2.2.95-r6_arm.deb
> http://trx850/debian/pool/main/f/fontconfig/fontconfig_2.3.1-3_arm.deb

http://trx850/debianpool/
vs
http://trx850/debian/pool/

The rest of the URL matches with what the server can provide.

However, the behaviour changes according to whether the mirror is
specified with the -m option or in the sources list. (Using -m, the
server prefix is not prepended.) This means that there should be an
opportunity for apt-cross to handle such situations more smoothly.

Indeed, a single change to apt-cross:648 does allow the download:

Index: apt-cross
===================================================================
--- apt-cross   (revision 4853)
+++ apt-cross   (working copy)
@@ -645,7 +645,7 @@
                if (not defined($uri))
                {
                        print "apt methods failed for $file, falling back to 
direct cache path.\n";
-                       $uri = $server . $path;
+                       $uri = $server . "/" . $path;
                        print "Trying: path=$uri\n" if ($verbose >= 2);
                }
                $dwn_list{$pkg}=$uri;

:-)

I'll add that to 0.12.3 and try to work out why -m mode was also
failing.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to