Robotics StackExchange | Archived questions

ros-foxy installation issue

When I tried to reinstall ros-foxy I'm getting this error. Pls help.

$ sudo apt install ros-foxy-desktop


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-foxy-desktop : Depends: ros-foxy-joy but it is not going to be installed
                    Depends: ros-foxy-teleop-twist-joy but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Asked by rukey3001 on 2022-03-04 02:32:17 UTC

Comments

Answers

Hi @rukey3001

Please take a look at prior answer: #q279780 as it offers a couple approaches how to find the problematic dependencies.

Asked by osilva on 2022-03-05 15:15:42 UTC

Comments

Yes I had similar issue while recent installation, It is due to some version mismatch. I tried to downgrading few dependencies but it didn't worked well and I lost few drivers and software. I was using Ubuntu 20.04.4 but then I shifted to the Ubuntu 20.04.2 it was solved. I am not sure if you are considering the downgrading the system or not but it can be one of the solution.

Asked by aarsh_t on 2022-03-05 15:45:26 UTC

Comments