OSMC Update Error

Received the following error attempting a manual update last night.

An error occurred while installing the following package: (unknown package).


How do I determine from the logs the source of the error?

There are several threads open about this.
Can you try to run

 sudo apt-get update && sudo apt-get dist-upgrade

from commandline and see if there is an error?

Edit: Is your filesystem read only or is your sdcard full?

Unpacking rbp2-mediacenter-osmc (17.1.0-1) over (17.0.0-15) ...
dpkg: error processing archive /var/cache/apt/archives/rbp2-mediacenter-osmc_17.1.0-1_armhf.deb (--unpack):
 unable to create `/usr/share/kodi/addons/resource.language.pt_br/resources/strings.po.dpkg-new' (while processing `./usr/share/kodi/addons/resource.language.pt_br/resources/strings.po'): Structure needs cleaning
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for systemd (215-17+deb8u6) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing:
Log ended: 2017-03-26  07:51:49

This is the issue. It’s a bit concerning that your install is not providing the following log info as well though.

====================== init.d =================== Vr58kq0w

---------------------- init.d END --------------- Vr58kq0w

====================== systemd =================== 86JFGfNO

---------------------- systemd END --------------- 86JFGfNO

====================== Kernel Message Log =================== Ad2zzd21

---------------------- Kernel Message Log END --------------- Ad2zzd21

====================== Memory =================== eWTP1Mc8

---------------------- Memory END --------------- eWTP1Mc8

====================== Diskspace =================== qZy25Yas

---------------------- Diskspace END --------------- qZy25Yas

====================== /boot Contents =================== H3gEog10

---------------------- /boot Contents END --------------- H3gEog10

Please report back with fresh logs after following @mcobit advice via SSH.

Ran sudo apt-get update && sudo apt-get dist-upgrade and sudo apt-get autoremove. Everything has been updated without error. Thank you for sharing your knowledge and fast response.