[Bug 1860893] Re: update-manager crashed with AttributeError in __init__(): module 'platform' has no attribute 'dist'

bernard stafford 1860893 at bugs.launchpad.net
Wed Feb 19 14:48:26 UTC 2020


Received New Updates Feb 19 2020. After Updates through Terminal & Restart. The Software Cache froze while "Refreshing Software Cache". These are the New Updates Received recently. Output:
b3 at b3-VirtualBox:~$ sudo apt-get update
[sudo] password for b3: 
Ign:1 cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Alpha amd64 (20200124) focal InRelease
Err:2 cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Alpha amd64 (20200124) focal Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal InRelease                   
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease         
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease          
Hit:7 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
The AppStream system cache was updated, but some components were ignored. Refer to the verbose log for more information.
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 20.04 LTS _Focal Fossa_ - Alpha amd64 (20200124) focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
b3 at b3-VirtualBox:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  enchant libboost-date-time1.67.0 libboost-filesystem1.67.0
  libboost-iostreams1.67.0 libboost-system1.67.0 libboost-thread1.67.0
  libbrlapi0.6 libenchant1c2a libexiv2-14 libffi6 libgspell-1-1
  libgutenprint-common libgutenprint9 libiptc0 libnfs12 libpython3.7
  printer-driver-gutenprint python3-asn1crypto
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
b3 at b3-VirtualBox:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  enchant libboost-date-time1.67.0 libboost-filesystem1.67.0
  libboost-iostreams1.67.0 libboost-system1.67.0 libboost-thread1.67.0
  libbrlapi0.6 libenchant1c2a libexiv2-14 libffi6 libgspell-1-1
  libgutenprint-common libgutenprint9 libiptc0 libnfs12 libpython3.7
  printer-driver-gutenprint python3-asn1crypto
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  apt apt-utils gir1.2-goa-1.0 gir1.2-snapd-1 gnome-calendar
  gnome-online-accounts libapt-pkg5.90 libegl-mesa0 libgbm1 libgl1-mesa-dri
  libglapi-mesa libglx-mesa0 libgoa-1.0-0b libgoa-1.0-common
  libgoa-backend-1.0-1 libhtml-parser-perl libsnapd-glib1 libxatracker2
  mesa-vulkan-drivers
19 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 17.7 MB of archives.
After this operation, 7,089 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libapt-pkg5.90 amd64 1.9.10 [852 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 apt amd64 1.9.10 [1,281 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 apt-utils amd64 1.9.10 [213 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libgoa-1.0-common all 3.35.90-1ubuntu1 [4,044 B]
Get:5 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 gir1.2-snapd-1 amd64 1.55-0ubuntu2 [13.1 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libsnapd-glib1 amd64 1.55-0ubuntu2 [88.8 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 gnome-online-accounts amd64 3.35.90-1ubuntu1 [83.6 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libgoa-backend-1.0-1 amd64 3.35.90-1ubuntu1 [114 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libgoa-1.0-0b amd64 3.35.90-1ubuntu1 [63.6 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 gir1.2-goa-1.0 amd64 3.35.90-1ubuntu1 [12.8 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu focal/main amd64 gnome-calendar amd64 3.35.2-1ubuntu1 [216 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libegl-mesa0 amd64 20.0.0~rc3-1ubuntu1 [95.3 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libgbm1 amd64 20.0.0~rc3-1ubuntu1 [27.7 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libgl1-mesa-dri amd64 20.0.0~rc3-1ubuntu1 [9,441 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libglx-mesa0 amd64 20.0.0~rc3-1ubuntu1 [138 kB]
Get:16 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libglapi-mesa amd64 20.0.0~rc3-1ubuntu1 [26.6 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libhtml-parser-perl amd64 3.72-5 [86.3 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 libxatracker2 amd64 20.0.0~rc3-1ubuntu1 [1,579 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu focal-proposed/main amd64 mesa-vulkan-drivers amd64 20.0.0~rc3-1ubuntu1 [3,342 kB]
Fetched 17.7 MB in 12s (1,428 kB/s)                                            
(Reading database ... 186004 files and directories currently installed.)
Preparing to unpack .../libapt-pkg5.90_1.9.10_amd64.deb ...
Unpacking libapt-pkg5.90:amd64 (1.9.10) over (1.9.9) ...
Setting up libapt-pkg5.90:amd64 (1.9.10) ...
(Reading database ... 186004 files and directories currently installed.)
Preparing to unpack .../archives/apt_1.9.10_amd64.deb ...
Unpacking apt (1.9.10) over (1.9.9) ...
Setting up apt (1.9.10) ...
(Reading database ... 186004 files and directories currently installed.)
Preparing to unpack .../00-apt-utils_1.9.10_amd64.deb ...
Unpacking apt-utils (1.9.10) over (1.9.9) ...
Preparing to unpack .../01-libgoa-1.0-common_3.35.90-1ubuntu1_all.deb ...
Unpacking libgoa-1.0-common (3.35.90-1ubuntu1) over (3.34.1-1ubuntu2) ...
Preparing to unpack .../02-gir1.2-snapd-1_1.55-0ubuntu2_amd64.deb ...
Unpacking gir1.2-snapd-1:amd64 (1.55-0ubuntu2) over (1.55-0ubuntu1) ...
Preparing to unpack .../03-libsnapd-glib1_1.55-0ubuntu2_amd64.deb ...
Unpacking libsnapd-glib1:amd64 (1.55-0ubuntu2) over (1.55-0ubuntu1) ...
Preparing to unpack .../04-gnome-online-accounts_3.35.90-1ubuntu1_amd64.deb ...
Unpacking gnome-online-accounts (3.35.90-1ubuntu1) over (3.34.1-1ubuntu2) ...
Preparing to unpack .../05-libgoa-backend-1.0-1_3.35.90-1ubuntu1_amd64.deb ...
Unpacking libgoa-backend-1.0-1:amd64 (3.35.90-1ubuntu1) over (3.34.1-1ubuntu2) ...
Preparing to unpack .../06-libgoa-1.0-0b_3.35.90-1ubuntu1_amd64.deb ...
Unpacking libgoa-1.0-0b:amd64 (3.35.90-1ubuntu1) over (3.34.1-1ubuntu2) ...
Preparing to unpack .../07-gir1.2-goa-1.0_3.35.90-1ubuntu1_amd64.deb ...
Unpacking gir1.2-goa-1.0:amd64 (3.35.90-1ubuntu1) over (3.34.1-1ubuntu2) ...
Preparing to unpack .../08-gnome-calendar_3.35.2-1ubuntu1_amd64.deb ...
Unpacking gnome-calendar (3.35.2-1ubuntu1) over (3.34.2-1build1) ...
Preparing to unpack .../09-libegl-mesa0_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libegl-mesa0:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../10-libgbm1_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libgbm1:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../11-libgl1-mesa-dri_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../12-libglx-mesa0_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libglx-mesa0:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../13-libglapi-mesa_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libglapi-mesa:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../14-libhtml-parser-perl_3.72-5_amd64.deb ...
Unpacking libhtml-parser-perl (3.72-5) over (3.72-3build3) ...
Preparing to unpack .../15-libxatracker2_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking libxatracker2:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Preparing to unpack .../16-mesa-vulkan-drivers_20.0.0~rc3-1ubuntu1_amd64.deb ...
Unpacking mesa-vulkan-drivers:amd64 (20.0.0~rc3-1ubuntu1) over (19.3.3-1ubuntu1) ...
Setting up libgoa-1.0-common (3.35.90-1ubuntu1) ...
Setting up mesa-vulkan-drivers:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up apt-utils (1.9.10) ...
Setting up libgbm1:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up libxatracker2:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up libglapi-mesa:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up libhtml-parser-perl (3.72-5) ...
Setting up libsnapd-glib1:amd64 (1.55-0ubuntu2) ...
Setting up libgl1-mesa-dri:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up gir1.2-snapd-1:amd64 (1.55-0ubuntu2) ...
Setting up libegl-mesa0:amd64 (20.0.0~rc3-1ubuntu1) ...
Setting up libglx-mesa0:amd64 (20.0.0~rc3-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu1) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.63.5-1) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for man-db (2.9.0-2) ...
Setting up libgoa-1.0-0b:amd64 (3.35.90-1ubuntu1) ...
Setting up libgoa-backend-1.0-1:amd64 (3.35.90-1ubuntu1) ...
Setting up gnome-calendar (3.35.2-1ubuntu1) ...
Setting up gnome-online-accounts (3.35.90-1ubuntu1) ...
Setting up gir1.2-goa-1.0:amd64 (3.35.90-1ubuntu1) ...
Processing triggers for libc-bin (2.30-0ubuntu3) ...
b3 at b3-VirtualBox:~$ 

Thank You for all of your hard work and dedication for Ubuntu. We
appreciate all of you.

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

Title:
  update-manager crashed with AttributeError in __init__(): module
  'platform' has no attribute 'dist'

Status in update-manager package in Ubuntu:
  Fix Released

Bug description:
  This happened just after installing ubuntu-restricted-extras via
  terminal, though the specific package may be irrelevant. I also
  checked for updates with update-manager, and that's when this error
  appeared. I will also note the same error appeared on another one of
  my focal systems. As for this system, I installed all available
  updates via the terminal, and this error appeared again.

  ProblemType: Crash
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:19.04.8
  ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
  Uname: Linux 5.4.0-12-generic x86_64
  ApportVersion: 2.20.11-0ubuntu16
  Aptdaemon:
   
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Jan 25 21:52:09 2020
  ExecutablePath: /usr/bin/update-manager
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'window-width' b'645'
   b'com.ubuntu.update-manager' b'launch-count' b'7'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'launch-time' b'int64 1580010726'
  InstallationDate: Installed on 2020-01-03 (23 days ago)
  InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
  InterpreterPath: /usr/bin/python3.8
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/bin/update-manager --no-update
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  Python3Details: /usr/bin/python3.8, Python 3.8.1, python3-minimal, 3.8.0-3
  PythonArgs: ['/usr/bin/update-manager', '--no-update']
  PythonDetails: N/A
  SourcePackage: update-manager
  Title: update-manager crashed with AttributeError in __init__(): module 'platform' has no attribute 'dist'
  UpgradeStatus: Upgraded to focal on 2020-01-03 (22 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

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



More information about the foundations-bugs mailing list