[Bug 1899269] Re: update-manager crashed with FileNotFoundError in __init__(): [Errno 2] Aucun fichier ou dossier de ce type: '/var/lib/dbus/machine-id'

Brian Murray 1899269 at bugs.launchpad.net
Tue Feb 9 22:48:53 UTC 2021


While this system was installed with an unofficial remix of Ubuntu, it
does seem like there may be a missing fallback option with update-
manager. Here's the source code of the Traceback:

        # a stable machine uniq id
        try:
            with open(self.UNIQ_MACHINE_ID_FILE) as f:
                self.machine_uniq_id = f.read()
        except FileNotFoundError:
            with open(self.UNIQ_MACHINE_ID_FILE_FALLBACK) as f:
                self.machine_uniq_id = f.read()

Perhaps the fallback machine_uniq_id should be one that installs all
updates which are being phased.

** Information type changed from Private to Public

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

Title:
  update-manager crashed with FileNotFoundError in __init__(): [Errno 2]
  Aucun fichier ou dossier de ce type: '/var/lib/dbus/machine-id'

Status in update-manager package in Ubuntu:
  New

Bug description:
  There was no distribution update. I simply made a fresh install with
  Ubuntu-unity 20.10 beta by formatting the original partition that
  contained Ubuntu-unity 20.10 development.

  I then attempted a clean, update, and upgrade using the terminal.
  That's where I received the software pakage manager crash message.

  ProblemType: Crash
  DistroRelease: Ubuntu 20.10
  Package: update-manager 1:20.10.1
  ProcVersionSignature: Ubuntu 5.8.0-20.21-generic 5.8.10
  Uname: Linux 5.8.0-20-generic x86_64
  ApportVersion: 2.20.11-0ubuntu49
  Aptdaemon:
   
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: Unity:Unity7:ubuntu
  Date: Sat Oct 10 10:15:50 2020
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'launch-count' b'1'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1602339348'
  InstallationDate: Installed on 2020-10-05 (4 days ago)
  InstallationMedia: Ubuntu Unity 20.10
  InterpreterPath: /usr/bin/python3.8
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update --no-focus-on-map
  Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
  PythonArgs: ['/usr/bin/update-manager', '--no-update', '--no-focus-on-map']
  PythonDetails: N/A
  RebootRequiredPkgs:
   linux-image-5.8.0-21-generic
   linux-base
   evolution-data-server
  SourcePackage: update-manager
  Title: update-manager crashed with FileNotFoundError in __init__(): [Errno 2] Aucun fichier ou dossier de ce type: '/var/lib/dbus/machine-id'
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1899269/+subscriptions



More information about the foundations-bugs mailing list