Cannot install catkin

asked 2020-07-28 12:05:03 -0500

Yehor12 gravatar image

updated 2020-07-28 14:19:38 -0500

gvdhoorn gravatar image

I tried to install parrot drone simulator but failed, because some packages were missing and I could not lauch simulator with catkin_make. Then I decided to install ros noetic desktop full using guide on the official site, and then catkin via sudo apt-get install catkin. I failed and got this message:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 python3-rosdep-modules : Depends: python3-catkin-pkg-modules (>= 0.4.0) but it is not going to be installed
                          Depends: python3-rosdistro-modules (>= 0.7.5) but it is not going to be installed
 python3-rospkg-modules : Depends: python3-catkin-pkg-modules but it is not going to be installed
 ros-noetic-rospack : Depends: python3-catkin-pkg-modules but it is not going to be installed
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/ros-focal.list:1 and /etc/apt/sources.list.d/ros-latest.list:1
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt --fix-broken install didn't hepl, now I cannot do anything with ros, I'm stuck. Please, hepl, how can I fix this or delete the whole ros and start from the beginning, because I've made I lot of mess by trying to fix this.

edit retag flag offensive close merge delete

Comments

I think I have the same problem after installing Noetic on Ubuntu 20.04. The packages that catkin apparently depends on are in fact installed, but it still says "but it is not going to be installed"

rogue gravatar image rogue  ( 2020-08-25 10:03:52 -0500 )edit