Package: lsb-release Version: 12.0-1 Severity: normal Tags: patch X-Debbugs-Cc: rrot...@umich.edu
Dear Maintainer, * The old python lsb_release only prints "No LSB modules are available." if -a -v or no flags are set. * minimal lsb_release version ignores -v flag and always prints this message. * example: ``` # bullseye $ lsb_release -d Description: Debian GNU/Linux 11 (bullseye) # bookworm $ lsb_release -d No LSB modules are available. Description: Debian GNU/Linux 12 (bookworm) ``` Wasn't sure how to send an attachment using the `reportbug` program, so I inlined the patch. I hope this is okay. This is my first time sending a bug or patch to Debian. 27a28 > show_ver=true 34a36 > [ $# -gt 1 ] && show_ver=false 38c40 < -v|--version) ;; --- > -v|--version) show_ver=true ;; 43c45 < -a|--all) show_id=true ; show_desc=true ; show_release=true ; show_codename=true ;; --- > -a|--all) show_ver=true; show_id=true ; show_desc=true ; > show_release=true ; show_codename=true ;; 81c83,85 < [ -t 1 ] && echo "No LSB modules are available." >& 2 --- > if $show_ver ; then > [ -t 1 ] && echo "No LSB modules are available." >& 2 > fi -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: arm64 (aarch64) Kernel: Linux 6.1.0-21-cloud-arm64 (SMP w/6 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -- no debconf information