[Bug 1246539] Re: get-distro-upgrade.py needs to be converted to python3

Dimitri John Ledkov launchpad at surgut.co.uk
Thu Feb 27 16:31:47 UTC 2014


Fixed committed as part of removing python2.7 from ubuntu touch images:

packagekit (0.8.12-1ubuntu3) trusty; urgency=medium

  * Change p-b-aptcc backend helper shebang from python2 to python3. (LP:
    #1283574)
 -- Dimitri John Ledkov <xnox at ubuntu.com>   Mon, 24 Feb 2014 17:12:52 +0000

** Changed in: packagekit (Ubuntu Trusty)
       Status: Triaged => Fix Committed

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

Title:
  get-distro-upgrade.py needs to be converted to python3

Status in “packagekit” package in Ubuntu:
  Fix Committed
Status in “packagekit” source package in Trusty:
  Fix Committed

Bug description:
  The report appeared after upgrading from 13.04 to 13.10

  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: packagekit-backend-aptcc 0.8.10-2ubuntu2
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: i386
  Date: Thu Oct 31 02:52:59 2013
  ExecutablePath: /usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py
  InterpreterPath: /usr/bin/python2.7
  MarkForUpload: True
  ProcCmdline: python /usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py get-distro-upgrades
  ProcEnviron: LANG=en_US.UTF-8
  PythonArgs: ['/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py', 'get-distro-upgrades']
  SourcePackage: packagekit
  Title: get-distro-upgrade.py crashed with ImportError in __main__: No module named packagekit.backend
  Traceback:
   Traceback (most recent call last):
     File "/usr/share/PackageKit/helpers/aptcc/get-distro-upgrade.py", line 24, in <module>
       from packagekit.backend import *
   ImportError: No module named packagekit.backend
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/1246539/+subscriptions



More information about the foundations-bugs mailing list