Error parsing the list of packages to install
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | autopkgtest (Ubuntu) |
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].
| Leo Arias (elopio) wrote : | #1 |
| Changed in autopkgtest (Ubuntu): | |
| status: | New → In Progress |
| importance: | Undecided → High |
| assignee: | nobody → Martin Pitt (pitti) |
| Leo Arias (elopio) wrote : | #3 |
There is a typo on that fix. Instead of taking the token with index 2, we need to take the token with index 3.
| Martin Pitt (pitti) wrote : | #4 |
Thanks Leo! Applied to git.
The attachment "0001-Fixed-
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]
| tags: | added: patch |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package autopkgtest - 3.12
---------------
autopkgtest (3.12) unstable; urgency=medium
* ssh-setup/adb: Re-enable ssh after reboot, in case an upgrade disables it.
* ssh-setup/adb: Try to create /userdata/
rebooting without human interaction.
* Fix apt-get install --simulate version parsing with third-party sources.
(LP: #1430017)
* ssh-setup-nova: Add --security-groups option. (LP: #1429862)
* adt-buildvm-
verbose mode, this sometimes causes hangs. Go back to blocking reads, but
don't wait between them.
* Fix UnicodeDecodeError on .deb package name reading. (LP: #1430773)
* adt-virt-ssh: Export $SUDO_ASKPASS to tests if sudo is available.
(LP: #1431421)
-- Martin Pitt <email address hidden> Fri, 13 Mar 2015 12:52:49 +0100
| Changed in autopkgtest (Ubuntu): | |
| status: | Fix Committed → Fix Released |


http:// anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=4e424cd9b2