python-apt returns architecture == host arch instead of "all"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Image Tools |
Invalid
|
High
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
High
|
Steve Langasek |
Bug Description
Hi
testr run
running=python -m subunit.run tests.test_suite| testr load
=======
FAIL: hwpack.
-------
Text attachment: traceback
------------
Traceback (most recent call last):
File "/usr/lib/
return fn(*args, **kwargs)
File "/usr/lib/
return self._get_
File "hwpack/
sources_dict, package_
File "/usr/lib/
% (matchee, matcher, mismatch.
AssertionError: Match failed. Matchee: "hwpack_
Matcher: Is a valid hardware pack.
Difference: Differences: [
Differences: [
Differences: [
'all' != u'armel': architecture
]
]
: There was 1 mismatch: The content of path "pkgs/Packages" did not match
]
------------
[...]
id=20, tests=417, failures=26
I guess this is a recent change in apt; it might be an apt bug.
Cheers,
Related branches
Changed in linaro-image-tools: | |
importance: | Undecided → High |
summary: |
- hwpack tests fail with newest apt + python-apt returns architecture == host arch instead of "all" |
Changed in apt (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
This is caused by a bug in apt (or python-apt), where it now returns the host architecture rather
than "all" for Architecture: all packages.
Thanks,
James