Bug#590041: Mishandles Packages.gz from other archs
Package: apt
Version: 0.7.26~exp10
Severity: normal
Hi,
I have apt configured with Apt::Architectures = { "amd64"; "armel"; }
and a Apt::Post-Update hook that transforms the armel Packages.gz file
into something suitable for cross-compiling. But all packages that are
not Architecture: all are ignored from
ftp.de.debian.org_debian_dists_sid_main_binary-armel_Packages.
Replacing the amd64 Packages file with the armel one makes all
packages suddenly appear.
As a testcase I have stripped down the Packages files to bare minimum:
# ls -lh /var/lib/apt/lists/*Packages
-rw-r--r-- 1 root root 0 Jul 23 06:51 ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages
-rw-r--r-- 1 root root 3.5K Jul 23 06:50 ftp.de.debian.org_debian_dists_sid_main_binary-armel_Packages
# grep-dctrl "" -s Package,Architecture,Version ftp.de.debian.org_debian_dists_sid_main_binary-armel_Packages
Package: banshee-extension-telepathy
Architecture: all
Version: 1.6.1-1
Package: libc6-armel-cross
Architecture: amd64
Version: 2.11.2-2~0.2
# apt-cache show banshee-extension-telepathy
Package: banshee-extension-telepathy
Architecture: all
Version: 1.6.1-1
...
# apt-cache show libc6-armel-cross
E: Can't select versions from package 'libc6-armel-cross' as it purely virtual
E: No packages found
# cp /var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-armel_Packages /var/lib/apt/lists/ftp.de.debian.org_debian_dists_sid_main_binary-amd64_Packages
# apt-cache show libc6-armel-cross
Package: libc6-armel-cross
Architecture: amd64
Version: 2.11.2-2~0.2
...
This is a big regression from previous experimental versions.
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
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
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.11.1-3 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-5 GCC support library
ii libstdc++6 4.4.4-5 The GNU Standard C++ Library v3
apt recommends no packages.
Versions of packages apt suggests:
ii apt-doc 0.7.25.3 Documentation for APT
ii aptitude 0.6.3-3 terminal-based package manager (te
ii bzip2 1.0.5-4 high-quality block-sorting file co
ii dpkg-dev 1.15.7.2 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
Package: banshee-extension-telepathy
Architecture: all
Version: 1.6.1-1
Conflicts: libc6-i386 (<< 2.9-18), ia32-libs, ia32-libs-gtk
Depends: banshee-extensions-common (= 1.6.1-1), empathy (>= 2.27.91), telepathy-gabble (>= 0.9), telepathy-mission-control-5 (>= 5.3.1), libc6-armel-cross (>= 2.11~0.2) | libc6.1-armel-cross (>= 2.11~0.2) | libc0.1-armel-cross (>= 2.11~0.2), libglib2.0-0-armel-cross (>= 2.24.0~0.2), libglib2.0-cil-armel-cross (>= 2.12.10~0.2), libgtk2.0-cil-armel-cross (>= 2.12.10~0.2), libmono-addins0.2-cil (>= 0.4), libmono-corlib2.0-cil (>= 1.2.2.1), libmono-posix2.0-cil (>= 2.4), libmono-system-data2.0-cil (>= 1.2.6), libmono-system2.0-cil (>= 2.4.3), libnotify0.4-cil (>= 0.4.0~r2998)
Provides: ia32-abi, ia32-abi-1
Replaces: ia32-libs, ia32-libs-gtk
Description: Telepathy extension for Banshee
This extension provides integration between the Empathy instant messenger and
Banshee. It provides the following features:
.
* Download your friends' Banshee library metadata and check out what they
listen to, their ratings, BPM values, etc.
* View your friends' playlists and export them to disk
* Share what you're listening to with all your instant messaging friends by
advertising the track, artist, and album of the currently playing track in
Empathy's status message. This can be disabled.
* Download your friends' music; one track at a time or a selection. You can
cancel ones in progress, queued, individually or all at once. The sender has
the option to cancel all in progress or queued transfers only. Both sender
and receiver get a progress bar. File sharing can be disabled.
* Stream your friends' music. This feature can be disabled.
.
Banshee is a media management and playback application for the GNOME desktop.
Filename: pool/main/b/banshee-community-extensions/banshee-extension-telepathy_1.6.1-1_all.deb
Homepage: http://gitorious.org/banshee-community-extensions
Installed-Size: 404
MD5sum: fb1f3f35e5817516f9b3cd5c642e79d0
Maintainer: Debian CLI Applications Team <pkg-cli-apps-team@lists.alioth.debian.org>
Priority: optional
SHA1: 068aafd619fac22d66dc2eb36b5d4be0ef6a9010
SHA256: ab77a99e9d5acd24ccaf241528699ad17f8382e1cf951606c0d36f74afa72979
Section: gnome
Size: 147966
Source: banshee-community-extensions (1.6.1-1)
Package: libc6-armel-cross
Architecture: amd64
Version: 2.11.2-2~0.2
Breaks: locales (<< 2.11), locales-all (<< 2.11), nscd (<< 2.11)
Conflicts: tzdata (<< 2007k-1), tzdata-etch, libc6-i386 (<< 2.9-18), ia32-libs, ia32-libs-gtk
Depends: libc-bin (= 2.11.2-2), libgcc1-armel-cross
Provides: glibc-2.11-1, ia32-abi, ia32-abi-1
Replaces: ia32-libs, ia32-libs-gtk
Suggests: glibc-doc, debconf | debconf-2.0, locales
Description: Embedded GNU C Library: Shared libraries
Contains the standard libraries that are used by nearly all programs on
the system. This package includes shared versions of the standard C library
and the standard math library, as well as many others.
Filename: pool/main/e/eglibc/libc6_2.11.2-2_armel.deb
Homepage: http://www.eglibc.org
Installed-Size: 9740
MD5sum: f5b878ce5fb8aa01a7927fa1460df537
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Priority: required
SHA1: 0464d597dfbf949e8c17a42325b1f93fb4914afd
SHA256: faca4a3d9ccff57568abf41f6cb81ddd835be7b5d8b0161e2d5f9a7f26aae3c0
Section: libs
Size: 4178958
Source: eglibc (2.11.2-2)
Tag: devel::lang:c, devel::library, implemented-in::c, protocol::ipv6, role::shared-lib, suite::gnu
Reply to: