ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Trouble installing ROS on Ubuntu 20.04

asked 2023-01-06 10:54:48 -0500

Iony_M gravatar image

On a machine running a just installed Ubuntu 20.04.5 OS, I'm trying to install some packages, specifically the ROS framework.

The process fails in step 1.4 of such (taken from the ROS install guide): enter image description here

after running the sudo apt install ros-noetic-desktop-full I get the following output: ros-noetic-desktop-full : Depends: ros-noetic-desktop but it is not going to be installed Depends: ros-noetic-perception but it is not going to be installed Depends: ros-noetic-simulators but it is not going to be installed Depends: ros-noetic-urdf-sim-tutorial but it is not going to be installed E: Unable to correct problems, you have held broken packages.

I should say that the first time I did this, I set the package server for software download to 'main server' instead of the regional server automatically assigned and set the update request to 'Never', and got the message error while refreshing cache ubuntu pk-client-error-quark

I have tried fixing the broken dependencies with the apt commands, I've google the problem and the terminal output but haven't been able to solve the problem.

I ran into this problem in two different machines, and when tried to replicate in a VM with 'Boxes' inside my dev-machine I didn't face the same issue.

I should also add that I am not a Linux expert by any means, and that I might have done or do something that's beyond me yet. However, any suggestions/explanations are highly welcomed.

best regards

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-06 15:31:23 -0500

Shivam gravatar image

It looks like there is a problem with the dependencies of the ros-noetic-desktop-full package, which is preventing it from being installed. The error message indicates that the ros-noetic-desktop, ros-noetic-perception, ros-noetic-simulators, and ros-noetic-urdf-sim-tutorial packages are required by ros-noetic-desktop-full, but they are not going to be installed.

There are a few different ways you can try to resolve this issue:

  1. Make sure that your package manager's package database is up to date. You can do this by running the apt update command. This will download the latest package lists from the package repositories and update the package database.

  2. Make sure that you have all of the necessary dependencies installed. The ros-noetic-desktop-full package depends on a number of other ROS packages, including ros-noetic-desktop, ros-noetic-perception, ros-noetic-simulators, and ros-noetic-urdf-sim-tutorial. You may need to install these packages manually before you can install ros-noetic-desktop-full.

  3. Use the apt-get -f install command to fix broken dependencies. This command will try to fix any broken dependencies by installing the missing packages or removing conflicting packages.

  4. If none of the above solutions work, you may need to manually resolve the dependency conflicts. You can do this by identifying the packages that are causing the conflicts and either removing them or finding a way to install them.

I hope these suggestions help you resolve the problem with the ros-noetic-desktop-full package. Let me know if you have any further questions or need more assistance.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2023-01-06 10:54:48 -0500

Seen: 722 times

Last updated: Jan 06 '23