[Bug 1430017] [NEW] Error parsing the list of packages to install

Leo Arias leo.arias at canonical.com
Mon Mar 9 20:59:11 UTC 2015


Public bug reported:

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].

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "trace"
   https://bugs.launchpad.net/bugs/1430017/+attachment/4339249/+files/trace

-- 
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:
  New

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