ERROR: the following rosdeps failed to install

asked 2021-01-02 11:28:39 -0600

Ayan gravatar image

I am working on ROS kinetic on pi 4 on Debain Buster and when i am Adding Released Packages on and run this command:

rosdep install --from-paths src --ignore-src --rosdistro kinetic -y -r --os=debian:jessie

I am getting this error :

**apt: command [sudo -H apt-get install -y liblog4cxx10-dev] failed

apt: command [sudo -H apt-get install -y gazebo7] failed

apt: command [sudo -H apt-get install -y python-imaging] failed

apt: command [sudo -H apt-get install -y python-rospkg-modules] failed

apt: command [sudo -H apt-get install -y libpcl1.7] failed

apt: command [sudo -H apt-get install -y libav-tools] failed

apt: command [sudo -H apt-get install -y libvtk5-qt4-dev] failed

apt: command [sudo -H apt-get install -y libgazebo7-dev] failed

apt: command [sudo -H apt-get install -y libprotobuf9] failed

apt: Failed to detect successful installation of [liblog4cxx10-dev]

apt: Failed to detect successful installation of [gazebo7]

apt: Failed to detect successful installation of [python-imaging]

apt: Failed to detect successful installation of [python-rospkg-modules]

apt: Failed to detect successful installation of [libpcl1.7]

apt: Failed to detect successful installation of [libav-tools]

apt: Failed to detect successful installation of [libpng12-dev]

apt: Failed to detect successful installation of [libvtk5-qt4-dev]

apt: Failed to detect successful installation of [libgazebo7-dev]

apt: Failed to detect successful installation of [libprotobuf9]**

Where can I download these packages ??

edit retag flag offensive close merge delete

Comments

Seems you cannot install them for your preferred distro via apt. You could try building from source, but this will be an awful lot of work seeing what packages are around there.

A much more interesting question: You are running on "Debian Buster" but request rosdep to resolve the keys for "Debian Jessie". Why?

mgruhler gravatar image mgruhler  ( 2021-01-04 04:34:21 -0600 )edit

I am not installing from beginning and now get this error while downloading rosdep dependencies:

python-rosdep-modules : Depends: python-catkin-pkg-modules (>= 0.4.0) but it is not going to be installed Depends: python-rosdistro-modules (>= 0.7.5) but it is not going to be installed python-rospkg-modules : Depends: python-catkin-pkg-modules but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Ayan gravatar image Ayan  ( 2021-01-16 04:12:34 -0600 )edit

A much more interesting question: You are running on "Debian Buster" but request rosdep to resolve the keys for "Debian Jessie". Why?

mgruhler gravatar image mgruhler  ( 2021-01-19 02:32:39 -0600 )edit

Not using Jessie but now using Buster and using this line rosdep install -y --from-paths src --ignore-src --rosdistro kinetic -r --os=debian:buster

I am following steps from this link: http://wiki.ros.org/ROSberryPi/Instal...

and getting this error when i run the command:

 File "/usr/bin/rosdep", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3191, in <module>
    @_call_aside
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3175, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3204, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 585, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_reso
Ayan gravatar image Ayan  ( 2021-01-20 04:27:36 -0600 )edit

Your error printout is not complete but my initial glance said this is a python-* , python3-* error. Now, I think you should backtrack your steps and missed any swaps for Buster/Jessie. If that is the case, I would make unwanted apt keys, sources, etc. are not there

OzzieTheHead gravatar image OzzieTheHead  ( 2021-05-06 10:21:30 -0600 )edit