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

Error in ROS Install on Pandaboard: 'E: Package 'mercurial' has no installation candidate'

asked 2011-07-28 00:29:01 -0600

Eduardo gravatar image

updated 2014-01-28 17:10:07 -0600

ngrennan gravatar image


I installed Ububtu 11.04 headless on a PandaBoard. I'm using minicom.

I'm trying install ROS on a Pandaboard through minicom. I follow the web:

and the guide indicate:

I introduce the first comand by minicom:

sudo apt-get install build-essential python-yaml cmake subversion wget python-setuptools mercurial

and I received the next text in the minicom:

make subversion wget python-setuptools mercurialll build-essential python-yaml c 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package mercurial is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'mercurial' has no installation candidate

Can you help me please? how can I install ROS?

Thanks so much


edit retag flag offensive close merge delete

4 Answers

Sort by ยป oldest newest most voted

answered 2011-08-01 00:36:46 -0600

Eduardo gravatar image


Yes, it's strange. I did copy-paste of the comand, then I think that no had error write.

I don't understand good the " and universe turned on", I'm new with ROS and I only know a bit Linux SO, but I think that one of the steps that I followed in the guide was apt-get update.

I eliminated the word mercurial of the comand and the instalation was successfull. I'm not sure that it are good or correct and the ROS will run correctly.... :S. I can create new packages, directories,... I will try to work...

Thanks so much.

edit flag offensive delete link more


Check the file: /etc/apt/sources.list. There will probably be some commented lines starting with deb and ending with univserse. If you uncomment those and rerun apt-get update you enabled the universe repositories. Additional packages as mercurial will be available.
dornhege gravatar image dornhege  ( 2011-08-01 02:03:30 -0600 )edit

answered 2011-07-28 12:59:19 -0600

Try "sudo apt-get install mercurial" by itself. Your results look strange. It looks like you thought you typed mercurial but entered mercurialll instead. Did you correct it in some places when you posted your message?

edit flag offensive delete link more

answered 2011-07-28 12:19:28 -0600

tfoote gravatar image

Make sure you have and universe turned on in your apt sources. And make sure that you apt-get update before you try the install.

I find what looks like healthy packages in the repo.

edit flag offensive delete link more

answered 2012-02-17 03:30:40 -0600

kmaroney gravatar image

Adding to what Tully said, a good way to turn on the universe and multiverse in you apt sources from command line is described here.

After you apt-get update you should be able to locate and install mercurial.

edit flag offensive delete link more

Question Tools


Asked: 2011-07-28 00:29:01 -0600

Seen: 1,470 times

Last updated: Feb 17 '12