Installing ROS Indigo on Ubuntu 14.04.2 - ros

System Information:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
Error message we get:
The following packages have unmet dependencies:
ros-indigo-desktop-full : Depends: ros-indigo-desktop but it is not going to be installed
Depends: ros-indigo-perception but it is not going to be installed
Depends: ros-indigo-simulators but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
If I explore the error message further, this is what I get:
ros-indigo-cpp-common : Depends: libconsole-bridge0.2 but it is not installable
Depends: libboost-all-dev but it is not installable
Depends: libconsole-bridge-dev but it is not installable

I have successfully installed ROS Indigo on Ubuntu 14.04. So be assured that it can be done.
I have seen many of these errors when installing ROS packages. There seems to be some error in the package management system in Ubuntu (aptitude). You may try
sudo apt-get update
sudo apt-get install -f
If it doesn't work, try to manually install some dependencies by
sudo apt-get install ros-indigo-simulators
sudo apt-get install ros-indigo-perception
Hope it helps.

My suggestion would be to delete the old installation as manual installations of dependencies may be too much. I have written a complete end to end blog on the installation of ROS Indigo over Ubuntu 14.04.

For those whom still had problems after trying everything.
I have tracked dependencies and found out that the problem is libboost, I had the version 1.55 but some of ros-indigo modules require the 1.54 version
Try these commands
sudo apt-get install libboost1.54-tools-dev
sudo apt-get install libboost-tools-dev
sudo apt-get install libboost-mpi-python1.54.0
sudo apt-get install libboost-mpi-python1.54-dev
sudo apt-get install libboost-mpi-python-dev
then you can finally
sudo apt-get install ros-indigo-desktop-full
Hope this helps

Related

Containerd.io depends libseccomp2

Hi I'm trying to install docker in my Debian 10 computer and I have a few problems trying to install containerd.io service.
When I'm trying to install using this command I got an error that I need to upgrade a dependency. But If I try to upgrade manually terminal shows me an advice that I'm already using the last version of this package.
sudo apt-get install docker-ce docker-ce-cli containerd.io
Also I tried to follow this tutorial, but it is not compatible with my debian version
docker-ce : Depends: libseccomp2 (>= 2.3.0) but 2.2.3-3ubuntu3 is to be installed
Depends: libseccomp2 (>= 2.4.0) but 2.3.3-4 is to be installed
I had the same error. I made the wrong Linux distribution. I had chosen Ubuntu instead of Debian. I had to delete the lines with ubuntu in nano /etc/apt/sources.list and I did sudo apt-get update and I installed sudo apt-get install build-essential. It worked for me !

Unable to install Phusion Passenger on Ubuntu Server 18.04

Running on a fresh install of Ubuntu Server 18.04 on Virtualbox, Windows 10 as the host OS. Ran the instructions on the Phusion Passenger site here
This is the error I'm getting:
steve#heartypet-staging:~$ sudo apt-get install -y libnginx-mod-http-passenger
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libnginx-mod-http-passenger : Depends: passenger (= 1:5.3.4-1~bionic1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Oddly enough, the exact same instructions work fine on the desktop version.
Get default source list from here
https://askubuntu.com/a/1036749
Replace /etc/apt/source.list with the file in the link above.
Then sudo apt update and sudo apt upgrade
And go ahead...
If you having problems with the previous solution, one option is run this command:
sudo nano /etc/apt/sources.list.d/passenger.list
and comment all the lines in this file, then run the command
sudo apt-get install passenger

Nvidia 9.2 CUDA toolkit nvcc install error

I am trying to install the CUDA toolkit on Ubuntu 16.04 with
sudo apt-get install cuda
and keep getting the following error:
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
cuda : Depends: cuda-9-2 (>= 9.2.148) but it is not going to be
installed
E: Unable to correct problems, you have held broken packages
any help?
Option 1:
sudo apt-get install cuda-runtime-9-2
sudo apt-get install cuda-9-2
sudo apt-get install cuda
Option 2:
sudo apt-get install aptitude
sudo aptitude install cuda

how can i install rmagick on ubuntu 17.04

Installing rmagick on Ubuntu
there are solutions for different versions of ubuntu, but none worked on 17.04 ?
sudo apt-get install libmagickwand-dev gives
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libmagickwand-dev : Depends: imagemagick-6-common (= 8:6.9.7.4+dfsg-3ubuntu1) but 8:6.9.7.4+dfsg-3ubuntu1.2 is to be installed
Depends: libmagickwand-6.q16-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Couldn't find any solution for this. Updated to Ubuntu to 17.10, where it works fine.
You can search for any packages in ubuntu doing a sudo apt-cache search libmagickwand-dev and if you find the package you are looking for then install it doing sudo apt-get install libmagickwand-dev,
Installing all the unmet dependencies should fix the problem, and it is always helpful to do the commands below to upgrade any missing packages
sudo apt-get upgrade && sudo apt-get update
You should be able to install rmagick without any issues after this.

Problems installing scikit-image in ubuntu 14.04

When I try to install scikit-image with pip2 there is show error. I have tried to find this problem solution.
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_root/scikit-image
Storing debug log for failure in /home/nshakib/.pip/pip.log
My guess is that you might have missing dependencies. I don't think Ubuntu 14.04 comes out of the box with any of the SciPy stack.
To answer your question try,
sudo apt-get install python-matplotlib python-numpy python-pil python-scipy
Then
sudo apt-get install build-essential cython
Finally
sudo apt-get install python-skimage
If that still doesn't work, you could try using the Anaconda Distribution for Python 2.7 from Continuum Analytics.
It comes with many of the major packages built-in and has a great package manager that manages dependencies.
https://docs.continuum.io/anaconda/install#anaconda-install
The conda package would be installed with conda install scikit-image

Resources