Don't pick transitional -dbg over -dbgsym
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Quoting Brian Murray: When trying to add a test like
$ bzr diff test/test_
=== modified file 'test/test_
--- test/test_
+++ test/test_
@@ -848,7 +848,9 @@
- '2.0.0+
+ '2.0.0+
+ ('unity-services',
+ '7.2.5+
def sandbox_ver(pkg, debian=True):
@@ -884,6 +886,8 @@
+ self.assertIn(
+ pkglist)
# caches packages, and their versions are as expected
cache = os.listdir(
This fails with
AssertionError: 'unity-
not found in ['distro-info-data 0.18ubuntu0.2', 'oxideqt-codecs
1.6.6-0ubuntu0.
'unity-2d-dbg 7.2.5+14.
7.2.5+14.
unity-2d-dbg is just a transitional package, and shouldn't trump the -dbgsym package. We need some heuristic there, like "transitional" in the package description, or size being < 10 kB.
Related branches
Changed in apport (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Martin Pitt (pitti) |
Fixed in trunk r2977.