Your message dated Tue, 10 May 2022 17:34:01 +0000 with message-id <[email protected]> and subject line Bug#980566: fixed in lsb 11.2~rc1 has caused the Debian Bug report #980566, regarding Crashes with python traceback if parsing ubuntu.csv 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.) -- 980566: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980566 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: lsb-release Version: 10.2019051400 Severity: normal Hi! lsb_release has two ways to work out distribution information, It first reads the data in /usr/lib/os-release to see if all the info it needs is there. If not, it falls back to working out the distribution from the contents of /etc/dpkg/origins/default and then looking for for more data in the CSV files in /usr/share/distro.info. I'm working on a derived distribution that *used* to be based on Ubuntu, but not any longer. We did not have all the required fields in our version of /usr/lib/os-release (missing VERSION_CODENAME), triggering a fallback. Due to our history, on some systems the symlink in /etc/dpkg/origins/default still pointed to ubuntu so the code in lsb_release.py::get_distro_info() attempted to parse ubuntu.py. It blew up due to an odd design choice here, trying to force the version number into a float: Traceback: 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' We've since fixed the os-release file *and* the "default" symlink in our version of base-files so we're not getting crashes, but the code here is still clearly broken... -- Package-specific info: -- System Information: Debian Release: 10.7 APT prefers stable-debug APT policy: (500, 'stable-debug'), (500, 'stable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-13-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages lsb-release depends on: ii distro-info-data 0.41+deb10u3 ii python3 3.7.3-1 Versions of packages lsb-release recommends: ii apt 1.8.2.2 Versions of packages lsb-release suggests: pn lsb <none> -- no debconf information
--- End Message ---
--- Begin Message ---Source: lsb Source-Version: 11.2~rc1 Done: Mark Hindley <[email protected]> We believe that the bug you reported is fixed in the latest version of lsb, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Mark Hindley <[email protected]> (supplier of updated lsb package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 10 May 2022 17:57:45 +0100 Source: lsb Architecture: source Version: 11.2~rc1 Distribution: experimental Urgency: medium Maintainer: Debian sysvinit maintainers <[email protected]> Changed-By: Mark Hindley <[email protected]> Closes: 660790 951651 962969 980566 991031 1003625 Changes: lsb (11.2~rc1) experimental; urgency=medium . [ Mark Hindley ] * Add myself to uploaders. * Remove Dmitry Bogatov from uploaders (Closes: #991031). * Update to Standards Version 4.6.0 (no changes). * Remove obsolete python2 support (Closes: #1003625). * d/control: add missing newline at end. * Ignore strings when sorting release versions. (Closes: #980566) * Suppress our own deprecation warning when testing compare_release(). * Catch exceptions from running apt-cache and warn but continue. (Closes: #951651) * lsb_release.1: remove reference to obsolete lsb(8). (Closes: #962969) . . [ Trek ] * Hardcode ANSI escapes to replace tput in logging functions. Thanks to Adam Borowski <[email protected]> * Fix the return value of vlog* functions when VERBOSE=no * Preserve FANCYTTY after log_use_fancy_output calls * Quote parameters when calling logging functions. Thanks to Bjarni Ingi Gislason <[email protected]> (Closes: #660790) * Optimize killproc using parameter expansions. Thanks to Carl Albing <[email protected]> Checksums-Sha1: a40ef37e86957aaae79240fdd10f5a0124c8df17 1776 lsb_11.2~rc1.dsc 55313bc1993ae4374fde9958b2056a8d629c830b 42792 lsb_11.2~rc1.tar.xz 596e4bed43066a85e548bfd01bae14590ebd8a26 7383 lsb_11.2~rc1_amd64.buildinfo Checksums-Sha256: 8802bfa090723433d0ec77bb9a0a6f07dfc3f63c40a5a1aabc441f1cf6233ccd 1776 lsb_11.2~rc1.dsc 45eb1046e5b4d6ad4becb48231452277a6a57133646751d490689888da9ba517 42792 lsb_11.2~rc1.tar.xz 5a7d05cb106b22a98c09cf8a76fb818af9f170c25c16b1ad8604e13457be9326 7383 lsb_11.2~rc1_amd64.buildinfo Files: 729994a89e67d0c198026361400ca1a4 1776 misc optional lsb_11.2~rc1.dsc 4c47849ab510a947de8c514b23137ba3 42792 misc optional lsb_11.2~rc1.tar.xz d3c6cc8e0ac4179fd5b20875982ae5dd 7383 misc optional lsb_11.2~rc1_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUGwVpCsK9aCoVCPu0opFvzKH1kkFAmJ6mykACgkQ0opFvzKH 1kksbQ//V8U9H1oVYIUNdyna8/90mm1n3/9UZPsQVxy1JIuy3EOk18d+xeMRiJ7x Y+kXBpGcBpC9HzEWPRbzFnwpyh3LRjyAmMmfUdh4e/MY8v9fCBriz1TvyYFWVFlW CwHR97HHm/4qjT519cA2WY7UCvSQsxF/aDcQNtyKSaVWluoQHmy33N7Cw39YQ1M0 8KGpEJKk017ngGcLN9O5YZMFhbusgqmQkPk+VUtkNMJy/3laUdb3C+1w8H8mveAn ePOtJolFuGB/uxYg7fQjqdm5qN4/2bfJx3pBL6xWaiTIH0Dix32M135PTaOKqlWy 0eGwsgVxulHkRQDTNo8vSOZMwVU/DWo4/n3ErLTlJmYWrpQMSYDknfVzIOKbQ1xm JLccI/HSz+6iC7oVommohyogMFBL4wQinLTk0eUnGtluLO5vkqoY5O+uuS8qqT9v 5CvY0tdphTfUnRNGoxqqf3ren7HD3k8sw9k6MV4SZNBBBug/qeUD3d240ctsRqLy HmowutnFH7WJUSYdnDR6SZTAuygi5ME0kbOXJjToQ1bcC7gU9K4m2hPgmYz6twam 3Ghd9hJGVaeDXmgs6KnpLV7sFOAOXD5uzuLshmkPWjPTi8JZt9Or/kCDKqb2UHHu V3zWr7atdF2oSMWfSoekqcJt0RwlwDtPdUjx7j1SZpbWzUDEii8= =W0A9 -----END PGP SIGNATURE-----
--- End Message ---

