PDA

View Full Version : [ubuntu] Sub-process /usr/bin/dpkg returned an error code



vincent727
January 17th, 2018, 05:50 PM
while running apt-get upgrade, got error:


Errors were encountered while processing:
linux-image-4.13.0-26-generic
linux-image-extra-4.13.0-26-generic
linux-image-generic-hwe-16.04
linux-generic-hwe-16.04
linux-signed-image-4.13.0-26-generic
linux-signed-image-generic-hwe-16.04
linux-signed-generic-hwe-16.04
E: Sub-process /usr/bin/dpkg returned an error code (1)

Impavidus
January 17th, 2018, 08:40 PM
Can you show the complete output of that command? A bit higher up there should be some details on that error. It's best to know the root cause of the problem.

vincent727
January 17th, 2018, 09:52 PM
Can you show the complete output of that command? A bit higher up there should be some details on that error. It's best to know the root cause of the problem.


Thanks for your help...
After several tries I found this problem no longer exists... I even don't know how this was resolved....:confused:

I guess one effective way was running the code


sudo apt autoremove