lsb_release fails in classic (arm64)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snappy |
Confirmed
|
Medium
|
Oliver Grawert | ||
lsb (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
lsb-release (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm getting this when running lsb_release with classic on a Dragonboard:
$ lsb_release -a
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
distinfo = lsb_release.
File "/usr/lib/
distinfo = guess_debian_
File "/usr/lib/
get_
File "/usr/lib/
RELEASES_
File "/usr/lib/
RELEASES_
ValueError: could not convert string to float: '16.04 LTS'
I see this even without classic. Curiously my traceback is different:
zyga@dragon-1:~$ lsb_release lsb_release" , line 95, in <module> lsb_release" , line 59, in main get_distro_ information( ) python3/ dist-packages/ lsb_release. py", line 383, in get_distro_ information release( ) python3/ dist-packages/ lsb_release. py", line 281, in guess_debian_ release distro_ info(distinfo[ 'ID']) python3/ dist-packages/ lsb_release. py", line 41, in get_distro_info ORDER.sort( key=lambda n: float(n[0])) python3/ dist-packages/ lsb_release. py", line 41, in <lambda> ORDER.sort( key=lambda n: float(n[0]))
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
distinfo = lsb_release.
File "/usr/lib/
distinfo = guess_debian_
File "/usr/lib/
get_
File "/usr/lib/
RELEASES_
File "/usr/lib/
RELEASES_
ValueError: could not convert string to float: '6.06 LTS'