Sorry for yet again an “error upgrading” message.
I am not able to upgrade osmc from the gui.
perl: warning: Setting locale failed.
It fails with the error to contact the forum.
Attached is the log I collected.
I saw in other threads that apt-get upgrade is not recommended.
But I only use apt-get update/dist-upgrade, with a sprinkle of dpkg --configure -a and a touch of apt-get -f install
In the end the system is happy again, untill the next osmc update…
Is my installation beyond repairs and should I start fresh?
Start-Date: 2016-01-07 21:59:56
Commandline: apt-get install mediacenter-skin-osmc
Upgrade: rbp2-image-4.3.3-3-osmc:armhf (3, 3)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2016-01-07 22:00:47
Start-Date: 2016-01-07 22:01:11
Commandline: apt-get install --reinstall mediacenter-skin-osmc
Reinstall: mediacenter-skin-osmc:armhf (3.1.0-1)
End-Date: 2016-01-07 22:01:40
Looks a bit messy, especially with bluez and Bluetooth packages.
Might be worth reinstalling, yes.
That’s a leftover from trying to install a bluetooth game controler for RetroPie. Probably that adventure left me with this un-upgradable installation:-(
For my understanding: I read apt-get upgrade is not recommended. But is it ok to do an apt-get update/dist-upgrade over ssh?
Yes sudo apt-get update and sudo apt-get dist-upgrade are fine and work 100%
But if you ever have executed sudo apt-get upgrade you would need to do a fresh install as the system would not cleanly upgrade anymore
Yes. See the Wiki article on keeping up to date for more info
I need a bit of advice
I took your advice to reinstall, but thought I could take a shortcut. I have 2 RPies running over NFS, so I just copied the whole tree of the working one to this messed up one, changed hostname and some squeezelite parameters. But now I realise the other one is a B+ and this is a 2B. Is there a way to upgrade the kernel for this? Are the other packages affected too?
Not trivially as there are too many userland differences (armv6l vs armv7)
I assumed so. Things seem to be running supprisingly smoothly after only changing the kernel.
But I better do a reinstall. This thing has been running since you started osmc:-)
Can I just copy /home/osmc/.kodi to rescue all my settings?