OSMC setting service failed to launch

I cannot launch my OSMC settings anymore (using RPi 1)

Here is my error log: http://paste.osmc.io/yobegotuyi
Thanks in advance for any help!

Commandline: apt upgrade

Never use apt-get upgrade from commandline. ALWAYS use apt-get dist-upgrade.


I actually used that only today since updating doesn’t work anymore. So the damage was already done before

Log started: 2016-06-11  13:56:58
 files list file for package 'python-apt-common' is missing final newline
Log ended: 2016-06-11  13:56:59

Somehow the package python-apt-common has got corrupted. You can try this to fix it:

sudo rm /var/lib/dpkg/info/python-apt-common.list
sudo apt-get clean
sudo apt-get update
sudo apt-get install python-apt-common --reinstall
sudo apt-get -f dist-upgrade

By the way even if this fixes it, there may be some underlying file system corruption that has caused it in the first place.

Sadly, that did not fix it.
Any other trick? or might my system be too much corrupted? Of so, any thoughts on why my system ‘decided’ to go corrupt?

Now it is reporting the same problem for python-apt - it looks like the contents of /var/lib/dpkg/info may be corrupted which is a critical part of APT. In which case you are probably best off backing up any settings and performing a fresh install unfortunately.