[Bug 1845514] Re: Got "error: XDG_RUNTIME_DIR not set in the environment." on `sudo update-manager -c -d`

Norbert 1845514 at bugs.launchpad.net
Thu Sep 26 15:06:44 UTC 2019


Running as normal user ends with the same messages:

$ update-manager -c -d
Checking for a new Ubuntu release
Checking for a new Ubuntu release
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, Gdk
/usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit2 as WebKit
error: XDG_RUNTIME_DIR not set in the environment.
authenticate 'eoan.tar.gz' against 'eoan.tar.gz.gpg' 
extracting 'eoan.tar.gz'


---

In the text above note the "error: XDG_RUNTIME_DIR not set in the
environment." line.

Then upgrade process started as expected.

-- 
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/1845514

Title:
  Got "error: XDG_RUNTIME_DIR not set in the environment." on `sudo
  update-manager -c -d`

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

Bug description:
  $ sudo update-manager -c -d
  [sudo] password for mate: 
  Checking for a new Ubuntu release
  /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
    from gi.repository import Gtk, Gdk
  /usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded.
    from gi.repository import WebKit2 as WebKit
  error: XDG_RUNTIME_DIR not set in the environment.
  authenticate 'eoan.tar.gz' against 'eoan.tar.gz.gpg' 
  extracting 'eoan.tar.gz'

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: ubuntu-release-upgrader-core 1:19.04.16.6
  ProcVersionSignature: Ubuntu 5.0.0-29.31-generic 5.0.21
  Uname: Linux 5.0.0-29-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CrashDB: ubuntu
  CurrentDesktop: MATE
  Date: Thu Sep 26 18:00:52 2019
  InstallationDate: Installed on 2019-04-18 (160 days ago)
  InstallationMedia: Ubuntu-MATE 19.04 "Disco Dingo" - Release amd64 (20190416)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to disco on 2019-09-26 (0 days ago)
  VarLogDistupgradeTermlog:

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



More information about the foundations-bugs mailing list