PDA

View Full Version : E: Sub-process /usr/bin/dpkg returned an error code



Jordan_Karadakov
December 9th, 2015, 01:29 PM
Hello guys,

The last couple of days I am getting this error every time I try to install anything. I didn't give it much thought but I need to update my flash player and I can't do it or at least I think this is the problem.

So this error message comes up at the end of an installation process in the terminal.
http://i.imgur.com/GxmByc5.png

Here is an image I hope it helps you. Any help will be appreciated. Sorry for the Greek language in the image.

matt_symes
December 10th, 2015, 09:28 PM
Hi

Open a terminal and type


sudo mv /usr/lib/python2.7/rfc822.pyc{,.bk}


sudo apt-get update


sudo apt-get install htop

Do you still get the error ?

Kind regads

Jordan_Karadakov
December 12th, 2015, 01:06 PM
Everything is back to normal.

Thank you for your help!!