Your message dated Fri, 01 Feb 2019 15:32:32 +0100 with message-id <[email protected]> and subject line Re: Bug#920800: ValueError: could not convert string to float: '6.06 LTS' has caused the Debian Bug report #920800, regarding ValueError: could not convert string to float: '6.06 LTS' to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 920800: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920800 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lsb-release Version: 10.2018112800 Severity: normal Dear Maintainer, * What led up to the situation? At first this system was Ubuntu 13.04, then 13.10, 14.04 and 16.04 version. Yesterday I upgraded it to Debian 10 with just APT/Aptitude. * What exactly did you do (or not do) that was effective (or ineffective)? $ lsb_release -a * What was the outcome of this action? Traceback (most recent call last): File "/usr/bin/lsb_release", line 95, in <module> main() File "/usr/bin/lsb_release", line 59, in main distinfo = lsb_release.get_distro_information() File "/usr/lib/python3/dist-packages/lsb_release.py", line 356, in get_distro_information distinfo = guess_debian_release() File "/usr/lib/python3/dist-packages/lsb_release.py", line 246, in guess_debian_release get_distro_info(distinfo['ID']) File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in get_distro_info RELEASES_ORDER.sort(key=lambda n: float(n[0])) File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in <lambda> RELEASES_ORDER.sort(key=lambda n: float(n[0])) ValueError: could not convert string to float: '6.06 LTS' * What outcome did you expect instead? Some sensible output. -- Package-specific info: lsb_release output -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- Apt policy -*- -*- -*- -*- -*- Package files: 100 /var/lib/dpkg/status release a=now 500 https://deb.debian.org/debian buster/main i386 Packages release o=Debian,a=testing,n=buster,l=Debian,c=main,b=i386 origin deb.debian.org 500 https://deb.debian.org/debian buster/main amd64 Packages release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64 origin deb.debian.org Pinned packages: -*- -*- -*- -*- -*- sources.list -*- -*- -*- -*- -*- -*- -*- -*- -*- -*- /etc/lsb_release -*- -*- -*- -*- -*- - none -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lsb-release depends on: ii distro-info-data 0.39 ii python3 3.7.2-1 Versions of packages lsb-release recommends: ii apt 1.8.0~beta1 Versions of packages lsb-release suggests: pn lsb <none> -- debconf-show failed
--- End Message ---
--- Begin Message ---Control: tags -1 +help +wontfix Control: severity -1 wishlist Hi there Marcin, Le mardi, 29 janvier 2019, 10.06:38 h CET Marcin Juszkiewicz a écrit : > At first this system was Ubuntu 13.04, then 13.10, 14.04 and 16.04 > version. Yesterday I upgraded it to Debian 10 with just APT/Aptitude. This is a _totally_ unsupported upgrade procedure :-) The only thing Debian supports is either clean setups or upgrades from the previous _Debian_ stable. (Even upgrades skipping a Debian stable release are not supported.) > $ lsb_release -a > > Traceback (most recent call last): > File "/usr/bin/lsb_release", line 95, in <module> > main() > File "/usr/bin/lsb_release", line 59, in main > distinfo = lsb_release.get_distro_information() > File "/usr/lib/python3/dist-packages/lsb_release.py", line 356, in > get_distro_information distinfo = guess_debian_release() > File "/usr/lib/python3/dist-packages/lsb_release.py", line 246, in > guess_debian_release get_distro_info(distinfo['ID']) > File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in > get_distro_info RELEASES_ORDER.sort(key=lambda n: float(n[0])) > File "/usr/lib/python3/dist-packages/lsb_release.py", line 48, in <lambda> > RELEASES_ORDER.sort(key=lambda n: float(n[0])) > ValueError: could not convert string to float: '6.06 LTS' This seems to indicate you have upgraded to 16.06 in the mean time, have you not? I guess you should be able to get out of this situation by deleting /etc/lsb-release (see https://bugs.debian.org/914287). Sorry, but I'm not going to add code to support such upgrade paths in LSB; closing and tagging accordingly. Cheers, OdyX
--- End Message ---

