[ubuntu-dev] Bug#717861: python-apt mishandles the architecture-specific dependency qualifiers

Luca Falavigna dktrkranz at debian.org
Sat Aug 3 12:02:28 UTC 2013


reassign 717861 python-apt
found 717861 0.8.8.2
retitle 717861 python-apt mishandles the architecture-specific
dependency qualifiers
thanks


This is a bug in python-apt instead:

$ python
Python 2.7.5+ (default, Jun 13 2013, 13:26:49)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from apt.cache import Cache
>>> from apt.debfile import DebPackage
>>>
>>> cache = Cache()
>>> deb = DebPackage('testdep-same-arch_1.0-1_i386.deb', cache)
>>> if deb.check():
...     print 'Installable'
... else:
...     print 'Not installable'
...
Not installable
>>>



More information about the ubuntu-dev-team mailing list