Sad face and blue screen after latest update

Vero was switched off during upgrade and when powered up I got the sad face & blue screen refreshing every 10 seconds.
I tried a manual update and upgrade but got the following message:
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/vero-image-4.1.5-2osmc.postinst line 391, LINE 9.
dpkg: error processing package vero-image-4.1.5-2osmc

Can you advise please

Any reason it was switched off during the upgrade ? That’s the most sure fire way of corrupting the system I can think of…

If you can provide a few logs it might be salvageable without a reinstall. Please post the links provided by these commands:

paste-log /var/log/apt/term.log
paste-log /var/log/apt/history.log
paste-log /home/osmc/.kodi/temp/kodi.log
sudo journalctl | paste-log
df -h | paste-log

When I re-instated power today, I held down the shift/ctrl keys and Kodi rebooted. Seems to be okay but the links to the logs are

The final sudo command would not run

Thanks for your help.

Ok, I can see from your log that your vero was switched off in the middle of extracting an updated kernel. So the only way to fix that is to manually reinstall that new kernel, which you can do with the following command:

sudo apt-get update && sudo apt-get install vero-image-4.1.5-2-osmc --reinstall

This will force it to reinstall the kernel, replacing any missing/corrupted files belonging to it. After that I would run this command for good measure:

sudo dpkg --reconfigure -a

This should finish off any packages that were not set up. After this you should be able to run a normal manual update successfully to check that you are fully up to date.

1 Like

After running the reinstall command, the following message was displayed:
E: Internal Error, no file name for vero-image-4.1.5-2-osmc : armhf

After running the reconfigure command, the following was dispayed:
dpkg:error: unknown option --reconfigure.

After manually running an update, I got the following update message:
Error Installing: vero-device-osmc

dpkg --configure -a

this gives the message:
dpkg: error: requested operation requires superuser priviledge

Of course with sudo in front…

dpkg: error processing package vero-kernel-osmc

What is the output of sudo apt-get update?

If that doesn’t throw any errors, repeat the steps mentioned by dbmandrake.

Please see latest logs:

There is still an issue with the kernel

You still seem to have a corrupt kernel package. Try the following command to clear the APT cache:

sudo apt-get clean

Then try updating again:

sudo apt-get update
sudo apt-get -f dist-upgrade

No joy

Am I at the stage where I just need to download a fresh install of osmc?
If so, will this just overwrite the existing one or do I need to delete it first?

It will simply overwrite.