[Bug 1430017] Re: Error parsing the list of packages to install
Launchpad Bug Tracker
1430017 at bugs.launchpad.net
Fri Mar 13 18:07:58 UTC 2015
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/.adb_onlock, to get adb after
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-ubuntu-cloud: Avoid non-blocking reads from the socket in
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 <mpitt at debian.org> Fri, 13 Mar 2015 12:52:49 +0100
** Changed in: autopkgtest (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1430017
Title:
Error parsing the list of packages to install
Status in autopkgtest package in Ubuntu:
Fix Released
Bug description:
Today I added a requirement that it's not installed in the phone
image, and got:
File "/usr/lib/python3/dist-packages/debian/debian_support.py", line 116, in _set_full_version
raise ValueError("Invalid version string %r" % version)
Attaches is the full trace.
This is the debian/tests/control:
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::pkgProblemResolver=true', '-o', 'Debug::NoLocking=true', '-o', 'APT::Install-Recommends=False', '-o', 'APT::Get::Show-User-Simulation-Note=False', 'install', 'system-image-dbus'], kind short, sout pipe, serr raw, env ['LANG=C.UTF-8']
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].
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1430017/+subscriptions
More information about the foundations-bugs
mailing list