Bug#536029: support to download index files for multiple architectures
Package: apt
Version: 0.7.26~exp3
Severity: normal
Hi,
seems that while rewriting the patch you broke a few things:
1) The parser is to strict and gives bad errors:
deb [arch=amd64,i386] http://chocos/debian sid main contrib non-free
E: Malformed line 1 in source list /etc/apt/sources.list ([http://chocos/debian] is not an assignment)
It seems that there must be an explicit space after [ and before ].
2) Missing the information for which architecture a Packages file is:
Get:3 http://ftp.de.debian.org sid/main Packages [6574kB]
According to the patch description the architecture should be there
and I think I saw something for it when skimming the source
change. But it doesn't show.
3) Segfaults if an architecture is excluded
APT::Architectures={ "amd64";"i386";"armel"; };
deb [ arch=amd64,i386 ] http://chocos/debian sid main contrib non-free
zsh: segmentation fault sudo apt-get update
This downloads the amd64 and i386 Packages file and not the armel one
as instructed. But then it segfaults.
On the other hand this works:
deb [ arch=amd64,i386 ] http://chocos/debian sid main contrib non-free
deb-src http://chocos/debian sid main contrib non-free
deb [ arch=armel ] http://ftp.de.debian.org/debian sid main contrib non-free
4) Oldy but goody: E: Dynamic MMap ran out of room. Please increase the size of APT::Cache-Limit. Current value: 50331648. (man 5 apt.conf)
I guess all the extra dummy packages for arch=all flood the mmap so
again it must be increased. I'm not sure the dummy arch=all packages
is the right approach for multiarch.
MfG
Goswin
-- Package-specific info:
-- (/etc/apt/preferences present, but not submitted) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: squeeze/sid
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.6-xen-2010.02.18 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Versions of packages apt depends on:
ii debian-archive-keyring 2009.01.31 GnuPG archive keys of the Debian a
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.3-7 GCC support library
ii libstdc++6 4.4.3-7 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
ii apt-doc 0.7.25.1 Documentation for APT
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii dpkg-dev 1.15.5.6 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: