[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 23:52:12 UTC 2020


Update cache is disabled by default for security reasons until release date.
I thank everyone. That satisfies this Bug Report - "Fixed".

b3 at b3-VirtualBox:~$ sudo apt-get dist-upgrade
[sudo] password for b3: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
b3 at b3-VirtualBox:~$ sudo apt-get update
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://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:4 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:5 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://archive.canonical.com/ubuntu focal InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
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:~$

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