sudo apt-get install ros-kinetic-desktop failed got error Fixing linux-headers-4.4.0-116 ?

asked 2018-03-14 19:24:37 -0600

bonesto gravatar image

Trying to install Ros kinetic with sudo apt-get install ros-kinetic-desktop but keeping getting this error

Errors were encountered while processing: linux-headers-4.4.0-116 E: Sub-process /usr/bin/dpkg returned an error code (1)

I upgraded from ubuntu 14.04 to 16.04 through the command line and broke something in the process. Terminal keeps telling me I have broken packages. I used to have two errors that said

linux-headers-4.4.0-116

Linux-headers-4.4.0-116 generic

than I ran sudo apt-get purge linux-headers-4.4.0-116 linux-headers-4.4.0-116-generic linux-image-4.4.0-116-generic linux-image-extra-4.4.0-116-generic linux-signed-image-4.4.0-116-generic

from this thread login loop after upgrading to 4.4.0-116 kernel: graphical login screen -> black screen -> graphical login screen

and it fixed the error for Linux-headers-4.4.0-116 generic

but now I can't fix

linux-headers-4.4.0-116

ran uname -r to see what kernel I'm running it was 4.4.0-117 but than I tried installing a different kernel and it installed 4.13.0-37-generic

current uname-r is 4.13.0-37-generic

Looked around online and couldn't find a clear answer on this problem. Not sure if I should just install Linux 16.04 altogether or if there is an easy fix for this problem?

I'm really lost any help would be great. -Thanks Brian O. ]1

edit retag flag offensive close merge delete

Comments

After reading your story, it sounds like you're still having trouble, but it's not clear what the problem is. Please post the exact command you're running and all of the output from it.

ahendrix gravatar image ahendrix  ( 2018-03-15 00:48:56 -0600 )edit

This doesn't sound like a ROS problem, but a problem with upgrading Ubuntu 14.04 to 16.04. @bonesto: as @ahendrix writes, please describe the issue you are having a bit clearer. If the kernel and Ubuntu problems are now solved, perhaps don't include them.

gvdhoorn gravatar image gvdhoorn  ( 2018-03-15 02:37:09 -0600 )edit