The program 'rostopic' is currently not installed. Held broken packages

asked 2018-11-05 23:25:07 -0600

Unproductive gravatar image

updated 2018-11-06 03:59:07 -0600

gvdhoorn gravatar image

Hi All,

Using ubuntu 16.04 LTS yesterday I believe the machine did an unattended upgrade. The kernel is 4.15.

Now I can't get rostopic list to work -- and the system seems to be nonfunctional.

user@blah:~$ rostopic list
The program 'rostopic' is currently not installed. You can install it by typing:
sudo apt install python-rostopic

If you follow that advice, you get:

The following packages have unmet dependencies:
 python-rostopic : Depends: python-rosbag but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

If you try to install python-rosbag -- you get another similar message for another package. I've tried sudo apt-get dist-upgrade, and it has not fixed it.

Any ideas about solutions?

Thanks!

edit retag flag offensive close merge delete

Comments

It looks like you are trying to install the ROS packages from debian upstream instead of a specific version of ROS (see http://wiki.ros.org/UpstreamPackages ). If you were using ROS kinetic, this is probably not what you want.

ahendrix gravatar imageahendrix ( 2018-11-06 01:21:02 -0600 )edit

Maybe check that /opt/ros/kinetic still exists and that you've sourced /opt/ros/kinetic/setup.bash in your shell?

ahendrix gravatar imageahendrix ( 2018-11-06 01:21:39 -0600 )edit