Package: apt-cross
Version: 0.4.0
Severity: important

I'm trying to make apt-cross work. But every time I invoke it it hangs
after having downloaded the .deb. It gets the file from the APT server
(actually, my computer's mirror), but it doesn't save it to the disk.
It just creates a file with the correct name, but empty.

$ rm libc6_2.6.1-6_arm.deb      # Just to be sure!
$ apt-cross -v -v -v -a arm -g libc6 
[...]
Checking if libc6 (2.6.1-6) is installed . . . no.
apt-get  -q=2  -o APT::Get::Assume-Yes=yes  -o APT::Get::Print-URIs=yes  -o 
APT::Get::Download-Only=yes   -o Apt::Architecture=arm -o 
APT::Get::List-Cleanup=off -o Apt::Install-Recommends=false -o 
Dir=/home/giovanni/.apt-cross -o Dir::Etc=/home/giovanni/.apt-cross -o 
Dir::Etc::SourceList=sources.unstable -o Dir::State=unstable -o 
Dir::State::Status=/home/giovanni/.apt-cross/status -o Dir::Cache=unstable 
install libc6
Checking for libc6_2.6.1-6_arm.deb
http://127.0.0.1:3142/ftp.it.debian.org/debian/pool/main/g/gcc-4.2/gcc-4.2-base_4.2.2-3_arm.deb.
Checking for libc6_2.6.1-6_arm.deb
http://127.0.0.1:3142/ftp.it.debian.org/debian/pool/main/g/gcc-4.2/libgcc1_4.2.2-3_arm.deb.
Checking for libc6_2.6.1-6_arm.deb
http://127.0.0.1:3142/ftp.it.debian.org/debian/pool/main/g/glibc/libc6_2.6.1-6_arm.deb.
Filename: libc6_2.6.1-6_arm.deb
[Then it hangs and I have to Control-C it]
$ ls -l libc6_2.6.1-6_arm.deb 
-rw-r--r-- 1 giovanni giovanni 0 2007-11-16 20:40 libc6_2.6.1-6_arm.deb
$ 

With strace:

$ rm libc6_2.6.1-6_arm.deb 
$ strace apt-cross -a arm -g libc6 
[...]
write(22, "GET /ftp.it.debian.org/debian/po"..., 134) = 134
read(22, "HTTP/1.1 200 OK\nConnection: Keep"..., 8192) = 8192
read(22, "\37F4\204_\3\232D\320\240\33 )\"T\355\33\235~\315S\21\n"..., 8192) = 
8192
[...]
read(22, "\342\324\326d\350\264\214\335\2051\225B}\300\376\302\243"..., 8192) = 
8192
mremap(0xb60ac000, 4665344, 4673536, MREMAP_MAYMOVE) = 0xb60ac000
read(22, "R\177C\337`}\33\372\205\210\333\201>2N\251\177/E\307p\347"..., 8192) 
= 4096
mremap(0xb60ac000, 4673536, 4677632, MREMAP_MAYMOVE) = 0xb60ac000
read(22, "\242\331\323\207\25\25\f)\232]<\177\201\210\366\306\177"..., 8192) = 
1604
mremap(0xb60ac000, 4677632, 4677632, MREMAP_MAYMOVE) = 0xb60ac000
read(22,  <unfinished ...>
[Control-C triggered again]
$ ls -l libc6_2.6.1-6_arm.deb 
-rw-r--r-- 1 giovanni giovanni 0 2007-11-16 20:43 libc6_2.6.1-6_arm.deb
$ 

Am I doing any mistake? If you need complete logs, just ask me! I
haven't pasted them because I think they're not important.
Thank you, Giovanni.

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.22-3-686

Debian Release: lenny/sid
  500 unstable        127.0.0.1 
  500 testing         127.0.0.1 
  500 stable          wine.budgetdedicated.com 
  500 stable          127.0.0.1 

--- Package information. ---
Depends                 (Version) | Installed
=================================-+-============
perl                              | 5.8.8-12
apt                               | 0.7.9
dpkg-cross             (>= 2.0.0) | 2.0.1
dpkg-dev              (>= 1.14.7) | 1.14.7
libwww-perl                       | 5.805-1
sudo                              | 1.6.9p6-1
libcache-apt-perl       (= 0.4.0) | 0.4.0
-- 
Giovanni Mascellani <[EMAIL PROTECTED]>
Pisa, Italy

Web: http://giomasce.altervista.org
SIP: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED] / [EMAIL PROTECTED]
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)

Attachment: signature.asc
Description: PGP signature

Reply via email to