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

Rosdep update

asked 2013-07-05 08:28:15 -0500

Ohashi gravatar image

updated 2013-07-10 04:07:32 -0500

Hi,

I am new to both Linux system and ROS, thus aks you for pacience.

Here is the deal: I tried to run rosdep update, than this happens: (I had to hide the links in order to post this)

lpa@lpa-desktop:~$ rosdep update
...
ERROR: unable to process source [*link*]:
    Failed to download target platform data for gbpdistro:
    HTTP Error 404: Not Found
ERROR: unable to process source [*link*]:
    Failed to download target platform data for gbpdistro:
    HTTP Error 404: Not Found
updated cache in /home/lpa/.ros/rosdep/sources.cache
ERROR: Not all sources were able to be updated.
[[[
ERROR: unable to process source [*link*]:
    Failed to download target platform data for gbpdistro:
    HTTP Error 404: Not Found
ERROR: unable to process source [*link*]:
    Failed to download target platform data for gbpdistro:
    HTTP Error 404: Not Found
]]]

Here is rosdep --version:

lpa@lpa-desktop:~$ rosdep --version
0.10.15

I have seen other issues involving this matter, but could not solve it, for I do not know enough of the matter yet, or the problem remained unsolved. It came to my knowledge that there is a version 0.10.18 of rosdep, which should be updated, ok. I try this:" sudo apt-get update && sudo apt-get dist-upgrade " as suggested in a message with this tittle: Re: [ros-users] Roll out of new rosdistro today (seems I cannot publish links). Ok, but then, I get this:

You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 ros-groovy-navigation : Depends: libyaml-cpp-dev but it is not installed
 ros-groovy-rviz : Depends: libyaml-cpp-dev but it is not installed
E: Unmet dependencies. Try using -f.

if I repeat the command, adding -f , or running " sudo apt-get -f install " I get this:

dpkg: error processing /var/cache/apt/archives/libyaml-cpp-dev_0.3.0-1_amd64.deb (--unpack):
 trying to overwrite '/usr/include/yaml-cpp/aliasmanager.h', which is also in package yaml-cpp 0.2.7-5precise-20120502-0513-+0000
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

...

Errors were encountered while processing:
 /var/cache/apt/archives/libyaml-cpp-dev_0.3.0-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And then I get stuck, because I need to update rosdep, but cannot get the dependencies, right? And when I try to get python-rosdep, I get this:

lpa@lpa-desktop:~$ sudo apt-get install python-rosdep
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-rosdep is already the newest version.
python-rosdep set to manually installed.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ros-groovy-camera-calibration-parsers : Depends: libyaml-cpp-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

It tells also that the version I have is the newest, when its not, what do I do?

edit retag flag offensive close merge delete

Comments

Please edit it but put a whitespace into your link so we can see the actual urls. Once you get a few karma you can post valid links.

tfoote gravatar image tfoote  ( 2013-07-05 08:51:57 -0500 )edit

Looks like you're not reaching the repositories, and you have some broken packages. Which Linux distro are you using? Also it would help if you formatted the terminal output in your question as code (easier to read). You can do this by selecting the text and pressing the code format button.

AlphaSierra gravatar image AlphaSierra  ( 2013-07-05 08:54:05 -0500 )edit

What platform are you using? Rosdep's current released version is 0.10.20

tfoote gravatar image tfoote  ( 2013-07-05 08:55:23 -0500 )edit

according to rosdep --version , its 0.10.15 . I'll edit everything as soon as I can use the computer again, it's not in my home. The system is Ubuntu 12.10

Ohashi gravatar image Ohashi  ( 2013-07-07 11:16:57 -0500 )edit

Same kind of problem here. Anytime I try to update, I get 0.9.3 version for rosdep. Can't get the one you're talking about. The computer system is Ubuntu 12.04. dornhege solution didn't solve anything for me.

Lucile gravatar image Lucile  ( 2013-07-09 04:37:06 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
2

answered 2013-07-05 09:20:04 -0500

dornhege gravatar image

Somehow the yaml-cpp package changed. The only way I could fix that is by simply uninstalling all ROS packages + everything yaml-cpp like. Reinstalling went smooth with the correct dependencies.

As everything is via apt-get that should be quick to do with two commands - unless you have a slow internet connection.

edit flag offensive delete link more
2

answered 2013-07-10 04:05:36 -0500

Ohashi gravatar image

updated 2013-07-10 04:06:18 -0500

The solution proposed by dornhege worked for me, the code was the following:

sudo apt-get remove ^ros*
sudo apt-get remove --purge yaml-cpp
sudo apt-get install ros-groovy-desktop-full

As seen in this question: http: //answers.ros.org/question/51806/install-of-groovy-on-ubuntu-1210-problem/ It seems there were Fuerte packages here, causing a conflict. Thanks for all the help.

edit flag offensive delete link more
1

answered 2013-07-09 04:41:14 -0500

Lucile gravatar image

updated 2013-07-09 05:52:19 -0500

I don't know if it will solve everything, but what helped me to get the newest rosdep version (0.10.21) was to use this command line :

sudo pip install -U rosdep

that I found on this tutorial : http://www.ros.org/wiki/rosdep

hope that helps

edit flag offensive delete link more

Comments

tfoote gravatar image tfoote  ( 2013-07-09 06:09:56 -0500 )edit

There is no pip in this system, I suppose I could try getting it for this.

Ohashi gravatar image Ohashi  ( 2013-07-10 03:27:42 -0500 )edit

Question Tools

Stats

Asked: 2013-07-05 08:28:15 -0500

Seen: 4,234 times

Last updated: Jul 10 '13