Error parsing the list of packages to install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
High
|
Martin Pitt |
Bug Description
Today I added a requirement that it's not installed in the phone image, and got:
File "/usr/lib/
raise ValueError("Invalid version string %r" % version)
Attaches is the full trace.
This is the debian/
Tests: ota_basic
Restrictions: needs-root allow-stderr
Depends: system-image-dbus (>=3.0)
What I found debugging is that when adt-run is parsing the missing dependencies, it runs:
adt-run: DBG: testbed command ['apt-get', '--quiet', '--simulate', '--no-remove', '-o', 'Debug:
that returns: Inst system-image-dbus [2.5-0ubuntu1] (3.0b3-0ubuntu2 system-image testing:15.04/vivid [all]) []
which returns:
Inst system-image-dbus [2.5-0ubuntu1] (3.0b3-0ubuntu2 system-image testing:15.04/vivid [all]) []
adt is not expecting the [2.5-0ubuntu1]
so instead of returning 3.0b3-0ubuntu2 as the version, it's returning 2.5-0ubuntu1].
Changed in autopkgtest (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Martin Pitt (pitti) |
http:// anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=4e424cd9b2