Ask Your Question

Verifying OS Name

asked 2015-12-21 17:52:03 -0500

tommytwoeyes gravatar image

updated 2015-12-21 17:52:44 -0500

I've just installed ROS Indigo on a new Raspberry Pi model 2. According to the ROS Indigo installation instructions, you must do lsb_release -a and ensure that it matches the following:


I've installed the Ubuntu 14.04 ARM release, following the instructions linked from the ROS Indigo installation tutorial.

However, the distro identity contained in /etc/lsb-release on my Pi 2 does not match the one in the tutorial precisely. Instead, mine says:

Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:    14.04
Codename:   trusty

As you can see, there are some minor differences. Will this matter? Should I edit /etc/lsb-release so that the file matches the identity text in the Indigo installation tutorial exactly? I was hesitant to do this without being certain, in case changes to the file might interfere with some other part of the OS. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-21 18:04:15 -0500

ahendrix gravatar image

Do not edit /etc/lsb-release. It is an OS file and may be reverted without notice during an upgrade.

edit flag offensive delete link more


Trainman! I have followed your blog for some time now. It's awesome to get a response from you. Thanks! Ok, I'll leave the file alone. But does that mean those minor differences are unimportant?

tommytwoeyes gravatar image tommytwoeyes  ( 2015-12-21 18:13:41 -0500 )edit

probably... I haven't set up an ARM board in a while, but I get similar results on my x86 desktop. Note that the output of lsb_release -a and the contents of /etc/lsb-release are related but not the same.

ahendrix gravatar image ahendrix  ( 2015-12-21 18:18:05 -0500 )edit

Oh ok, I didn't realize they were different. I'd just assumed calling lsb_release -a was equivalent to performing cat /etc/lsb-release.

tommytwoeyes gravatar image tommytwoeyes  ( 2015-12-21 18:21:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-21 17:52:03 -0500

Seen: 70 times

Last updated: Dec 21 '15