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

Michael Schaller misch at google.com
Mon Apr 28 12:36:36 UTC 2014


Public bug reported:

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

** Affects: python-apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: trusty

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  New

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



More information about the foundations-bugs mailing list