Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1020893: lsb-release: lsb_release command said 'No LSB modules are available.'

607 views
Skip to first unread message

Yukiharu YABUKI

unread,
Sep 28, 2022, 12:40:03 AM9/28/22
to
Package: lsb-release
Version: 12.0-1
Severity: important
X-Debbugs-Cc: yya...@debian.org

Dear Maintainer,

lsb_release command says

```
$ lsb_release -cs
No LSB modules are available.
n/a

$ lsb_release
No LSB modules are available
```

I'd like to get infomation from lsb_release command.


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-2-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.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

Gioele Barabucci

unread,
Sep 28, 2022, 2:10:04 AM9/28/22
to
Control: retitle -1 lsb_release does not show version info in unstable
Control: severity -1 wishlist
Control: tags -1 wontfix
Control: block -1 by 1008735
Control: affects 1008735 lsb-release

On 28/09/22 06:30, Yukiharu YABUKI wrote:
> lsb_release command says
>
> ```
> $ lsb_release -cs
> No LSB modules are available.
> n/a
>
> $ lsb_release
> No LSB modules are available
> ```
>
> I'd like to get infomation from lsb_release command.

The reported behavior happens only on unstable and testing.

`lsb_release` reads the release data from `/etc/os-release`. The
`/etc/os-release` file shipped by `base-files` in Debian unstable and
testing does not contain the required VERSION_* variables.

There is an open bug against `base-files` requesting the addition of
said variables to `/etc/os-release`: <https://bugs.debian.org/1008735>.

Regards,

--
Gioele Barabucci

Witold Baryluk

unread,
Oct 1, 2022, 1:40:03 PM10/1/22
to
Package: lsb-release
Followup-For: Bug #1020893
X-Debbugs-Cc: witold....@gmail.com

Started seeing this issue today on my system:

user@debian:~$ lsb_release -r
No LSB modules are available.
Release: n/a
user@debian:~$ lsb_release -sr
No LSB modules are available.
n/a
user@debian:~$


user@debian:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
user@debian:~$


user@debian:~$ dpkg -l base-files lsb-release
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-======================================================================
ii base-files 12.2 amd64 Debian base system miscellaneous files
ii lsb-release 12.0-1 all Linux Standard Base version reporting utility (minimal implementation)


-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-rc5 (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

-- no debconf information

Gioele Barabucci

unread,
Oct 3, 2022, 2:10:04 AM10/3/22
to
A workaround (while waiting for the root issue #1008735 to be fixed) is
to add to `/etc/os-release` the following two lines:

```
VERSION_ID=unstable
VERSION_CODENAME=bookwork
```

--
Gioele Barabucci

Alejandro Colomar

unread,
Oct 11, 2022, 7:40:04 AM10/11/22
to
Hi!

The root issue #1008735 has been recently fixed, and this bug is
indirectly fixed by it.

To confirm:

$ lsb_release -cs
No LSB modules are available.
n/a
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bookworm/sid
Release: n/a
Codename: n/a
$ # apt-get upgraded in another terminal ...
$ lsb_release -cs
No LSB modules are available.
bookworm
$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux bookworm/sid
Release: n/a
Codename: bookworm

Cheers,

Alex

--
<http://www.alejandro-colomar.es/>
OpenPGP_signature
0 new messages