On Fri, 16 Nov 2007 20:49:21 +0100 Giovanni Mascellani <[EMAIL PROTECTED]> wrote:
> Package: apt-cross > Version: 0.4.0 > > I'm trying to make apt-cross work. But every time I invoke it it hangs > after having downloaded the .deb. >From the output you give, it is happening before or during the download, not after. You may be expecting the download to take less time than required. > It gets the file from the APT server > (actually, my computer's mirror), but it doesn't save it to the disk. This task is handled by the LWP::Simple module (libwww-perl) so you can test whether the path is actually accessible using: perl -MLWP::Simple -e "get '$path'" in your case perl -MLWP::Simple -e "get 'http://127.0.0.1:3142/ftp.it.debian.org/debian/pool/main/g/glibc/libc6_2.6.1-6_arm.deb'" http://search.cpan.org/~gaas/libwww-perl-5.808/lib/LWP/Simple.pm I suspect that something in your local arrangement is preventing LWP from working on that URL. Maybe try using port 80. > It just creates a file with the correct name, but empty. I suspect that it is your local proxy arrangements that are the cause. > Filename: libc6_2.6.1-6_arm.deb > [Then it hangs and I have to Control-C it] Currently, there is no progress indicator for this stage (which is where the actual download takes place using LWP::Simple) so how long are you waiting? > Am I doing any mistake? Your local apt mirror setup does seem strange. -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgp6BFWc9PJKh.pgp
Description: PGP signature