[Bug 1430017] Re: Error parsing the list of packages to install
Leo Arias
leo.arias at canonical.com
Tue Mar 10 14:11:28 UTC 2015
There is a typo on that fix. Instead of taking the token with index 2,
we need to take the token with index 3.
** Patch added: "0001-Fixed-typo-on-package-parsing-for-third-party-source.patch"
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1430017/+attachment/4339990/+files/0001-Fixed-typo-on-package-parsing-for-third-party-source.patch
--
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 Committed
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