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

installing on Debian Squeeze - issues with package dependencies

asked 2011-03-29 19:29:16 -0500

aditi gravatar image

updated 2014-01-28 17:09:26 -0500

ngrennan gravatar image

Hey all,

I followed the Debian installation instructions on the wiki and I'm operating on Squeeze and all that. However, I'm encountering an error (i think) right after all the files are copied, when dependencies are being calculated.

this is what I see:

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:
 libaprutil1-dev : Depends: libpq-dev but it is not going to be installed
[ rosmake ] rosdep install failed: rosdep script failed with stderr
E: Broken packages

Traceback (most recent call last):
 File "/usr/local/bin/rosinstall", line 5, in <module>
   pkg_resources.run_script('rosinstall==0.5.16', 'rosinstall')
 File "/usr/lib/python2.6/dist-packages/", line 467,
in run_script
   self.require(requires)[0].run_script(script_name, ns)
 File "/usr/lib/python2.6/dist-packages/", line 1200,
in run_script
   execfile(script_filename, namespace, namespace)
 File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 556, in <module>
   sys.exit(not rosinstall_main(sys.argv))
 File "/usr/local/lib/python2.6/dist-packages/rosinstall-0.5.16-py2.6.egg/EGG-INFO/scripts/rosinstall",
line 547, in rosinstall_main
   subprocess.check_call("source %s && rosmake ros%s
--rosdep-install%s" % (os.path.join(options.path, ''),
ros_comm_insert, rosdep_yes_insert), shell=True,
 File "/usr/lib/python2.6/", line 488, in check_call
   raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'source
/home/aditi.nagaraj/ros/ && rosmake ros ros_comm
--rosdep-install' returned non-zero exit status 1

if I try to just continue, I can work through the beginner tutorials up till using 'rosdep' i also want to work with the stage simulation package, but using 'rosmake stage' is returning errors while building the package. roswtf returns some stuff about ros master that always fails whenever I try to follow it through (sorry, can't replicate the results for some reason).

does anyone have a solution to this? this is the second time I've tried installing it, as I had the same error the first time. i chose a new directory the second time around, but still does not seem to have helped! if I should be doing something more rigorous to uninstall, please let me know!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-03-29 22:37:41 -0500

Ugo gravatar image


You're debian install seems to have some problems:

libaprutil1-dev : Depends: libpq-dev but it is not going to be installed

May be you should try to install libaprutil1-dev with aptitude: sudo aptitude install libaprutil1-dev

or sudo aptitude install -f to try fix the problem

edit flag offensive delete link more


and please report what's happening so we can eventually change the rosdep files.
Willy Lambert gravatar image Willy Lambert  ( 2011-03-30 00:18:17 -0500 )edit

Question Tools

1 follower


Asked: 2011-03-29 19:29:16 -0500

Seen: 1,107 times

Last updated: Mar 29 '11