When I run lsb_release
on Debian 8, following error is appeared:
No LSB modules are available.
Is there any missing file causes this problem?
When I run lsb_release
on Debian 8, following error is appeared:
No LSB modules are available.
Is there any missing file causes this problem?
As the error message says lsb_release
command is installed but lsb
module isn't. Use this command to solve the problem:
apt-get install lsb-core
I suggest to use lsb_release -a
instead of lsb_release
. It shows more useful output.
I just moved to Debian 11, Bullseye and, in order to check the release, you have to type
lsb_release -cs
lsb-core
in Bullseye does not exist.
Debian discontinued support for the Linux Standard Base in 2015. See Debian and LSB.
If you don't want to see the message No LSB modules are available,
a workaround is to use the flags -cdir
instead of -a
:
lsb_release -cdir
While building a container image based on Debian 11 (bullseye) I had to install the lsb_release
command using:
apt-get -y install lsb-release
since, as Denis Pitzalis pointed out, the lsb-core
package does not exist for 11