hwe-support-status crashed with ImportError in __main__: No module named 'distro_info'

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

Bug Description

Probably caused by uninstalling pip packages

ProblemType: Crash
DistroRelease: Ubuntu 17.04
Package: update-manager-core 1:17.04.1
ProcVersionSignature: Ubuntu 4.9.0-11.12-generic 4.9.0
Uname: Linux 4.9.0-11-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Aptdaemon:

Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Fri Feb 10 09:55:03 2017
ExecutablePath: /usr/bin/hwe-support-status
GsettingsChanges:
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'window-width' b'484'
 b'com.ubuntu.update-manager' b'launch-time' b'1486543102'
HWEreplacements:
 Error: command ['hwe-support-status', '--show-replacements'] failed with exit code 1: Traceback (most recent call last):
   File "/usr/bin/hwe-support-status", line 7, in <module>
     import distro_info
 ImportError: No module named 'distro_info'
HWEunsupported:
 Error: command ['hwe-support-status', '--show-all-unsupported'] failed with exit code 1: Traceback (most recent call last):
   File "/usr/bin/hwe-support-status", line 7, in <module>
     import distro_info
 ImportError: No module named 'distro_info'
InstallationDate: Installed on 2015-08-03 (557 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
InterpreterPath: /usr/bin/python3.5
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/hwe-support-status --show-all-unsupported
PythonArgs: ['/usr/bin/hwe-support-status', '--show-all-unsupported']
SourcePackage: update-manager
Title: hwe-support-status crashed with ImportError in __main__: No module named 'distro_info'
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/hwe-support-status", line 7, in <module>
     import distro_info
 ImportError: No module named 'distro_info'
UpgradeStatus: Upgraded to zesty on 2016-12-23 (48 days ago)
UserGroups: adm autopilot cdrom dip docker kvm libvirt libvirtd lpadmin plugdev sambashare sudo vboxusers wireshark

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

Your dependencies.txt file indicates that you have python3-distro-info installed. Could you please try running the following commands in a terminal and see what happens?

python3 -c 'import distro_info'

Thanks in advance.

information type: Private → Public
Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
tikend (metodrybar) wrote :

There was no output. I fixed the issue some times ago by manually installing python3-distro-info. The cause of the error was that I have uninstalled python packages installed by pip

Changed in update-manager (Ubuntu):
status: Incomplete → Invalid
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.