# problem with lsb\_release

**URL:** <https://forums.suse.com/t/problem-with-lsb-release/30444>\
**Category:** SLES Point of Service\
**Created:** [October 17, 2017, 3:04pm UTC](https://forums.suse.com/t/problem-with-lsb-release/30444 "2017-10-17T15:04:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![islem](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@islem](https://forums.suse.com/u/islem)\
**Post date:** [October 17, 2017, 3:04pm UTC](https://forums.suse.com/t/problem-with-lsb-release/30444/1 "2017-10-17T15:04:22Z")

</div>

Hi,

I am not sure if I am posting a thread in the right forum.

Recently, I installed SLES 12 SP3.  
Then I installed a software called Mpcci that requires Lsb ibraries to be installed. I think I have it installed because the software was installed successfully.

Then I tried to install another software called abaqus, and I think the problem is with the lsb releases.  
in one of its abaqus installation files, I think it checks the lsb release by this command  
DSY\_OS\_Release=`lsb_release --short --id |sed 's/ //g'`

when I checked my lsb release using this command  
lsb\_release -a  
I get  
LSB Version: n/a  
Distributor ID: SUSE  
Description: SUSE Linux Enterprise Server 12 SP3  
Release: 12.3  
Codename: n/a

if I use this command  
rpm -qf `which lsb_release`

I get the release version  
lsb-release-2.0-28.1.noarch

I wanted to know why I get LSB Version: n/a, while I have a version installed. and how to fix the problem.

Regards,  
islem

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [October 17, 2017, 4:30pm UTC](https://forums.suse.com/t/problem-with-lsb-release/30444/2 "2017-10-17T16:30:46Z")

</div>

> [@](#):
>
> On Tue 17 Oct 2017 12:14:02 PM CDT, islem wrote:
> 
> Hi,
> 
> I am not sure if I am posting a thread in the right forum.
> 
> Recently, I installed SLES 12 SP3.  
> Then I installed a software called Mpcci that requires Lsb ibraries to  
> be installed. I think I have it installed because the software was  
> installed successfully.
> 
> Then I tried to install another software called abaqus, and I think the  
> problem is with the lsb releases.  
> in one of its abaqus installation files, I think it checks the lsb  
> release by this command  
> DSY\_OS\_Release=`lsb_release --short --id |sed 's/ //g'`
> 
> when I checked my lsb release using this command  
> lsb\_release -a  
> I get  
> LSB Version: n/a  
> Distributor ID: SUSE  
> Description: SUSE Linux Enterprise Server 12 SP3  
> Release: 12.3  
> Codename: n/a
> 
> if I use this command  
> rpm -qf `which lsb_release`
> 
> I get the release version  
> lsb-release-2.0-28.1.noarch
> 
> I wanted to know why I get LSB Version: n/a, while I have a  
> version installed. and how to fix the problem.
> 
> Regards,  
> islem

Hi  
It’s not the right place… SLES applications would have been the  
correct place 😉

What prompted you to post here in Point of Sale systems, maybe something  
that can be changed in the forum?

Anyway, if you look at the variable name, it’s OS\_Release, not LSB  
release (LSB is dead anyway…)

If you run the command it produces the correct output;

```auto
lsb_release --short --id |sed 's/ //g'
SUSE
```

You need to look further in the script to see if SUSE is valid, else  
fix the script.

–  
Cheers Malcolm Â°Â¿Â° SUSE Knowledge Partner (Linux Counter #276890)  
openSUSE Leap 42.2|GNOME 3.20.2|4.4.87-18.29-default  
If you find this post helpful and are logged into the web interface,  
please show your appreciation and click on the star below… Thanks!

---

<div class="post-metadata">

**Author:** ![islem](https://avatars.discourse-cdn.com/v4/letter/i/ecd19e/32.png) [@islem](https://forums.suse.com/u/islem)\
**Post date:** [October 17, 2017, 5:06pm UTC](https://forums.suse.com/t/problem-with-lsb-release/30444/3 "2017-10-17T17:06:19Z")

</div>

Hi Malcolm,

Sorry about it, I didn’t realize that this forum is for sale system. Any way, I fixed that problem by changing SUSELINUX to SUSE in abaqus installer script. But now I have another question about how to get openmotif that I will post in the appropriate sub forum.

Regards,  
islem
