[Bug 2024641] Re: do-release-upgrade problem

Chris Guiver 2024641 at bugs.launchpad.net
Thu Jun 22 13:18:41 UTC 2023


Thank you for reporting this bug to Ubuntu.

Ubuntu 16.04 (xenial) reached end-of-standard-support on April 29, 2021.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested
in discussing it anymore. But if you are then please upgrade to the
latest Ubuntu version and re-test. If you then find the bug is still
present in the newer Ubuntu version, please add a comment here telling
us which new version it is in.

(In future; please use `ubuntu-bug` to file the bug report, no apport
details are available in this report which would allow exploration of
the bug report, with fields unpopulated, thus making it harder to
actually explore the issue.  Support maybe your best option)

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Incomplete

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

Title:
  do-release-upgrade problem

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  main.log

  2023-06-22 10:12:14,691 INFO Using config files '['./DistUpgrade.cfg.xenial', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgrades.cfg']'
  2023-06-22 10:12:14,691 INFO uname information: 'Linux horus 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64'
  2023-06-22 10:12:15,004 INFO apt version: '1.2.35'
  2023-06-22 10:12:15,005 INFO python version: '3.5.2 (default, Jan 26 2021, 13:30:48) 
  [GCC 5.4.0 20160609]'
  2023-06-22 10:12:15,008 INFO release-upgrader version '18.04.45' started
  2023-06-22 10:12:15,017 INFO locale: 'en_US' 'UTF-8'
  2023-06-22 10:12:15,056 INFO screen could not be run
  2023-06-22 10:12:15,109 ERROR not handled exception:
  Traceback (most recent call last):

    File "/tmp/ubuntu-release-upgrader-2hyt329p/bionic", line 8, in <module>
      sys.exit(main())

    File "/tmp/ubuntu-release-upgrader-2hyt329p/DistUpgrade/DistUpgradeMain.py", line 224, in main
      from .DistUpgradeController import DistUpgradeController

    File "/tmp/ubuntu-release-upgrader-2hyt329p/DistUpgrade/DistUpgradeController.py", line 52, in <module>
      from .DistUpgradeQuirks import DistUpgradeQuirks

    File "/tmp/ubuntu-release-upgrader-2hyt329p/DistUpgrade/DistUpgradeQuirks.py", line 36, in <module>
      from janitor.plugincore.manager import PluginManager

    File "/tmp/ubuntu-release-upgrader-2hyt329p/janitor/__init__.py", line 20, in <module>
      import pkg_resources

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
      @_call_aside

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
      f(*args, **kwargs)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2952, in _initialize_master_working_set
      add_activation_listener(lambda dist: dist.activate())

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 956, in subscribe
      callback(dist)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2952, in <lambda>
      add_activation_listener(lambda dist: dist.activate())

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2515, in activate
      declare_namespace(pkg)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2097, in declare_namespace
      _handle_ns(packageName, path_item)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2047, in _handle_ns
      _rebuild_mod_path(path, packageName, module)

    File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2066, in _rebuild_mod_path
      orig_path.sort(key=position_in_sys_path)

  AttributeError: '_NamespacePath' object has no attribute 'sort'

  2023-06-22 10:12:15,109 DEBUG running apport_crash()
  2023-06-22 10:12:15,110 ERROR failed to import apport python module, can't generate crash: No module named 'apport_python_hook'
  2023-06-22 10:12:15,110 DEBUG can't find apport

  lsb_release -rd
  Description:	Ubuntu 16.04.7 LTS
  Release:	16.04

  Im trying to update from Ubuntu 16 to Ubuntu 18

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2024641/+subscriptions




More information about the foundations-bugs mailing list