[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 00:35:25 UTC 2020


b3 at b3-VirtualBox:~$ lsb_release -a; uname -a; python --version
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu Focal Fossa (development branch)
Release:	20.04
Codename:	focal
Linux b3-VirtualBox 5.4.0-14-generic #17-Ubuntu SMP Thu Feb 6 22:47:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Command 'python' not found, but can be installed with:

sudo apt install python3         # version 3.7.5-1ubuntu1, or
sudo apt install python          # version 2.7.17-1
sudo apt install python-minimal  # version 2.7.17-1

You also have python3 installed, you can run 'python3' instead.

b3 at b3-VirtualBox:~$ cat /proc/cpuinfo
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 21
model		: 16
model name	: AMD A6-5400B APU with Radeon(tm) HD Graphics
stepping	: 1
microcode	: 0x6000626
cpu MHz		: 3593.290
cache size	: 1024 KB
physical id	: 0
siblings	: 1
core id		: 0
cpu cores	: 1
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid tsc_known_freq pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic popcnt aes xsave avx hypervisor lahf_lm cr8_legacy abm sse4a misalignsse 3dnowprefetch ssbd vmmcall arat
bugs		: fxsave_leak sysret_ss_attrs null_seg spectre_v1 spectre_v2 spec_store_bypass
bogomips	: 7186.58
TLB size	: 1536 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 48 bits physical, 48 bits virtual
power management:

I Thank Every One for all of your hard work and dedication to make Ubuntu what it is today !
Respectfully,
Bernard

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