Bug 5096

Summary: lsb_release does not give a correct version
Product: Mageia Reporter: mnaud mnaud <mnaud.free>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: Normal CC: ennael1, stewb, stewbintn
Version: 2   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: lsb-release CVE:
Status comment:

Description mnaud mnaud 2012-03-25 21:01:58 CEST
Description of problem:
lsb_release gives version = * ?!

Version-Release number of selected component (if applicable):

[root@localhost ~]# lsb_release 
LSB Version:    *
[root@localhost ~]# rpm -qa | grep lsb
lsb-release-2.0-35.mga2


How reproducible:
just use the lsb_release binary


Steps to Reproduce:
1.install lsb-release-2.0-35.mga2
2.launch a terminal and try
3.lsb_release or lsb_release -a
answers:
LSB Version:    *
or
LSB Version:    *
Distributor ID: Mageia
Description:    Mageia Cauldron
Release:        Cauldron
Codename:       valstar
Manuel Hiebel 2012-03-27 01:52:05 CEST

CC: (none) => ennael1, stewb, stewbintn
Source RPM: (none) => lsb-release

Comment 1 Stew Benedict 2012-03-27 02:00:39 CEST
install the lsb packages...
Comment 2 Stew Benedict 2012-03-27 02:07:11 CEST
This is by design. I don't believe we should claim support for an LSB version if the deps are not installed. lsb_release is just a utility, and it's telling you what's going on (perhaps a little oblique), that there is no LSB support installed


CAULDRON-pavilion:~$ rpm -qf /etc/lsb-release.d/* | sort | uniq
lsb-core-lib-4.1-10.mga2
lsb-core-noarch-4.1-10.mga2
lsb-lib-4.1-10.mga2
lsb-noarch-4.1-10.mga2

CAULDRON-pavilion:~$ lsb_release
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:lsb-2.0-ia32:lsb-2.0-noarch:lsb-3.0-ia32:lsb-3.0-noarch:lsb-3.1-ia32:lsb-3.1-noarch:lsb-3.2-ia32:lsb-3.2-noarch:lsb-4.0-ia32:lsb-4.0-noarch:lsb-4.1-ia32:lsb-4.1-noarch

CAULDRON-pavilion:~$ lsb_release -a
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:core-4.0-ia32:core-4.0-noarch:core-4.1-ia32:core-4.1-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:lsb-2.0-ia32:lsb-2.0-noarch:lsb-3.0-ia32:lsb-3.0-noarch:lsb-3.1-ia32:lsb-3.1-noarch:lsb-3.2-ia32:lsb-3.2-noarch:lsb-4.0-ia32:lsb-4.0-noarch:lsb-4.1-ia32:lsb-4.1-noarch
Distributor ID:	Mageia
Description:	Mageia Cauldron
Release:	Cauldron
Codename:	valstar

urpmi lsb should pull everything in
Comment 3 mnaud mnaud 2012-03-27 22:40:04 CEST
adding lsb* rpm package solve effectively this behavior.

i was thinking that installing lsb-release will install all lsb* rpm as dependencies.

don't hesitate to close this bug as wrong report.
thanks for your answer.


suggestion:
maybe you can register mageia to lsb cert ?
https://www.linuxbase.org/lsb-cert/productdir.php?by_lsb
Comment 4 Marja Van Waes 2012-05-26 13:06:07 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Manuel Hiebel 2013-01-02 12:11:21 CET

Keywords: NEEDINFO => (none)
Status: NEW => RESOLVED
Version: Cauldron => 2
Resolution: (none) => WORKSFORME