Unable to locate package - troubleshooting tips
I'm running into an issue where I'm getting package not found on an Indigo install. It looks like there are a lot of questions about specific packages in the forum and I was wondering if there are general troubleshooting steps that should be taken to 1) determine if the packages are in fact in storage but not installed or 2) not installed at all. If apt-get isn't finding the package, I"m thinking that the location for packages in my configuration that's missing. Could that be the case? I ran roslocate for the rviz package (see below) and it came back with a 404 error. Are there other tools that I should be using to determine if this is the issue?
sudo apt-get install ros-indigo-ros-tutorials ros-indigo-geometry-tutorials ros-indigo-rviz ros-indigo-rosbash ros-indigo-rqt-tf-tree
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package ros-indigo-ros-tutorials
E: Unable to locate package ros-indigo-geometry-tutorials
E: Unable to locate package ros-indigo-rviz
E: Unable to locate package ros-indigo-rosbash
E: Unable to locate package ros-indigo-rqt-tf-tree
roslocate info ros-indigo-rviz
Using ROS_DISTRO: indigo
Not found via rosdistro - falling back to information provided by rosdoc
error contacting http://ros.org/doc/indigo/api/ros-indigo-rviz/stack.yaml:
HTTP Error 404: Not Found
error contacting http://ros.org/doc/indigo/api/ros-indigo-rviz/manifest.yaml:
HTTP Error 404: Not Found
cannot locate information about ros-indigo-rviz
Edit:
Try sudo apt-get update and then the install
That command allowed the packages to be located. However, after locating the packages and trying to install again, I'm getting the message below. I'll post that to a different question so it's not lost.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
Please do not use Answers as forum posts, or to post comments, use the 'add comment' button for that. Updates to your original question should be added using an 'edit' to your OP. I've moved the contents to your OP this time, but please keep it in mind.
Also: please add -- to all questions -- which OS this is, version of the OS, processor architecture, version of ROS and how you installed it: from source or using the debians (that is somewhat clear here already, obviously). Especially architectures other than x86/x64 can have pkgs missing fi.