Public bug reported: Binary package hint: python-apt
python-apt's notion of an "installed" package is a single apt.package.Version object, which has a single 'architecture' attribute. With the introduction of multiarch, it's possible for multiple architectures of a package to be installed at the same time on the system, and this needs to be queryable somehow through the python api. It seems to me that this information doesn't belong as a list of architectures attached to a Version object, since a Version object gets used in various contexts where this doesn't make sense; so instead I guess we want a list of Version objects, which makes for a backwards- incompatible api change unless this multiarch data is included under a new name with 'installed' kept for backwards compatibility. 'multiarch_installed'? Or break the API? I'm happy to do some work on this, but would like guidance from the maintainers. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: python-apt 0.7.96.1ubuntu11 ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8 Uname: Linux 2.6.35-24-generic x86_64 Architecture: amd64 Date: Sat Jan 15 19:32:44 2011 InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1) ProcEnviron: PATH=(custom, user) LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: python-apt ** Affects: python-apt (Ubuntu) Importance: Wishlist Status: New ** Tags: amd64 apport-bug maverick -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/703472 Title: apt.Package.installed is not multiarch-capable -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs