Error uncompressing update

Hello,
I had a failed update and then sad face boot loop on a rasp Pi3, before this it was running good.
So I was trying to fix with apt-get install rbp2-mediacenter-osmc --reinstall
However I always fall in the following error:

dpkg-deb (subprocess): decompressing archive member: lzma error: compressed data is corrupt
dpkg-deb: error: subprocess returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/rbp2-mediacenter-osmc_16.1.0-24_armhf.deb (–unpack):
cannot copy extracted data for ‘./usr/lib/kodi/kodi.bin’ to ‘/usr/lib/kodi/kodi.bin.dpkg-new’: unexpected end of file or stream
Processing triggers for mime-support (3.58) …
Errors were encountered while processing:
/var/cache/apt/archives/rbp2-mediacenter-osmc_16.1.0-24_armhf.deb
Job for samba.service failed. See ‘systemctl status samba.service’ and ‘journalctl -xn’ for details.
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’ve also removed /var/cache/apt/archives/rbp2-mediacenter-osmc_16.1.0-24_armhf.deb from cache and downloaded again but the same happend.
Ho can I proceed?

Regards,
Guglielmo

Please post the output of these commands (you’ll need to prefix them with sudo) and also of:

sudo apt-get -f install

Your SD card looks corrupted. Particularly with Samba failing to start. Full set of logs as well would be good.

you was right, SD card was corrupted.
What a great support you’re offering here, I’m very impressed. Thank you to address me to the correct issue and best regards.