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

Bug #1899269 reported by cohutche
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Medium
Unassigned

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

Revision history for this message
cohutche (colinhutcheson) wrote :
affects: ubuntu → update-manager (Ubuntu)
tags: removed: need-duplicate-check
Changed in update-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Brian Murray (brian-murray) wrote :

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: Private → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.