Cannot install packages (trying to resolve: could not find pkg cfg file provided by X)
Hello, I am runnig ROS kinetic on an Uuntu 16.04 and I downloaded a repository from github and pasted it into the src directory of my catkin_ws, but whenever I run "catkin_make" I always get this error:
-- Could not find the required component 'controller_manager'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"controller_manager" with any of the following names:
controller_managerConfig.cmake
controller_manager-config.cmake
Add the installation prefix of "controller_manager" to CMAKE_PREFIX_PATH or
set "controller_manager_DIR" to a directory containing one of the above
files. If "controller_manager" provides a separate development package or
SDK, be sure it has been installed.
I tried downloading the controller_manager package by downloading ros_control with the following command from ros.org:
sudo apt-get install ros-kinetic-ros-control ros-kinetic-ros-controllers
However, when I try this command, I'm getting these errors:
Err:1 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-hardware-interface amd64 0.13.3-0xenial-20190320-132757-0800
404 Not Found [IP: 64.50.236.52 80]
Err:2 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-interface amd64 0.13.3-0xenial-20190320-133652-0800
404 Not Found [IP: 64.50.236.52 80]
Err:3 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-realtime-tools amd64 1.11.1-0xenial-20190320-130942-0800
404 Not Found [IP: 64.50.236.52 80]
Err:4 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-diff-drive-controller amd64 0.13.5-0xenial-20190320-171041-0800
404 Not Found [IP: 64.50.236.52 80]
Err:5 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-ackermann-steering-controller amd64 0.13.5-0xenial-20190320-175427-0800
404 Not Found [IP: 64.50.236.52 80]
Err:6 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-combined-robot-hw amd64 0.13.3-0xenial-20190320-133622-0800
404 Not Found [IP: 64.50.236.52 80]
Err:7 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager-msgs amd64 0.13.3-0xenial-20180824-100448-0800
404 Not Found [IP: 64.50.236.52 80]
Err:8 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager amd64 0.13.3-0xenial-20190320-134400-0800
404 Not Found [IP: 64.50.236.52 80]
Err:9 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-controller-manager-tests amd64 0.13.3-0xenial-20190320-153143-0800
404 Not Found [IP: 64.50.236.52 80]
Err:10 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-combined-robot-hw-tests amd64 0.13.3-0xenial-20190320-154237-0800
404 Not Found [IP: 64.50.236.52 80]
Err:11 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-control-toolbox amd64 1.17.0-0xenial-20190320-143943-0800
404 Not Found [IP: 64.50.236.52 80]
Err:12 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-forward-command-controller amd64 0.13.5-0xenial-20190320-140150-0800
404 Not Found [IP: 64.50.236.52 80]
Err:13 http://packages.ros.org/ros/ubuntu xenial/main amd64 ros-kinetic-effort-controllers amd64 0.13.5-0xenial-20190320-144804-0800
404 Not Found [IP: 64.50.236.52 80]
Err:14 http ...
Have you tried doing what it says and running
apt-get update
? Have you updated your keys for the package repositories?I'm having a similar issue anbd --fix missing doens't work either
I get this:
Get:10 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Err:6 http://packages.ros.org/ros/ubuntu xenial InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 Hit:11 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 230 kB in 1s (203 kB/s)
Reading package lists... Done W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654 W: Failed to fetch http://packages.ros.org/ros/ubuntu/di... The following signatures couldn't be verified because the p