Comment 2 for bug 66914

Colin Watson (cjwatson) wrote :

This behaviour seems correct to me. http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html says "If no options are given, the -v option is assumed." -v requires the display of LSB modules, which in Debian/Ubuntu are implemented by the lsb-* metapackages. If you have none of those installed, then you'll get the output you quote.

However, if you simply say 'lsb_release -a', you'll get the information you asked for. This is in accordance with the specification for lsb_release.

Incidentally, I believe that you are mistaken about the behaviour in dapper:

(dapper)cjwatson@ronne:~$ lsb_release
No LSB modules are available.
(dapper)cjwatson@ronne:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 6.06.2 LTS
Release: 6.06
Codename: dapper