← Back to team overview

touch-packages team mailing list archive

[Bug 1313699] Re: apt.package.Package.installed_files method has a multiarch bug

 

This bug was fixed in the package python-apt - 1.0.0~beta3

---------------
python-apt (1.0.0~beta3) unstable; urgency=medium

  * tests/test_paths.py: Catch and assert the DeprecationWarning
  * setup.py: If no version is in the environment, return None
  * doc/source/library/apt_pkg.rst: Fix an example from old API to new API
  * apt.cache.FilteredCache: Fix multi-arch package lookups
  * apt.Cache: Introduce a connect2() callback connector
  * Break the FilteredCache <-> Cache reference cycle
  * apt.Cache: Issue a RuntimeWarning in connect()
  * doc: whatsnew: Document what's new in beta3

 -- Julian Andres Klode <jak@xxxxxxxxxx>  Wed, 17 Jun 2015 18:28:44
+0200

** Changed in: python-apt (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python-apt in Ubuntu.
https://bugs.launchpad.net/bugs/1313699

Title:
  apt.package.Package.installed_files method has a multiarch bug

Status in python-apt package in Ubuntu:
  Fix Released

Bug description:
  Hi everyone,

  Trusty's version of python-apt (0.9.3.5) has a multiarch bug in the
  method apt.package.Package.installed_files.

  The current source code is:
  for name in self.shortname, self.fullname:

  The correct source code would be:
  for name in self.name, self.fullname:

  
  The issue with the current code is that if I want to get the installed files of a package with foreign arch that I would most likely get the installed files of the package with the native arch.

  Best,

  Michael

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1313699/+subscriptions