[Bug 1271237] [NEW] precise → trusty upgrade: packages fail due to python:any dependency

Martin Pitt martin.pitt at ubuntu.com
Tue Jan 21 16:52:29 UTC 2014


Public bug reported:

During automatic upgrade tests from precise to trusty (like
http://d-jenkins.ubuntu-ci:8080/view/Upgrade/job/upgrade-ubuntu-precise-
trusty-desktop-i386_vm/2/) several packages fail due to the new
python:any dependency:

dpkg: dependency problems prevent configuration of python-aptdaemon:
 python-aptdaemon depends on python:any (>= 2.7.1-0ubuntu2).
 python-aptdaemon depends on python-apt (>= 0.8.5~ubuntu1); however:
  Version of python-apt on system is 0.8.3ubuntu7.1.
[...]
dpkg: dependency problems prevent configuration of unity:
 unity depends on python:any.
dpkg: error processing unity (--configure):
 dependency problems - leaving unconfigured

or in my manual test:

Setting up python-defer (1.0.6-2) ...
dpkg: dependency problems prevent configuration of python-dirspec:
 python-dirspec depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing package python-dirspec (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-protobuf:
 python-protobuf depends on python:any (>= 2.7.1-0ubuntu2).

dpkg: error processing package python-protobuf (--configure):
 dependency problems - leaving unconfigured
[...]
and lots more.

In some upgrades dpkg has not been upgraded yet, but at the point where
apt-get dist-upgrade finally fails it is upgraded. However, python2.7 is
not upgraded yet:

  ii  dpkg                  1.17.5ubuntu2   i386            Debian package management system
  ii  python                                 2.7.3-0ubuntu2                          i386         interactive high-level object-oriented language (default version)
  ii  python-minimal                         2.7.3-0ubuntu2                          i386         minimal subset of the Python language (default version)
  ii  python2.7                              2.7.3-0ubuntu3.4                        i386         Interactive high-level object-oriented language (version 2.7)
  ii  python2.7-minimal                      2.7.3-0ubuntu3.4                        i386         Minimal subset of the Python language (version 2.7)


and trying to clean up still fails:

$ sudo dpkg --configure -a
[...]
dpkg: dependency problems prevent configuration of python-pkg-resources:
 python-pkg-resources depends on python:any (>= 2.7).
 python-pkg-resources depends on python:any (<< 2.8).

dpkg: error processing package python-pkg-resources (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of duplicity:
 duplicity depends on python:any (>= 2.7.1-0ubuntu2).

So it seems apt needs to be nudged to upgrade python/python2.7 before
upgrading any python:any reverse dependency?

** Affects: python-defaults (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: auto-upgrade-testing ubuntu-qa upgrade

** Summary changed:

- precise → trust upgrade; several packages fail due to python:any dependency
+ precise → trusty upgrade; several packages fail due to python:any dependency

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1271237

Title:
  precise → trusty upgrade: packages fail due to python:any dependency

Status in “python-defaults” package in Ubuntu:
  New

Bug description:
  During automatic upgrade tests from precise to trusty (like
  http://d-jenkins.ubuntu-ci:8080/view/Upgrade/job/upgrade-ubuntu-
  precise-trusty-desktop-i386_vm/2/) several packages fail due to the
  new python:any dependency:

  dpkg: dependency problems prevent configuration of python-aptdaemon:
   python-aptdaemon depends on python:any (>= 2.7.1-0ubuntu2).
   python-aptdaemon depends on python-apt (>= 0.8.5~ubuntu1); however:
    Version of python-apt on system is 0.8.3ubuntu7.1.
  [...]
  dpkg: dependency problems prevent configuration of unity:
   unity depends on python:any.
  dpkg: error processing unity (--configure):
   dependency problems - leaving unconfigured

  or in my manual test:

  Setting up python-defer (1.0.6-2) ...
  dpkg: dependency problems prevent configuration of python-dirspec:
   python-dirspec depends on python:any (>= 2.7.1-0ubuntu2).

  dpkg: error processing package python-dirspec (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of python-protobuf:
   python-protobuf depends on python:any (>= 2.7.1-0ubuntu2).

  dpkg: error processing package python-protobuf (--configure):
   dependency problems - leaving unconfigured
  [...]
  and lots more.

  In some upgrades dpkg has not been upgraded yet, but at the point
  where apt-get dist-upgrade finally fails it is upgraded. However,
  python2.7 is not upgraded yet:

    ii  dpkg                  1.17.5ubuntu2   i386            Debian package management system
    ii  python                                 2.7.3-0ubuntu2                          i386         interactive high-level object-oriented language (default version)
    ii  python-minimal                         2.7.3-0ubuntu2                          i386         minimal subset of the Python language (default version)
    ii  python2.7                              2.7.3-0ubuntu3.4                        i386         Interactive high-level object-oriented language (version 2.7)
    ii  python2.7-minimal                      2.7.3-0ubuntu3.4                        i386         Minimal subset of the Python language (version 2.7)

  
  and trying to clean up still fails:

  $ sudo dpkg --configure -a
  [...]
  dpkg: dependency problems prevent configuration of python-pkg-resources:
   python-pkg-resources depends on python:any (>= 2.7).
   python-pkg-resources depends on python:any (<< 2.8).

  dpkg: error processing package python-pkg-resources (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of duplicity:
   duplicity depends on python:any (>= 2.7.1-0ubuntu2).

  So it seems apt needs to be nudged to upgrade python/python2.7 before
  upgrading any python:any reverse dependency?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1271237/+subscriptions



More information about the foundations-bugs mailing list