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

'Unable to locate package swig-wx' Error When Trying to Install swig-wx

asked 2012-11-12 13:19:21 -0600

Merdad gravatar image

Hi All,

I'm trying to build rxtools and turtlesim package (following ROS tutorials '8. Using rxconsole and roslaunch'), but when I try the command

mehrdad@ubuntu:~$ rosdep install rxtools turtlesim

I get:

executing command [sudo apt-get install swig-wx]
[sudo] password for mehrdad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package swig-wx
ERROR: the following rosdeps failed to install
apt: command [sudo apt-get install swig-wx] failed

Then, when I try the above command (sudo apt-get install swig-wx), I get this error:

mehrdad@ubuntu:~$ sudo apt-get install swig-wx
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package swig-wx

How do I resolve this?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-11-12 18:24:43 -0600

tnakaoka gravatar image

updated 2012-11-12 20:49:01 -0600

I found a rosdistro commit related to swig-wx: Added swig-wx rules to base.yaml

But I can't find the package named 'swig-wx' in packages.ubuntu.com.

So I removed the following lines from ~/.ros/rosdep/sources.cache/0a12...(please check that this is a cache of https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml)

swig-wx:
  debian: swig-wx
  ubuntu: {lucid: swig-wx, oneiric: swig-wx, precise: swig-wx, quantal: swig-wx}

Then rosdep seems to work well.

edit flag offensive delete link more
1

answered 2012-11-12 16:35:53 -0600

This problem is relevant to ubuntu instead of ROS.

Try

sudo apt-get update

first. If this doesn't work, you can reference

http://ubuntuforums.org/showthread.php?t=1629083

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2012-11-12 13:19:21 -0600

Seen: 1,198 times

Last updated: Nov 12 '12