Cannot update - unknown package

during the update and upgrade, i’ve got a few errors like those above:

Setting up rbp2-image-4.14.34-2-osmc (2) ...
Running depmod.
depmod: ERROR: failed to load symbols from /lib/modules/4.14.34-2-osmc/kernel/drivers/gpio/gpio-arizona.ko: Exec format error
depmod: ERROR: failed to load symbols from /lib/modules/4.14.34-2-osmc/kernel/drivers/clk/clk-allo-dac.ko: Exec format error

i’ve got the log file here: https://paste.osmc.tv/guxehocegi

Well, since you again did not supply full debug logs, I can tell for sure, but I’d guess that you have a failing SD card. Try and new SD card. And since you’ve had problems in the past I’d suggest that you make sure you have a proper power supply.

bmillham, i’m providing the log with this command: grab-logs -a
I may try with the command:paste-log /var/log/apt/history.log here goes https://paste.osmc.tv/digaribanu
This log doesn’t seems to be very different from the other one, how can i provide the full debug log?

That’s only APT logs. Full debug logs are needed.

Please see How to submit a useful support request - General - OSMC

Thank you for all the help bmillham,
My Raspberry pi started to hang and freeze, so i’ve installed from the scratch and now seems to be ok.

Did you use a new SD card? If not then I suspect that you will have the same problems again since it looks like the SD card is failing.