Snapdragon flight ros install

Hi, thanks for your help

I followed whole process https://docs.px4.io/en/flight_controller/snapdragon_flight_software_installation.html

However, when I try to install ros-indigo-base I have unmet dependency error such as


The following packages have unmet dependencies:
python-rosdep : Depends: python-catkin-pkg (>= 0.4.0) but it is not going to be installed
Depends: python-rosdistro (>= 0.7.0) but it is not going to be installed
python-rospkg : Depends: python-catkin-pkg but it is not going to be installed
python-rospkg-modules : Depends: python-catkin-pkg but it is not going to be installed
ros-indigo-catkin : Depends: python-catkin-pkg (> 0.2.9) but it is not going to be installed
ros-indigo-rospack : Depends: python-catkin-pkg but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).


so when I did
sudo apt-get -f install, it shows another error message


Errors were encountered while processing:
/var/cache/apt/archives/python-catkin-pkg-modules_0.4.10-1_all.deb
/var/cache/apt/archives/python-catkin-pkg_0.4.10-100_all.deb
/var/cache/apt/archives/python-rosdistro-modules_0.7.2-1_all.deb
/var/cache/apt/archives/python-rosdistro_0.7.2-100_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Do you have any idea?

No idea if this still works. Have you tried updating/upgrading?

sudo apt-get update
sudo apt-get upgrade

Thanks JullianOes,

I’ve figured out by following the solution here.

It surely works for me

1 Like