4

When I used the command lsb_release, System threw an error that "No lsb modules are available". So what are they and why to install them to get my system info(through command lsb_release)?

7
  • 3
    See the bug.
    – Vijay
    Feb 2, 2019 at 12:16
  • 1
    Who say you "need to install them"? Feb 2, 2019 at 12:30
  • Use lsb_release -cdir. Plain lsb_release is not supposed to work on Ubuntu.
    – AlexP
    Feb 2, 2019 at 13:32
  • dupe: askubuntu.com/questions/230766/…
    – Rinzwind
    Feb 2, 2019 at 14:15
  • 1
    Thanks @VeeJay. I got why it is showing the error. But I didn't get what are these modules!
    – Brijesh
    Feb 9, 2019 at 19:12

1 Answer 1

1

After trying lsb_release -cdir and seeing that it worked, I just set it up as an alias with

alias lsb_release='lsb_release -cdir'

I'm running Ubuntu 18.04, so doing this made sense for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.