OSMC Update Error RPI2

Hi Sam

Like you say on FB I should report this for help. So I took some time to get the logs and post the issue here.

I get the error message

an error occurred while installing the following package (unknown package)

Logs are uploaded here

1 Like

Hi,

I made the update yesterday evening on pi2
Went fine, the pi2 rebooted, all fine. I started some music to test hifiberry and such, the music began, and a few seconds later the monitor flashed, was back on sad face and couldn’t do anything. Rebooted the Pi, and never got back, SD card failed !! (red light+4 flash green light).

Hopefully I have two identical osmc Pi2, I duplicated the other SD, changed IP and name and all is back.

Any fix published so we can update our Pi2 ?

Totally different story than the original thread. I suggest you are not doing thread hijacking.
Please open a new thread. Pi2 upgrades are working fine (I have done mine).
If you get into problems after an upgrade (e.g. sad face) I suggest you try to login via SSH and upload logs via grab-logs -A

Ok sorry, didn’t wanted to make another thread about same update for pi2

Hi,

You could either try updating again via myosmc, but if there is an issue it will likely report the same message (unknown package); so the other choice is via the command line:

Accessing the command line - General - OSMC

And issue the following commands:

sudo apt-get update
sudo apt-get dist upgrade

And report back any error messages.

Thanks Tom.

As you can see in my logs I did try that already.

Feb 05 05:47:57 osmc dhcpcd[398]: eth0: using static address 192.168.1.50/24
Feb 05 05:47:57 osmc dhcpcd[398]: eth0: adding route to 192.168.1.0/24
Feb 05 05:47:57 osmc dhcpcd[398]: eth0: adding default route via 192.168.1.1
Feb 05 05:47:57 osmc connmand[262]: eth0 {add} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK>
Feb 05 05:47:57 osmc connmand[262]: eth0 {del} route 192.168.1.0 gw 0.0.0.0 scope 253 <LINK>
Feb 05 05:47:57 osmc connmand[262]: eth0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
Feb 05 05:47:57 osmc connmand[262]: eth0 {del} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
Feb 05 05:47:57 osmc connmand[262]: eth0 {add} route 0.0.0.0 gw 192.168.1.1 scope 0 <UNIVERSE>
Feb 05 05:47:58 osmc dhcpcd[398]: eth0: removing route to 192.168.1.0/24
Feb 05 05:47:58 osmc dhcpcd[398]: eth0: removing default route via 192.168.1.1

Your system has been highly configured and, for example, uses dhcpcd alongside connman. While it might have no bearing on your problem, it is an unsupported configuration.

I have the same problem as OP on my Raspberry Pi 3, but not just for the January Update but I had it already on the update before that. Strangely enough after the error message, when the pi restarts, it shows the correct updated version information, like the update was completed successfully.

Here are my logs: Click Me

Regarding the reply of dillthedog:
From what I can see I also have dhcpcd and connman active, but I am not aware that I configured or installed something that should have caused that.

Have you ever installed pi-hole? This is probably how most users might unknowingly end up with dhcpcd.

Yes right pi-hole is running besides for a few months. Never had any problems.
I posted this just coz Sam told me on FaceBook to post logs. If they don’t want to help or can’t it’s fine for me. I don’t need to update. It’s running fine and I can leave it like this. The day it won’t run anymore I will just reinstall OSMC or another Kodi Distro.
Thanks for the help anyway.

Edit: Anyone with Pi-hole installed with the same problem try running pihole -r over SSH.