Error while deleting ROS2 Humble
I upgraded my Ubuntu from 20.04 to 22.04 and installed ROS2 Humble and the example talker and listener nodes worked fine but when I tried to delete or even try sudo apt upgrade this error msg pops. I don't know what I should do. I tried clearing the cache files in the var folder and gave permission to all the required files. Can someone help me out in this?
This is the error which I get:
sandip26@sandip-rog-zephyrus:~$ sudo apt remove ~nros-humble-* && sudo apt autoremove
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'ros-humble-rmw-cyclonedds-cpp' is not installed, so not removed
Package 'ros-humble-rmw-connextdds' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
gazebo : Depends: gazebo-common (= 11.10.2+dfsg-1) but it is not going to be installed
libgazebo-dev : Depends: gazebo-common (= 11.10.2+dfsg-1) but it is not going to be installed
libgazebo11 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-common3-av-dev : Depends: libignition-cmake-dev but it is not going to be installed
libignition-common3-av3 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-common3-core-dev : Depends: libignition-cmake-dev but it is not going to be installed Depends: libignition-common3-3 (= 3.14.0+dfsg-5) but it is not going to be installed
libignition-common3-events3 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-common3-graphics-dev : Depends: libignition-cmake-dev but it is not going to be installed
libignition-common3-graphics3 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-common3-profiler3 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-fuel-tools4-4 : Depends: libignition-common3-3 (>= 3.14.0+dfsg) but it is not going to be installed
libignition-fuel-tools4-dev : Depends: libignition-cmake-dev (>= 2) but it is not going to be installed
libignition-msgs5-dev : Depends: libignition-cmake-dev (>= 2.8.0) but it is not going to be installed
libignition-transport8-dev : Depends: libignition-cmake-dev (>= 2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Try running the following command as suggested: