Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Installation of Intel realsense on ubuntu (Ubuntu 18.04.5 LTS) #114

Open
dbgarasiya opened this issue Jan 4, 2021 · 3 comments
Open

Installation of Intel realsense on ubuntu (Ubuntu 18.04.5 LTS) #114

dbgarasiya opened this issue Jan 4, 2021 · 3 comments

Comments

@dbgarasiya
Copy link

I can't able to install intel-ros on my ubuntu pc

when i run this script = ./demo/rdk_install.sh
I got error while installing gazebo. error about dependency

when i install gazebo 9 and then run script it automatically delete and install gazebo11
when i install gazebo 11 and then run script it ask about gazebo9

how can it solve this ?

@dbgarasiya dbgarasiya changed the title Installation of Intel realsense on ubntu (Ubuntu 18.04.5 LTS) Installation of Intel realsense on ubuntu (Ubuntu 18.04.5 LTS) Jan 4, 2021
@dbgarasiya
Copy link
Author

Finaly i solved !!!!!!!!!!!

@seyoung-solteq
Copy link

@dbgarasiya Could you share your solution? I have the same issue.

The following packages have unmet dependencies:
 gazebo11 : Depends: libgazebo11 (= 11.3.0-1~bionic) but it is not going to be installed
            Recommends: gazebo11-plugin-base
 libgazebo11-dev : Depends: libgazebo11 (= 11.3.0-1~bionic) but it is not going to be installed
                   Depends: gazebo11-plugin-base (= 11.3.0-1~bionic)
E: Unable to correct problems, you have held broken packages.

@seyoung-solteq
Copy link

I found the cause and fix of the problem.

Cause: Hard-coded Gazebo version in the installation script

if [[ "$http_proxy" == "" ]];then
curl -sSL http://get.gazebosim.org | sh
else

Content of the installation script: https://raw.githubusercontent.com/ignition-tooling/release-tools/master/one-line-installations/gazebo.sh

GZ_VER=11

command_exists() {
	command -v "$@" > /dev/null 2>&1
}

Fix: Download the script and modify.

# Uninstall Gazebo 11 installed by RDK installation script.
$ dpkg -l | grep gazebo
$ sudo apt-get remove <package>
$ wget https://raw.githubusercontent.com/ignition-tooling/release-tools/master/one-line-installations/gazebo.sh

You only need a small change

GZ_VER=9

command_exists() {
	command -v "$@" > /dev/null 2>&1
}
$ bash gazebo.sh
$ gazebo --version
Gazebo multi-robot simulator, version 9.16.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

Then comment out gazebo installation:

if [[ "$http_proxy" == "" ]];then
curl -sSL http://get.gazebosim.org | sh
else

Now the installation should work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants