# [ROS] Solution to fix "Unable to handle 'index' format version '2', please update rosdistro" problem

Author posted @ 2014年8月12日 07:37 in ROS , 2483 阅读

When I upgrade ROS from Hydro to Indigo on Ubuntu 14.04 Trusty, I followed the installation instructions posted at http://wiki.ros.org/indigo/Installation/Ubuntu. However, after typing in command "rosdep update", I met a problem saying :

rosdep version: 0.10.24

Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 121, in rosdep_main
exit_code = _rosdep_main(args)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 264, in _rosdep_main
return _no_args_handler(command, parser, options, args)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 272, in _no_args_handler
return command_handlers[command](options)
File "/usr/lib/pymodules/python2.7/rosdep2/main.py", line 437, in command_update
error_handler=update_error_handler)
File "/usr/lib/pymodules/python2.7/rosdep2/sources_list.py", line 433, in update_sources_list
for d, dist in get_index().distributions.items():
File "/usr/lib/pymodules/python2.7/rosdep2/rosdistrohelper.py", line 58, in get_index
_RDCache.index = rosdistro.get_index(_RDCache.index_url)
File "/usr/lib/pymodules/python2.7/rosdistro/__init__.py", line 109, in get_index
return Index(data, base_url)
File "/usr/lib/pymodules/python2.7/rosdistro/index.py", line 50, in __init__
assert int(data['version']) == 1, "Unable to handle '%s' format version '%d', please update rosdistro" % (Index._type, int(data['version']))
AssertionError: Unable to handle 'index' format version '2', please update rosdistro

After trying the solution posted at [1], the problem was still there :-(

Fortunately, the valid solution I found from 古-月[2] is much simpler:

2.  Unzip the file and enter the folder "rosdistro-0.3.5", type in command:
sudo python setup.py install
3.  Re-run command: rosdep update. Done without any error.

References:

전설 서구 说:
2021年3月01日 02:24

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often. 123movie

sk 说:
2021年6月06日 03:23

Nice post! This is a very nice blog that I will definitively come back to more times this year! Thanks for informative post. https://caldwells.com/interior-doors/contemporary-doors

seo 说:
2021年9月18日 22:58

Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. Facial Fillers

seo 说:
2021年9月18日 22:58

A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Titanium Frying Pans

seo 说:
2021年9月18日 22:58

I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... Motor Vehicle Accidents

seo 说:
2021年9月18日 23:00

I was reading some of your content on this website and I conceive this internet site is really informative ! Keep on putting up. Shelving and Racking

seo 说:
2021年9月18日 23:02

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post. Cocourth coconut charcoals

seo 说:
2021年9月18日 23:04

Wow, What a Excellent post. I really found this to much informatics. It is what i was searching for.I would like to suggest you that please keep sharing such type of info.Thanks Fender Kit DB Industries Sur-Ron

seo 说:
2021年9月18日 23:06

I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Halal Steaks Online

seo 说:
2021年9月18日 23:08

This particular papers fabulous, and My spouse and i enjoy each of the perform that you have placed into this. I’m sure that you will be making a really useful place. I has been additionally pleased. Good perform! Dekode

seo 说:
2021年9月18日 23:10

I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... asbestos testing mississauga

seo 说:
2021年9月18日 23:13

This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work Men’s Lab Coat

seo 说:
2021年9月18日 23:20

very interesting post.this is my first time visit here.i found so mmany interesting stuff in your blog especially its discussion..thanks for the post! Science Tutoring

seo 说:
2021年9月18日 23:22

Really a great addition. I have read this marvelous post. Thanks for sharing information about it. I really like that. Thanks so lot for your convene. T Pink Bridal Bangles

seo 说:
2021年9月18日 23:24

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with extra information? It is extremely helpful for me. 3M AURA HEALTH CARE

2021年10月05日 19:15

In the wake of perusing your article I was stunned. I realize that you clarify it exceptionally well. What's more, I trust that different perusers will likewise encounter how I feel in the wake of perusing your article. 바카라사이트

merckseo 说:
2021年10月10日 06:04

Best Social Plan is the most trusted company for providing social media marketing services. Best Social Plan

2021年10月14日 00:39

A debt of gratitude is in order for such an extraordinary post and the audit, I am completely inspired! Keep stuff like this coming. MGWIN88

2021年10月17日 18:54

Decent data, profitable and phenomenal outline, as offer well done with smart thoughts and ideas, bunches of extraordinary data and motivation, both of which I require, on account of offer such an accommodating data here. 안전놀이터

2021年10月18日 18:45

It has completely risen to crown Singapore's southern shores and without a doubt set her on the worldwide guide of private historic points. Regardless I scored the a bigger number of focuses than I ever have in a season for GS. I figure you would be unable to discover someone with a similar consistency I have had throughout the years so I am content with that. মার্কিন ভিসা ESTA

2021年10月18日 20:30

It is particularly conventional, however investigate the tips amid this street number. 안전놀이터

2021年10月21日 23:28

In the wake of perusing your article I was stunned. I realize that you clarify it exceptionally well. What's more, I trust that different perusers will likewise encounter how I feel in the wake of perusing your article. realizzazione siti web Milano

2021年10月23日 21:02

2021年10月24日 00:06

This is exceptionally noteworthy, but then essential towards simply click this special backlink: Kanādas vīzu pieteikums tiešsaistē

2021年10月24日 02:39

For genuine devotees of this string I will address is a free on the web! Sewa Excavator Murah

merckseo 说:
2021年10月26日 01:52

This is likewise a decent post which I truly appreciated perusing. It isn't each day that I have the likelihood to see something like this..  login sbobet

merckseo 说:
2021年10月26日 19:40

This is extremely fascinating substance! I have altogether delighted in perusing your focuses and have arrived at the conclusion that you are ideal about a significant number of them. You are incredible.  안전놀이터

(输入验证码)
or Ctrl+Enter