apt-clone crashed with AttributeError in __main__: module 'lsb_release' has no attribute 'get_lsb_information'

Bug #1858326 reported by Burni
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
apt-clone (Ubuntu)
Fix Released
Medium
Brian Murray
Focal
Won't Fix
Undecided
Unassigned

Bug Description

Fresh Ubuntu-Daily-Live-20200102.iso install on an existing LVM-crypt pv, created with Fedora 31 Silverblue.

ubiquity said after the crash, that some packages could not be installed and that i should install them later after a reboot.

ubuntu@ubuntu:~$ lsb_release -rd
Description: Ubuntu Focal Fossa (development branch)
Release: 20.04
ubuntu@ubuntu:~$

ProblemType: Crash
DistroRelease: Ubuntu 20.04
Package: apt-clone 0.4.1ubuntu2
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
Uname: Linux 5.3.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu15
Architecture: amd64
CasperVersion: 1.436
Date: Sun Jan 5 11:15:06 2020
ExecutablePath: /usr/bin/apt-clone
InterpreterPath: /usr/bin/python3.7
LiveMediaBuild: Ubuntu 20.04 LTS "Focal Fossa" - Alpha amd64 (20200102)
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/apt-clone restore-new-distro /target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz focal --destination /target
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1ubuntu1
PythonArgs: ['/usr/bin/apt-clone', 'restore-new-distro', '/target/ubiquity-apt-clone/apt-clone-state-hostname.tar.gz', 'focal', '--destination', '/target']
PythonDetails: N/A
SourcePackage: apt-clone
Title: apt-clone crashed with AttributeError in __main__: module 'lsb_release' has no attribute 'get_lsb_information'
Traceback:
 Traceback (most recent call last):
   File "/usr/bin/apt-clone", line 136, in <module>
     codename = lsb_release.get_lsb_information()["CODENAME"]
 AttributeError: module 'lsb_release' has no attribute 'get_lsb_information'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Burni (burni) wrote :
tags: removed: need-duplicate-check
Changed in apt-clone (Ubuntu):
importance: Undecided → Medium
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-clone (Ubuntu):
status: New → Confirmed
tags: added: id-5cf932c4a06ae8470c614fa6
Changed in apt-clone (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package apt-clone - 0.4.1ubuntu5

---------------
apt-clone (0.4.1ubuntu5) groovy; urgency=medium

  * apt-clone: update how we determine the codename of the release which we
    are on. (LP: #1858326)

 -- Brian Murray <email address hidden> Wed, 19 Aug 2020 14:26:05 -0700

Changed in apt-clone (Ubuntu):
status: In Progress → Fix Released
Changed in apt-clone (Ubuntu Focal):
status: New → Won't Fix
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.