Melodic install : non existing packages / broken packages
I am trying to install ROS Melodic on a virgin Ubuntu 18.04.
The installation manual ( http://wiki.ros.org/melodic/Installat... ) working fine until 1.4 Installation. After the apt-get update i don't have "ros-melodic-" named packages available, only package names without this prefix. For example "ros-base". If i am trying to install these this happens:
mpathy@ubuntu:~$ sudo apt-get install ros-base
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:
ros-base : Depends: ros-core but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
In case i try to install "ros-core":
mpathy@ubuntu:~$ sudo apt-get install ros-core
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:
ros-core : Depends: python-rosbag but it is not going to be installed
Depends: python-roslaunch but it is not going to be installed
Depends: python-rosmsg but it is not going to be installed
Depends: python-rosnode but it is not going to be installed
Depends: python-rosservice but it is not going to be installed
Depends: python-rostopic but it is not going to be installed
Depends: python-message-filters but it is not going to be installed
Depends: python-roswtf but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried the "ros-shadow-fixed" as it is mentioned in the installation manual, but it results the same.
At this point i am stucked. Any idea what to try next?
Seems like there was some problem in adding the ROS apt repo in your apt sources. Can you reply with the contents of the
/etc/apt/sources.list.d/ros-latest.list
file?Nothing special, just what is should be by the installation manual.
Are there any errors/warnings when you run a
sudo apt-get update
? Doesdpkg-query -l ros-melodic*
return anything?No. Warnings. No ros-melodic packets. This is pretty deterministic.
I know this is more than 6 months old but hope this help someone, I recently came across this problem, your probably running an i386 version of 18.04, after trying to install ros-melodic using aptitude I discovered many packages aren't available for the i386 version of 18.04. Solution is to install 18.04 amd64 version of Ubuntu.