Bug#451369: aptitude: Does not show installed package with other architecture
Package: apt Followup-For: Bug #451369 Control: merge 451369 670668 The problem concerns an installed package whose architecture is not in APT::Architectures: - the package is not displayed in apt frontends, it's status can not be inspected, neither can it be removed (by the casual user); and - other packages may become dpkg uninstallable due to conflicts, multi-arch version lockstep issues, etc. which apt does not know about, can not fix, and tries to install the uninstallable packages anyway (results in dpkg errors). The very purpose of APT::Architectures is to inform apt (not dpkg) which architectures to consider. Arguably, that makes this not a bug but an unsupportable configuration. The previous suggestion from Goswin von Brederlow seems ok: the problem in 451369 is that packages that are neither APT::Architecture not all are simply ignored when parsing index files. When parsing Packages files this might be a good idea to allow for multi-architecture Packages files. When parsing /var/lib/dpkg/status it seems wrong. With that solution, at least apt remains aware of all packages which dpkg is aware of, preventing problems with installed packages (and being able to handle issues with partial installs such as [1]). I can not say whether that is a good solution or not. If not, then this report should be closed or +wontfix. [1] http://bugs.debian.org/670900 * Work-around with *proper* usage of multi-arch Follow the multi-arch usage instructions [2], adding all foreign architectures to dpkg. APT::Architectures must contain an entry for every architecture of an installed package; it is best to leave this unset since the default is ok. $ dpkg --print-architecture amd64 $ dpkg --print-foreign-architectures i386 $ apt-config dump | grep -i ^APT::Architectures:: APT::Architectures:: amd64; APT::Architectures:: i386; Configure your sources.list using the arch-qualified syntax (“[arch=amd64]”). If you want apt to download package lists for amd64, but not i386, your sources.list might be similar to this: deb [arch=amd64] http://ftp.au.debian.org/debian/ wheezy main deb [arch=amd64] http://mirror.waia.asn.au/debian/ wheezy main deb-src http://ftp.au.debian.org/debian/ wheezy main Any “deb” line which is not arch-qualified will fetch lists for all APT::Architectures. Users of stable can use this to receive security updates: deb http://security.debian.org/ wheezy/updates main [2] http://wiki.debian.org/Multiarch/HOWTO#Usage -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#451369: aptitude: Does not show installed package with other architecture
Цитат на писмо от Daniel Burrows [EMAIL PROTECTED]: On Thu, Nov 15, 2007 at 02:22:46PM +0200, Hristo Hristov [EMAIL PROTECTED] was heard to say: The package skype is now shown in aptitude. I think it might be connected to the package architecture: i386, while my install is amd64. Are you actually using a standard Debian installation with the standard versions of dpkg, apt and so on? On my system I can't install anything for other architectures (and rightly so!): [EMAIL PROTECTED]:~$ sudo dpkg -i /tmp/bld_0.3.2-3_powerpc.deb Password: dpkg: error processing /tmp/bld_0.3.2-3_powerpc.deb (--install): package architecture (powerpc) does not match system (i386) Errors were encountered while processing: /tmp/bld_0.3.2-3_powerpc.deb Does apt-cache show skype show you anything? If not, aptitude can't know about skype and I'll reassign this to apt. If it does, what does aptitude show skype say? Daniel Hello, I was using --force-architecture with dpkg to install skype. It works fine with the 32-bit libraries in Debian amd64, like ia32-libs. # apt-cache show skype W: Unable to locate package skype E: No packages found # aptitude show skype E: Unable to locate package skype I guess it is apt bug. Best regards, Hristo Hristov [EMAIL PROTECTED] -- Безплатната поща в mail.bg вече е 1GB!
Bug#451369: aptitude: Does not show installed package with other architecture
On Thu, Nov 15, 2007 at 02:22:46PM +0200, Hristo Hristov [EMAIL PROTECTED] was heard to say: The package skype is now shown in aptitude. I think it might be connected to the package architecture: i386, while my install is amd64. Are you actually using a standard Debian installation with the standard versions of dpkg, apt and so on? On my system I can't install anything for other architectures (and rightly so!): [EMAIL PROTECTED]:~$ sudo dpkg -i /tmp/bld_0.3.2-3_powerpc.deb Password: dpkg: error processing /tmp/bld_0.3.2-3_powerpc.deb (--install): package architecture (powerpc) does not match system (i386) Errors were encountered while processing: /tmp/bld_0.3.2-3_powerpc.deb Does apt-cache show skype show you anything? If not, aptitude can't know about skype and I'll reassign this to apt. If it does, what does aptitude show skype say? Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#451369: aptitude: Does not show installed package with other architecture
Package: aptitude Version: 0.4.7-1 Severity: normal The package skype is now shown in aptitude. I think it might be connected to the package architecture: i386, while my install is amd64. In aptitude I don't have the section Obsolete and Locally Created Packages. Here is dpkg output: ico-laptop:/home/xpert# dpkg -s skype Package: skype Status: install ok installed Priority: extra Section: non-free/net Installed-Size: 15907 Maintainer: Skype Technologies [EMAIL PROTECTED] Architecture: i386 Version: 1.4.0.118-1 Depends: libasound2 ( 1.0.12), libc6 (= 2.3.6-6), libgcc1 (= 1:4.1.1-12), libqt4-core (= 4.2.1), libqt4-gui (= 4.2.1), libsigc++-2.0-0c2a (= 2.0.2), libstdc++6 (= 4.1.1-12), libx11-6 Conffiles: /etc/dbus-1/system.d/skype.conf d09fd2adb2487dbaaeb97c43f6cdc08d Description: Skype - Take a deep breath . Skype is a little piece of software that lets you make free calls to anyone else on Skype, anywhere in the world. And even though the calls are free, they are really excellent quality. . * Make free Skype-to-Skype calls to anyone else, anywhere in the world. * Call ordinary phones and mobiles at pretty cheap rates per minute. * Group chat with up to 100 people or conference call with up to nine others. * Free to download. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.23-1-amd64 (SMP w/2 CPU cores) Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages aptitude depends on: ii apt [libapt-pkg-libc6.6-6 0.7.9 Advanced front-end for dpkg ii libc6 2.6.1-6GNU C Library: Shared libraries ii libgcc1 1:4.2.2-3 GCC support library ii libncursesw5 5.6+20071013-1 Shared libraries for terminal hand ii libsigc++-2.0-0c2a2.0.17-2 type-safe Signal Framework for C++ ii libstdc++64.2.2-3The GNU Standard C++ Library v3 Versions of packages aptitude recommends: pn aptitude-doc-en | aptitude-do none (no description available) pn libparse-debianchangelog-perl none (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]