Any idea why this keeps happening? Is there a way to remove all of these libraries and let ROS re-install only what it requires? Is there a better solution?

 


You hosed your wxwidgets install, and if you're just recompiling rviz with everything else being a .deb install it's going to get skipped by rosmake.  John is right that you probably want to reinstall python-wxgtk2.8 as well, and then I'd recommend reinstalling the ROS debs.

Josh