lsb_release doesn't return version number

Bug #3999 reported by Lennart Hansen
8
Affects Status Importance Assigned to Milestone
lsb-release (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

lennart@hansenhl:~$ lsb_release
LSB Version: n/a

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

Presumably the version of Ubuntu you have currently installed does not adhere to a linux standard base version (i.e. it is non compliant). If so it's hard to say whether that's a bug.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

I suspect the lsb_release command works correctly since it reads the information found in the file /etc/lsb-release:

$lsb_release -a
LSB Version: n/a
Distributor ID: Ubuntu
Description: Ubuntu (The Breezy Badger Release)
Release: 5.10
Codename: breezy

But by default, it seems Ubuntu isn't lsb compliant.

Revision history for this message
Daniel Robitaille (robitaille) wrote :

A look at the LSB database (http://www.opengroup.org/lsb/cert/cert_prodlist.tpl?CALLER=index.tpl) shows that Ubuntu doesn't have a LSB certification, and it seems that it will not try to gain certification for Dapper (https://wiki.ubuntu.com/LSB3). Since it is not LSB compliant, Ubuntu currently cannot add a LSB_VERSION field to the file /etc/lsb-release. Thus the lsb_release returns a "n/a" for the LSB version. So it appears lsb_release is working normally.

Changed in lsb-release:
status: New → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.