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

Installing Melodic results in python-rospkg-modules error

asked 2019-08-23 19:59:22 -0500

sazr gravatar image

I am attempting to install ROS Melodic on Ubuntu 18.04 following this help documentation:

My installation is failing at the last step (1.7) where I enter the command:

sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential

Below I will post the error that is output. Can you suggest what is going wrong and how I can fix it? Any advice would be extremely appreciated.

.... lines removed by OP for brevity
Unpacking subversion (1.9.7-4ubuntu1) ...
Selecting previously unselected package python-vcstools.
Preparing to unpack .../11-python-vcstools_0.1.42-1_all.deb ...
Unpacking python-vcstools (0.1.42-1) ...
Selecting previously unselected package python-wstool.
Preparing to unpack .../12-python-wstool_0.1.17-1_all.deb ...
Unpacking python-wstool (0.1.17-1) ...
Selecting previously unselected package python-rosinstall.
Preparing to unpack .../13-python-rosinstall_0.7.8-1_all.deb ...
Unpacking python-rosinstall (0.7.8-1) ...
Selecting previously unselected package python-rosinstall-generator.
Preparing to unpack .../14-python-rosinstall-generator_0.1.16-1_all.deb ...
Unpacking python-rosinstall-generator (0.1.16-1) ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-07-22 01:24:08 -0500


I am facing similar issues while building melodic ROS1 with yocto environment, did u manage to solve this out? Please share your solution, any input on this will be highly appreciated.

Thanks & Regards, Vipul Kumar

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2019-08-23 19:59:22 -0500

Seen: 331 times

Last updated: Aug 23 '19