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

Bug #1313699 reported by Michael Schaller
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
Medium
Unassigned

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

Tags: trusty
Michael Vogt (mvo)
Changed in python-apt (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
status: In Progress → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

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 <email address hidden> Wed, 17 Jun 2015 18:28:44 +0200

Changed in python-apt (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.