Jan update - Sad face - PI 2

Hello Everyone,

So here is my issue, my Rasp PI 2 died after updating on Jan 24. I haven’t had time to look at this until today.

Based on this old post Latest Update has got me stuck in an unhappy face loop - #5 by DBMandrake

I did the following:

osmc@osmcTV:~$ sudo dpkg --configure -a
Setting up mplayer (3:1.1.1+20150226+svn37375-dmo5) …
update-alternatives: error: alternative path /usr/bin/mplayer1 doesn’t exist
dpkg: error processing package mplayer (–configure):
_ subprocess installed post-installation script returned error exit status 2_
Errors were encountered while processing:
_ mplayer_

then update which had no issues
sudo apt-get update

then distribution upgrade which the results are below
sudo apt-get -f -y dist-upgrade

osmc@osmcTV:~$ sudo apt-get -f -y dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
  apt-transport-https libaa1 libaudio2 libavdevice55 libglu1-mesa libmpeg2-4 libopencv-core2.4 libopencv-imgproc2.4 libpostproc52
  libsdl2-2.0-0 libvdpau1 libvorbisidec1 libx264-142 libxcursor1 libxt6 libxvmc1 libxxf86dga1 rbp2-image-4.3.0-9-osmc rbp2-image-4.3.3-3-osmc
Use 'apt-get autoremove' to remove them.
Done
The following NEW packages will be installed:
  rbp2-image-4.4.0-1-osmc
The following packages will be upgraded:
  armv7-connman-osmc armv7-remote-osmc armv7-splash-osmc base-files-osmc curl libcurl3 libcurl3-gnutls libmysqlclient18
  mediacenter-addon-osmc mediacenter-skin-osmc mysql-common rbp-bootloader-osmc rbp-userland-osmc rbp2-kernel-osmc
14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 45.9 MB of archives.
After this operation, 63.4 MB of additional disk space will be used.
Get:1 http://security.debian.org/ jessie/updates/main curl armhf 7.38.0-4+deb8u3 [196 kB]
Get:2 http://apt.osmc.tv/ jessie/main rbp2-image-4.4.0-1-osmc armhf 1 [18.4 MB]                                                               
Get:3 http://security.debian.org/ jessie/updates/main libcurl3 armhf 7.38.0-4+deb8u3 [235 kB]                                                 
Get:4 http://apt.osmc.tv/ jessie/main armv7-splash-osmc armhf 1.2.6 [224 kB]                                                                  
Get:5 http://apt.osmc.tv/ jessie/main rbp-bootloader-osmc armhf 1.2.2-3 [2,148 kB]                                                            
Get:6 http://apt.osmc.tv/ jessie/main base-files-osmc all 1.8.1 [15.5 kB]                                                                     
Get:7 http://security.debian.org/ jessie/updates/main libcurl3-gnutls armhf 7.38.0-4+deb8u3 [228 kB]                                          
Get:8 http://security.debian.org/ jessie/updates/main mysql-common all 5.5.47-0+deb8u1 [82.6 kB]                                              
Get:9 http://apt.osmc.tv/ jessie/main rbp-userland-osmc armhf 1.1.7-6 [1,790 kB]                                                              
Get:10 http://security.debian.org/ jessie/updates/main libmysqlclient18 armhf 5.5.47-0+deb8u1 [629 kB]                                        
Get:11 http://apt.osmc.tv/ jessie/main mediacenter-addon-osmc all 3.0.547 [18.0 MB]                                                           
Get:12 http://apt.osmc.tv/ jessie/main armv7-connman-osmc armhf 1.3.0-5 [345 kB]                                                              
Get:13 http://apt.osmc.tv/ jessie/main mediacenter-skin-osmc all 3.1.0-3 [2,638 kB]                                                           
Get:14 http://apt.osmc.tv/ jessie/main armv7-remote-osmc armhf 1.1.7 [1,071 kB]                                                               
Get:15 http://apt.osmc.tv/ jessie/main rbp2-kernel-osmc armhf 2.0.6 [994 B]                                                                   
Fetched 45.9 MB in 39s (1,153 kB/s)                                                                                                           
Preconfiguring packages ...
(Reading database ... 25940 files and directories currently installed.)
Preparing to unpack .../curl_7.38.0-4+deb8u3_armhf.deb ...
Unpacking curl (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../libcurl3_7.38.0-4+deb8u3_armhf.deb ...
Unpacking libcurl3:armhf (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u3_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../mysql-common_5.5.47-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.47-0+deb8u1) over (5.5.46-0+deb8u1) ...
Preparing to unpack .../libmysqlclient18_5.5.47-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient18:armhf (5.5.47-0+deb8u1) over (5.5.46-0+deb8u1) ...
Selecting previously unselected package rbp2-image-4.4.0-1-osmc.
Preparing to unpack .../rbp2-image-4.4.0-1-osmc_1_armhf.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/001-preprocess-rbp 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
Done.
Unpacking rbp2-image-4.4.0-1-osmc (1) ...
Preparing to unpack .../armv7-splash-osmc_1.2.6_armhf.deb ...
Unpacking armv7-splash-osmc (1.2.6) over (1.2.5) ...
Preparing to unpack .../base-files-osmc_1.8.1_all.deb ...
Unpacking base-files-osmc (1.8.1) over (1.7.9) ...
Preparing to unpack .../rbp-bootloader-osmc_1.2.2-3_armhf.deb ...
Unpacking rbp-bootloader-osmc (1.2.2-3) over (1.2.2-2) ...
Preparing to unpack .../rbp-userland-osmc_1.1.7-6_armhf.deb ...
Unpacking rbp-userland-osmc (1.1.7-6) over (1.1.7-3) ...
Preparing to unpack .../rbp2-kernel-osmc_2.0.6_armhf.deb ...
Unpacking rbp2-kernel-osmc (2.0.6) over (2.0.5) ...
Preparing to unpack .../armv7-connman-osmc_1.3.0-5_armhf.deb ...
Unpacking armv7-connman-osmc (1.3.0-5) over (1.3.0-4) ...
Preparing to unpack .../armv7-remote-osmc_1.1.7_armhf.deb ...
Unpacking armv7-remote-osmc (1.1.7) over (1.1.6) ...
Preparing to unpack .../mediacenter-addon-osmc_3.0.547_all.deb ...
Unpacking mediacenter-addon-osmc (3.0.547) over (3.0.546) ...
Preparing to unpack .../mediacenter-skin-osmc_3.1.0-3_all.deb ...
Unpacking mediacenter-skin-osmc (3.1.0-3) over (3.1.0-1) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Setting up mplayer (3:1.1.1+20150226+svn37375-dmo5) ...
update-alternatives: error: alternative path /usr/bin/mplayer1 doesn't exist
dpkg: error processing package mplayer (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up libcurl3:armhf (7.38.0-4+deb8u3) ...
Setting up curl (7.38.0-4+deb8u3) ...
Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u3) ...
Setting up mysql-common (5.5.47-0+deb8u1) ...
Setting up libmysqlclient18:armhf (5.5.47-0+deb8u1) ...
Setting up rbp2-image-4.4.0-1-osmc (1) ...

 Hmm. There is a symbolic link /lib/modules/4.4.0-1-osmc/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.0-1-osmc/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.4.0-1-osmc/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.0-1-osmc/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
run-parts: executing /etc/kernel/postinst.d/inform-updater 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
run-parts: executing /etc/kernel/postinst.d/process-vmlinuz-rbp 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
Setting up armv7-splash-osmc (1.2.6) ...
Setting up base-files-osmc (1.8.1) ...
Setting up rbp-bootloader-osmc (1.2.2-3) ...
Setting up rbp-userland-osmc (1.1.7-6) ...
Setting up rbp2-kernel-osmc (2.0.6) ...
Setting up armv7-connman-osmc (1.3.0-5) ...
Setting up armv7-remote-osmc (1.1.7) ...
Setting up mediacenter-addon-osmc (3.0.547) ...
Setting up mediacenter-skin-osmc (3.1.0-3) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...
Errors were encountered while processing:
 mplayer
E: Sub-process /usr/bin/dpkg returned an error code (1)
osmc@osmcTV:~$

Any suggestions? I am going to be uploading the log files in a second.
A

Here is the history.log

osmc@osmcTV:/var/log/apt$ cat history.log 

Start-Date: 2015-11-28  16:48:29
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -f -y dist-upgrade
Install: armv7-libbluray-osmc:armhf (0.9.1-1, automatic), rbp2-image-4.3.0-9-osmc:armhf (9, automatic), armv7-libsqlite-osmc:armhf (3.9.2.0-2, automatic)
Upgrade: libgssapi-krb5-2:armhf (1.12.1+dfsg-19, 1.12.1+dfsg-19+deb8u1), tzdata:armhf (2015f-0+deb8u1, 2015g-0+deb8u1), libkrb5-3:armhf (1.12.1+dfsg-19, 1.12.1+dfsg-19+deb8u1), libk5crypto3:armhf (1.12.1+dfsg-19, 1.12.1+dfsg-19+deb8u1), dpkg:armhf (1.17.25, 1.17.26), libpng12-0:armhf (1.2.50-2+b2, 1.2.50-2+deb8u1), rbp-bootloader-osmc:armhf (1.2.0-0, 1.2.1-0), rbp2-kernel-osmc:armhf (1.8.0, 1.9.6), libkrb5support0:armhf (1.12.1+dfsg-19, 1.12.1+dfsg-19+deb8u1), armv7-connman-osmc:armhf (1.3.0-2, 1.3.0-3), rbp2-mediacenter-osmc:armhf (15.2.0-1, 15.2.0-8), mediacenter-addon-osmc:armhf (3.0.507, 3.0.517), ntp:armhf (4.2.6.p5+dfsg-7, 4.2.6.p5+dfsg-7+deb8u1), rbp2-libcec-osmc:armhf (3.0.0-4, 3.0.1-8), armv7-network-osmc:armhf (1.5.9, 1.6.1), armv7-splash-osmc:armhf (1.2.2, 1.2.4), base-files-osmc:armhf (1.6.5, 1.6.7), wpasupplicant:armhf (2.3-1+deb8u1, 2.3-1+deb8u3), rbp-userland-osmc:armhf (1.1.6-1, 1.1.6-3), armv7-eventlircd-osmc:armhf (1.1.8, 1.1.9), diskmount-osmc:armhf (1.4.0, 1.4.1)
End-Date: 2015-11-28  16:57:35

Start-Date: 2016-01-05  17:51:04
Commandline: apt-get install mplayer mplayer2 mpv
Install: libx11-xcb1:armhf (1.6.2-3, automatic), libflac8:armhf (1.3.0-3, automatic), libsm6:armhf (1.2.2-1+b1, automatic), libcdio-paranoia1:armhf (0.83-4.2, automatic), libraw1394-11:armhf (2.1.0-3, automatic), libx264-142:armhf (0.142.2431+gita5831aa-1+b2, automatic), liblua5.2-0:armhf (5.2.3-1.1, automatic), libsndfile1:armhf (1.0.25-9.1, automatic), libsdl2-2.0-0:armhf (2.0.2+dfsg1-6, automatic), libxss1:armhf (1.2.2-1, automatic), libjson-c2:armhf (0.11-4, automatic), libva-x11-1:armhf (1.4.1-1, automatic), libsdl1.2debian:armhf (1.2.15-10+b1, automatic), libdrm-freedreno1:armhf (2.4.58-2, automatic), libquvi-scripts:armhf (0.4.21-2, automatic), libxcb-render0:armhf (1.10-3+b1, automatic), libxcb-glx0:armhf (1.10-3+b1, automatic), xkb-data:armhf (2.12-1, automatic), libxrender1:armhf (0.9.8-1+b1, automatic), libx11-data:armhf (1.6.2-3, automatic), libasyncns0:armhf (0.8-5, automatic), libglapi-mesa:armhf (10.3.2-1+deb8u1, automatic), libxcb-xfixes0:armhf (1.10-3+b1, automatic), libxcb-shape0:armhf (1.10-3+b1, automatic), libavdevice55:armhf (11.4-1~deb8u1, automatic), libdv4:armhf (1.0.0-6, automatic), libwayland-client0:armhf (1.6.0-2, automatic), libva1:armhf (1.4.1-1, automatic), libxv1:armhf (1.0.10-1+b1, automatic), libxxf86vm1:armhf (1.1.3-1+b1, automatic), libdca0:armhf (0.0.5-7, automatic), libmpg123-0:armhf (1.20.1-2, automatic), libegl1-mesa:armhf (10.3.2-1+deb8u1, automatic), libopencv-core2.4:armhf (2.4.9.1+dfsg-1+deb8u1, automatic), liborc-0.4-0:armhf (0.4.22-1, automatic), libgbm1:armhf (10.3.2-1+deb8u1, automatic), libxinerama1:armhf (1.1.3-1+b1, automatic), libxcb-dri3-0:armhf (1.10-3+b1, automatic), libfaad2:armhf (2.7-8, automatic), libdrm-radeon1:armhf (2.4.58-2, automatic), libavfilter5:armhf (11.4-1~deb8u1, automatic), libxdmcp6:armhf (1.1.1-1+b1, automatic), libcaca0:armhf (0.99.beta19-2, automatic), libavresample2:armhf (11.4-1~deb8u1, automatic), libxkbcommon0:armhf (0.4.3-2, automatic), libdirectfb-1.2-9:armhf (1.2.10.0-5.1, automatic), libdc1394-22:armhf (2.2.3-1, automatic), libopus0:armhf (1.1-2, automatic), libelf1:armhf (0.159-4.2, automatic), libdvdread4:armhf (5.0.0-1, automatic), libx11-6:armhf (1.6.2-3, automatic), libxrandr2:armhf (1.4.2-1+b1, automatic), x11-common:armhf (7.7+7, automatic), libpostproc52:armhf (0.git20120821-4, automatic), libavutil54:armhf (11.4-1~deb8u1, automatic), libdrm2:armhf (2.4.58-2, automatic), libxcb-dri2-0:armhf (1.10-3+b1, automatic), libspeex1:armhf (1.2~rc1.2-1, automatic), mplayer2:armhf (2.0-728-g2c378c7-4+b1), libxcb-sync1:armhf (1.10-3+b1, automatic), libxfixes3:armhf (5.0.1-2+b2, automatic), libdrm-nouveau2:armhf (2.4.58-2, automatic), libxext6:armhf (1.3.3-1, automatic), libjack-jackd2-0:armhf (1.9.10+20140719git3eb0ae6a~dfsg-2, automatic), libxau6:armhf (1.0.8-1, automatic), mpv:armhf (0.6.2-2), libguess1:armhf (1.2-1, automatic), libusb-1.0-0:armhf (1.0.19-1, automatic), libva-glx1:armhf (1.4.1-1, automatic), libglu1-mesa:armhf (9.0.0-2, automatic), libvdpau1:armhf (0.8-3+deb8u2, automatic), libopencv-imgproc2.4:armhf (2.4.9.1+dfsg-1+deb8u1, automatic), libdvdnav4:armhf (5.0.1-1, automatic), libwayland-server0:armhf (1.6.0-2, automatic), libpulse0:armhf (5.0-13, automatic), libice6:armhf (1.0.9-1+b1, automatic), libxcb-present0:armhf (1.10-3+b1, automatic), libopenjpeg5:armhf (1.5.2-3, automatic), libquvi7:armhf (0.4.1-3, automatic), libcdio-cdda1:armhf (0.83-4.2, automatic), libxshmfence1:armhf (1.1-4, automatic), libllvm3.5:armhf (3.5-10, automatic), libbs2b0:armhf (3.1.0+dfsg-2.1, automatic), libxdamage1:armhf (1.1.4-2+b1, automatic), libxcursor1:armhf (1.1.14-1+b1, automatic), libmp3lame0:armhf (3.99.5+repack1-7+deb8u1, automatic), libswscale3:armhf (11.4-1~deb8u1, automatic), libxtst6:armhf (1.2.2-1+b1, automatic), libtheora0:armhf (1.1.1+dfsg.1-6, automatic), libxcb1:armhf (1.10-3+b1, automatic), libxvidcore4:armhf (1.3.3-1, automatic), libwayland-egl1-mesa:armhf (10.3.2-1+deb8u1, automatic), libavformat56:armhf (11.4-1~deb8u1, automatic), libavcodec56:armhf (11.4-1~deb8u1, automatic), libgsm1:armhf (1.0.13-4, automatic), libxi6:armhf (1.7.4-1+b2, automatic), libwayland-cursor0:armhf (1.6.0-2, automatic), libschroedinger-1.0-0:armhf (1.0.11-2.1, automatic), liba52-0.7.4:armhf (0.7.4-17, automatic), libvpx1:armhf (1.3.0-3, automatic), libgl1-mesa-glx:armhf (10.3.2-1+deb8u1, automatic)
End-Date: 2016-01-05  17:56:10

Start-Date: 2016-01-05  18:02:32
Commandline: apt-get install deb-multimedia-keyring
Install: deb-multimedia-keyring:armhf (2015.6.1)
End-Date: 2016-01-05  18:02:38

Start-Date: 2016-01-05  18:04:09
Commandline: apt-get install ffmpeg x264 mplayer
Install: libffms2-3:armhf (2.20-dmo2, automatic), libswresample1:armhf (2.6.5-dmo1, automatic), x264:armhf (0.146.2538+git121396c-dmo1), libx264-146:armhf (0.146.2538+git121396c-dmo1, automatic), libzvbi0:armhf (0.2.35-3, automatic), libzvbi-common:armhf (0.2.35-3, automatic), libavc1394-0:armhf (0.5.4-2, automatic), libavdevice56:armhf (2.6.5-dmo1, automatic), libxt6:armhf (1.1.4-1+b1, automatic), libxxf86dga1:armhf (1.1.4-1+b1, automatic), ffmpeg:armhf (2.6.5-dmo1), libfaac0:armhf (1.28-dmo3, automatic), libx265-51:armhf (1.6-dmo1, automatic), libvidstab1.0:armhf (0.98b-dmo1, automatic), libaa1:armhf (1.4p5-43, automatic), libopencore-amrnb0:armhf (0.1.3-2.1, automatic), libpostproc53:armhf (2.6.5-dmo1, automatic), libiec61883-0:armhf (1.2.0-0.2, automatic), libxvmc1:armhf (1.0.8-2+b1, automatic), liblsmash2:armhf (2.3.0-dmo1, automatic), libvo-aacenc0:armhf (0.1.3-1, automatic), libgpm2:armhf (1.20.4-6.1+b2, automatic), libaacplus2:armhf (2.0.2-dmo2, automatic), libfdk-aac1:armhf (0.1.4-dmo1, automatic), libutvideo15:armhf (15.1.0-dmo2, automatic), libopencore-amrwb0:armhf (0.1.3-2.1, automatic), libvorbisidec1:armhf (1.0.2+svn18153-0.2, automatic), mplayer:armhf (1.1.1+20150226+svn37375-dmo4), libaudio2:armhf (1.9.4-3, automatic), libvo-amrwbenc0:armhf (0.1.3-1, automatic), libmpeg2-4:armhf (0.5.1-7, automatic)
Upgrade: libavfilter5:armhf (11.4-1~deb8u1, 2.6.5-dmo1), libavresample2:armhf (11.4-1~deb8u1, 2.6.5-dmo1), libavutil54:armhf (11.4-1~deb8u1, 2.6.5-dmo1), mplayer2:armhf (2.0-728-g2c378c7-4+b1, 2.0~git20130903-dmo7), libmp3lame0:armhf (3.99.5+repack1-7+deb8u1, 3.99.5-dmo4), libswscale3:armhf (11.4-1~deb8u1, 2.6.5-dmo1), libavformat56:armhf (11.4-1~deb8u1, 2.6.5-dmo1), libavcodec56:armhf (11.4-1~deb8u1, 2.6.5-dmo1)
End-Date: 2016-01-05  18:05:45

Start-Date: 2016-01-05  18:12:01
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -f -y dist-upgrade
Install: libopenal1:armhf (1.15.1-5, automatic), libv4l-0:armhf (1.6.0-2, automatic), libv4lconvert0:armhf (1.6.0-2, automatic), hfsprogs:armhf (332.25-11, automatic), libmowgli-2-0:armhf (2.0.0-dmo1, automatic), libopenal-data:armhf (1.15.1-5, automatic), rbp2-image-4.3.3-3-osmc:armhf (3, automatic)
Upgrade: libldb1:armhf (1.1.17-2, 1.1.17-2+deb8u1), libxml2:armhf (2.9.1+dfsg1-5, 2.9.1+dfsg1-5+deb8u1), libbluray1:armhf (0.6.2-1, 0.7.0-dmo1), libdca0:armhf (0.0.5-7, 0.0.5-dmo2), rbp-bootloader-osmc:armhf (1.2.1-0, 1.2.2-2), libisccc90:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), armv7-librtmp-osmc:armhf (2.4.0-8, 2.4.0-9), samba-common:armhf (4.1.17+dfsg-2, 4.1.17+dfsg-2+deb8u1), rbp2-kernel-osmc:armhf (1.9.6, 2.0.5), mediacenter-skin-osmc:armhf (3.0.8-1, 3.1.0-1), armv7-connman-osmc:armhf (1.3.0-3, 1.3.0-4), libisc95:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), libbind9-90:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), libdns100:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), libsmbclient:armhf (4.1.17+dfsg-2, 4.1.17+dfsg-2+deb8u1), mediacenter-addon-osmc:armhf (3.0.517, 3.0.524), rbp2-libcec-osmc:armhf (3.0.1-8, 3.0.1-13), liblwres90:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), openssl:armhf (1.0.1k-3+deb8u1, 1.0.1k-3+deb8u2), libisccfg90:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), mpv:armhf (0.6.2-2, 0.8.3-dmo1), libguess1:armhf (1.2-1, 1.2-dmo2), samba-libs:armhf (4.1.17+dfsg-2, 4.1.17+dfsg-2+deb8u1), armv7-splash-osmc:armhf (1.2.4, 1.2.5), bind9-host:armhf (9.9.5.dfsg-9+deb8u3, 9.9.5.dfsg-9+deb8u4), base-files-osmc:armhf (1.6.7, 1.7.5), libwbclient0:armhf (4.1.17+dfsg-2, 4.1.17+dfsg-2+deb8u1), libxvidcore4:armhf (1.3.3-1, 1.3.3-dmo1), libssl1.0.0:armhf (1.0.1k-3+deb8u1, 1.0.1k-3+deb8u2), rbp-userland-osmc:armhf (1.1.6-3, 1.1.7-3), librtmp1:armhf (2.4+20150115.gita107cef-1, 2.4~20150315.gita107cef9b-dmo1), rbp2-device-osmc:armhf (1.2.4, 1.2.7), diskmount-osmc:armhf (1.4.1, 1.4.2)
End-Date: 2016-01-05  18:17:37

Start-Date: 2016-01-05  18:17:44
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -y purge rbp2-image-4.2.3-2-osmc
Purge: rbp2-image-4.2.3-2-osmc:armhf (2)
End-Date: 2016-01-05  18:17:51

Start-Date: 2016-01-24  21:59:25
Commandline: apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -f -y dist-upgrade
Upgrade: exfat-fuse:armhf (1.1.0-2, 1.1.0-2+deb8u1), apt:armhf (1.0.9.8.1, 1.0.9.8.2), libudev1:armhf (215-17+deb8u2, 215-17+deb8u3), libpam-modules-bin:armhf (1.1.8-3.1, 1.1.8-3.1+deb8u1), libpam-modules:armhf (1.1.8-3.1, 1.1.8-3.1+deb8u1), fuse:armhf (2.9.3-15+deb8u1, 2.9.3-15+deb8u2), systemd-sysv:armhf (215-17+deb8u2, 215-17+deb8u3), multiarch-support:armhf (2.19-18+deb8u1, 2.19-18+deb8u2), openssh-sftp-server:armhf (6.7p1-5, 6.7p1-5+deb8u1), libpng12-0:armhf (1.2.50-2+deb8u1, 1.2.50-2+deb8u2), sudo:armhf (1.8.10p3-1+deb8u2, 1.8.10p3-1+deb8u3), openssh-server:armhf (6.7p1-5, 6.7p1-5+deb8u1), libisccc90:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), exfat-utils:armhf (1.1.0-2, 1.1.0-2+deb8u1), systemd:armhf (215-17+deb8u2, 215-17+deb8u3), libc6:armhf (2.19-18+deb8u1, 2.19-18+deb8u2), libsystemd0:armhf (215-17+deb8u2, 215-17+deb8u3), libfuse2:armhf (2.9.3-15+deb8u1, 2.9.3-15+deb8u2), libpcre3:armhf (8.35-3.3, 8.35-3.3+deb8u2), udev:armhf (215-17+deb8u2, 215-17+deb8u3), libisc95:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), libapt-pkg4.12:armhf (1.0.9.8.1, 1.0.9.8.2), libbind9-90:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), perl-base:armhf (5.20.2-3+deb8u1, 5.20.2-3+deb8u3), libdns100:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), locales:armhf (2.19-18+deb8u1, 2.19-18+deb8u2), base-files:armhf (8+deb8u2, 8+deb8u3), mediacenter-addon-osmc:armhf (3.0.524, 3.0.546), libldap-2.4-2:armhf (2.4.40+dfsg-1+deb8u1, 2.4.40+dfsg-1+deb8u2), liblwres90:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), apt-utils:armhf (1.0.9.8.1, 1.0.9.8.2), libapt-inst1.5:armhf (1.0.9.8.1, 1.0.9.8.2), openssh-client:armhf (6.7p1-5, 6.7p1-5+deb8u1), libpam-systemd:armhf (215-17+deb8u2, 215-17+deb8u3), libpam0g:armhf (1.1.8-3.1, 1.1.8-3.1+deb8u1), libisccfg90:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), bind9-host:armhf (9.9.5.dfsg-9+deb8u4, 9.9.5.dfsg-9+deb8u5), base-files-osmc:armhf (1.7.5, 1.7.9), libpcrecpp0:armhf (8.35-3.3, 8.35-3.3+deb8u2), ca-certificates:armhf (20141019, 20141019+deb8u1), login:armhf (4.2-3, 4.2-3+deb8u1), mplayer:armhf (1.1.1+20150226+svn37375-dmo4, 1.1.1+20150226+svn37375-dmo5), libc-bin:armhf (2.19-18+deb8u1, 2.19-18+deb8u2), libpam-runtime:armhf (1.1.8-3.1, 1.1.8-3.1+deb8u1), passwd:armhf (4.2-3, 4.2-3+deb8u1), libssh-4:armhf (0.6.3-4, 0.6.3-4+deb8u1), apt-transport-https:armhf (1.0.9.8.1, 1.0.9.8.2), libgudev-1.0-0:armhf (215-17+deb8u2, 215-17+deb8u3)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2016-01-24  22:08:34

Start-Date: 2016-02-02  19:17:32
Commandline: apt-get -f -y dist-upgrade
Install: rbp2-image-4.4.0-1-osmc:armhf (1, automatic)
Upgrade: libcurl3:armhf (7.38.0-4+deb8u2, 7.38.0-4+deb8u3), rbp-bootloader-osmc:armhf (1.2.2-2, 1.2.2-3), rbp2-kernel-osmc:armhf (2.0.5, 2.0.6), mediacenter-skin-osmc:armhf (3.1.0-1, 3.1.0-3), curl:armhf (7.38.0-4+deb8u2, 7.38.0-4+deb8u3), armv7-connman-osmc:armhf (1.3.0-4, 1.3.0-5), mediacenter-addon-osmc:armhf (3.0.546, 3.0.547), libcurl3-gnutls:armhf (7.38.0-4+deb8u2, 7.38.0-4+deb8u3), mysql-common:armhf (5.5.46-0+deb8u1, 5.5.47-0+deb8u1), libmysqlclient18:armhf (5.5.46-0+deb8u1, 5.5.47-0+deb8u1), armv7-splash-osmc:armhf (1.2.5, 1.2.6), base-files-osmc:armhf (1.7.9, 1.8.1), armv7-remote-osmc:armhf (1.1.6, 1.1.7), rbp-userland-osmc:armhf (1.1.7-3, 1.1.7-6)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2016-02-02  19:21:34

And here is the term.log

`Log started: 2016-02-02  19:17:32
(Reading database ... 25940 files and directories currently installed.)
Preparing to unpack .../curl_7.38.0-4+deb8u3_armhf.deb ...
Unpacking curl (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../libcurl3_7.38.0-4+deb8u3_armhf.deb ...
Unpacking libcurl3:armhf (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../libcurl3-gnutls_7.38.0-4+deb8u3_armhf.deb ...
Unpacking libcurl3-gnutls:armhf (7.38.0-4+deb8u3) over (7.38.0-4+deb8u2) ...
Preparing to unpack .../mysql-common_5.5.47-0+deb8u1_all.deb ...
Unpacking mysql-common (5.5.47-0+deb8u1) over (5.5.46-0+deb8u1) ...
Preparing to unpack .../libmysqlclient18_5.5.47-0+deb8u1_armhf.deb ...
Unpacking libmysqlclient18:armhf (5.5.47-0+deb8u1) over (5.5.46-0+deb8u1) ...
Selecting previously unselected package rbp2-image-4.4.0-1-osmc.
Preparing to unpack .../rbp2-image-4.4.0-1-osmc_1_armhf.deb ...
Examining /etc/kernel/preinst.d/
run-parts: executing /etc/kernel/preinst.d/001-preprocess-rbp 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
Done.
Unpacking rbp2-image-4.4.0-1-osmc (1) ...
Preparing to unpack .../armv7-splash-osmc_1.2.6_armhf.deb ...
Unpacking armv7-splash-osmc (1.2.6) over (1.2.5) ...
Preparing to unpack .../base-files-osmc_1.8.1_all.deb ...
Unpacking base-files-osmc (1.8.1) over (1.7.9) ...
Preparing to unpack .../rbp-bootloader-osmc_1.2.2-3_armhf.deb ...
Unpacking rbp-bootloader-osmc (1.2.2-3) over (1.2.2-2) ...
Preparing to unpack .../rbp-userland-osmc_1.1.7-6_armhf.deb ...
Unpacking rbp-userland-osmc (1.1.7-6) over (1.1.7-3) ...
Preparing to unpack .../rbp2-kernel-osmc_2.0.6_armhf.deb ...
Unpacking rbp2-kernel-osmc (2.0.6) over (2.0.5) ...
Preparing to unpack .../armv7-connman-osmc_1.3.0-5_armhf.deb ...
Unpacking armv7-connman-osmc (1.3.0-5) over (1.3.0-4) ...
Preparing to unpack .../armv7-remote-osmc_1.1.7_armhf.deb ...
Unpacking armv7-remote-osmc (1.1.7) over (1.1.6) ...
Preparing to unpack .../mediacenter-addon-osmc_3.0.547_all.deb ...
Unpacking mediacenter-addon-osmc (3.0.547) over (3.0.546) ...
Preparing to unpack .../mediacenter-skin-osmc_3.1.0-3_all.deb ...
Unpacking mediacenter-skin-osmc (3.1.0-3) over (3.1.0-1) ...
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Setting up mplayer (3:1.1.1+20150226+svn37375-dmo5) ...
update-alternatives: error: alternative path /usr/bin/mplayer1 doesn't exist
dpkg: error processing package mplayer (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up libcurl3:armhf (7.38.0-4+deb8u3) ...
Setting up curl (7.38.0-4+deb8u3) ...
Setting up libcurl3-gnutls:armhf (7.38.0-4+deb8u3) ...
Setting up mysql-common (5.5.47-0+deb8u1) ...
Setting up libmysqlclient18:armhf (5.5.47-0+deb8u1) ...
Setting up rbp2-image-4.4.0-1-osmc (1) ...

 Hmm. There is a symbolic link /lib/modules/4.4.0-1-osmc/build
 However, I can not read it: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.0-1-osmc/build


 Hmm. The package shipped with a symbolic link /lib/modules/4.4.0-1-osmc/source
 However, I can not read the target: No such file or directory
 Therefore, I am deleting /lib/modules/4.4.0-1-osmc/source

Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
run-parts: executing /etc/kernel/postinst.d/inform-updater 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
run-parts: executing /etc/kernel/postinst.d/process-vmlinuz-rbp 4.4.0-1-osmc /boot/vmlinuz-4.4.0-1-osmc
Setting up armv7-splash-osmc (1.2.6) ...
Setting up base-files-osmc (1.8.1) ...
Setting up rbp-bootloader-osmc (1.2.2-3) ...
Setting up rbp-userland-osmc (1.1.7-6) ...
Setting up rbp2-kernel-osmc (2.0.6) ...
Setting up armv7-connman-osmc (1.3.0-5) ...
Setting up armv7-remote-osmc (1.1.7) ...
Setting up mediacenter-addon-osmc (3.0.547) ...
Setting up mediacenter-skin-osmc (3.1.0-3) ...
Processing triggers for libc-bin (2.19-18+deb8u2) ...
Errors were encountered while processing:
 mplayer
Log ended: 2016-02-02  19:21:34
osmc@osmcTV:/var/log/apt$`

And the rest of the term.log from Jan 24, 2016

Log started: 2016-01-24 21:59:25 (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../base-files_8+deb8u3_armhf.deb ... Unpacking base-files (8+deb8u3) over (8+deb8u2) ... Setting up base-files (8+deb8u3) ... Installing new version of config file /etc/debian_version ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../login_1%3a4.2-3+deb8u1_armhf.deb ... Unpacking login (1:4.2-3+deb8u1) over (1:4.2-3) ... Setting up login (1:4.2-3+deb8u1) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../perl-base_5.20.2-3+deb8u3_armhf.deb ... Unpacking perl-base (5.20.2-3+deb8u3) over (5.20.2-3+deb8u1) ... Setting up perl-base (5.20.2-3+deb8u3) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libc-bin_2.19-18+deb8u2_armhf.deb ... Unpacking libc-bin (2.19-18+deb8u2) over (2.19-18+deb8u1) ... Setting up libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libc6_2.19-18+deb8u2_armhf.deb ... Unpacking libc6:armhf (2.19-18+deb8u2) over (2.19-18+deb8u1) ... Setting up libc6:armhf (2.19-18+deb8u2) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libapt-pkg4.12_1.0.9.8.2_armhf.deb ... Unpacking libapt-pkg4.12:armhf (1.0.9.8.2) over (1.0.9.8.1) ... Setting up libapt-pkg4.12:armhf (1.0.9.8.2) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../apt_1.0.9.8.2_armhf.deb ... Unpacking apt (1.0.9.8.2) over (1.0.9.8.1) ... Setting up apt (1.0.9.8.2) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libudev1_215-17+deb8u3_armhf.deb ... Unpacking libudev1:armhf (215-17+deb8u3) over (215-17+deb8u2) ... Setting up libudev1:armhf (215-17+deb8u3) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../udev_215-17+deb8u3_armhf.deb ... Unpacking udev (215-17+deb8u3) over (215-17+deb8u2) ... Processing triggers for systemd (215-17+deb8u2) ... Setting up udev (215-17+deb8u3) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libsystemd0_215-17+deb8u3_armhf.deb ... Unpacking libsystemd0:armhf (215-17+deb8u3) over (215-17+deb8u2) ... Setting up libsystemd0:armhf (215-17+deb8u3) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../systemd_215-17+deb8u3_armhf.deb ... Unpacking systemd (215-17+deb8u3) over (215-17+deb8u2) ... Processing triggers for dbus (1.8.20-0+deb8u1) ... Setting up systemd (215-17+deb8u3) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../systemd-sysv_215-17+deb8u3_armhf.deb ... Unpacking systemd-sysv (215-17+deb8u3) over (215-17+deb8u2) ... Setting up systemd-sysv (215-17+deb8u3) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libpam-systemd_215-17+deb8u3_armhf.deb ... Unpacking libpam-systemd:armhf (215-17+deb8u3) over (215-17+deb8u2) ... Preparing to unpack .../libpam0g_1.1.8-3.1+deb8u1_armhf.deb ... Unpacking libpam0g:armhf (1.1.8-3.1+deb8u1) over (1.1.8-3.1) ... Setting up libpam0g:armhf (1.1.8-3.1+deb8u1) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.1.8-3.1+deb8u1_armhf.deb ... Unpacking libpam-modules-bin (1.1.8-3.1+deb8u1) over (1.1.8-3.1) ... Setting up libpam-modules-bin (1.1.8-3.1+deb8u1) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.1.8-3.1+deb8u1_armhf.deb ... Unpacking libpam-modules:armhf (1.1.8-3.1+deb8u1) over (1.1.8-3.1) ... Setting up libpam-modules:armhf (1.1.8-3.1+deb8u1) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.1.8-3.1+deb8u1_all.deb ... Unpacking libpam-runtime (1.1.8-3.1+deb8u1) over (1.1.8-3.1) ... Setting up libpam-runtime (1.1.8-3.1+deb8u1) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.35-3.3+deb8u2_armhf.deb ... Unpacking libpcre3:armhf (2:8.35-3.3+deb8u2) over (2:8.35-3.3) ... Setting up libpcre3:armhf (2:8.35-3.3+deb8u2) ... Processing triggers for libc-bin (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../libapt-inst1.5_1.0.9.8.2_armhf.deb ... Unpacking libapt-inst1.5:armhf (1.0.9.8.2) over (1.0.9.8.1) ... Preparing to unpack .../libldap-2.4-2_2.4.40+dfsg-1+deb8u2_armhf.deb ... Unpacking libldap-2.4-2:armhf (2.4.40+dfsg-1+deb8u2) over (2.4.40+dfsg-1+deb8u1) ... Preparing to unpack .../fuse_2.9.3-15+deb8u2_armhf.deb ... Unpacking fuse (2.9.3-15+deb8u2) over (2.9.3-15+deb8u1) ... Preparing to unpack .../libfuse2_2.9.3-15+deb8u2_armhf.deb ... Unpacking libfuse2:armhf (2.9.3-15+deb8u2) over (2.9.3-15+deb8u1) ... Preparing to unpack .../libgudev-1.0-0_215-17+deb8u3_armhf.deb ... Unpacking libgudev-1.0-0:armhf (215-17+deb8u3) over (215-17+deb8u2) ... Preparing to unpack .../libpcrecpp0_2%3a8.35-3.3+deb8u2_armhf.deb ... Unpacking libpcrecpp0:armhf (2:8.35-3.3+deb8u2) over (2:8.35-3.3) ... Preparing to unpack .../libpng12-0_1.2.50-2+deb8u2_armhf.deb ... Unpacking libpng12-0:armhf (1.2.50-2+deb8u2) over (1.2.50-2+deb8u1) ... Preparing to unpack .../libssh-4_0.6.3-4+deb8u1_armhf.deb ... Unpacking libssh-4:armhf (0.6.3-4+deb8u1) over (0.6.3-4) ... Preparing to unpack .../multiarch-support_2.19-18+deb8u2_armhf.deb ... Unpacking multiarch-support (2.19-18+deb8u2) over (2.19-18+deb8u1) ... Setting up multiarch-support (2.19-18+deb8u2) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.2-3+deb8u1_armhf.deb ... Unpacking passwd (1:4.2-3+deb8u1) over (1:4.2-3) ... Setting up passwd (1:4.2-3+deb8u1) ... (Reading database ... 25954 files and directories currently installed.) Preparing to unpack .../apt-utils_1.0.9.8.2_armhf.deb ... Unpacking apt-utils (1.0.9.8.2) over (1.0.9.8.1) ... Preparing to unpack .../base-files-osmc_1.7.9_all.deb ... Unpacking base-files-osmc (1.7.9) over (1.7.5) ... Preparing to unpack .../bind9-host_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking bind9-host (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../libisc95_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking libisc95 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../libdns100_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking libdns100 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../libisccc90_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking libisccc90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../libisccfg90_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking libisccfg90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../libbind9-90_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking libbind9-90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../liblwres90_1%3a9.9.5.dfsg-9+deb8u5_armhf.deb ... Unpacking liblwres90 (1:9.9.5.dfsg-9+deb8u5) over (1:9.9.5.dfsg-9+deb8u4) ... Preparing to unpack .../locales_2.19-18+deb8u2_all.deb ... Unpacking locales (2.19-18+deb8u2) over (2.19-18+deb8u1) ... Preparing to unpack .../openssh-sftp-server_1%3a6.7p1-5+deb8u1_armhf.deb ... Unpacking openssh-sftp-server (1:6.7p1-5+deb8u1) over (1:6.7p1-5) ... Preparing to unpack .../openssh-server_1%3a6.7p1-5+deb8u1_armhf.deb ... Unpacking openssh-server (1:6.7p1-5+deb8u1) over (1:6.7p1-5) ... Preparing to unpack .../openssh-client_1%3a6.7p1-5+deb8u1_armhf.deb ... Unpacking openssh-client (1:6.7p1-5+deb8u1) over (1:6.7p1-5) ... Preparing to unpack .../apt-transport-https_1.0.9.8.2_armhf.deb ... Unpacking apt-transport-https (1.0.9.8.2) over (1.0.9.8.1) ... Preparing to unpack .../ca-certificates_20141019+deb8u1_all.deb ... Unpacking ca-certificates (20141019+deb8u1) over (20141019) ... Preparing to unpack .../exfat-fuse_1.1.0-2+deb8u1_armhf.deb ... Unpacking exfat-fuse (1.1.0-2+deb8u1) over (1.1.0-2) ... Preparing to unpack .../exfat-utils_1.1.0-2+deb8u1_armhf.deb ... Unpacking exfat-utils (1.1.0-2+deb8u1) over (1.1.0-2) ... Preparing to unpack .../mediacenter-addon-osmc_3.0.546_all.deb ... Unpacking mediacenter-addon-osmc (3.0.546) over (3.0.524) ... Preparing to unpack .../sudo_1.8.10p3-1+deb8u3_armhf.deb ... Unpacking sudo (1.8.10p3-1+deb8u3) over (1.8.10p3-1+deb8u2) ... Preparing to unpack .../mplayer_3%3a1.1.1+20150226+svn37375-dmo5_armhf.deb ... update-alternatives: using /usr/bin/mplayer2 to provide /usr/bin/mplayer (mplayer) in auto mode Unpacking mplayer (3:1.1.1+20150226+svn37375-dmo5) over (3:1.1.1+20150226+svn37375-dmo4) ... dpkg: warning: unable to delete old directory '/etc/mplayer': Directory not empty Processing triggers for systemd (215-17+deb8u3) ... Processing triggers for mime-support (3.58) ... Setting up libpam-systemd:armhf (215-17+deb8u3) ... Setting up libapt-inst1.5:armhf (1.0.9.8.2) ... Setting up libldap-2.4-2:armhf (2.4.40+dfsg-1+deb8u2) ... Setting up libfuse2:armhf (2.9.3-15+deb8u2) ... Setting up fuse (2.9.3-15+deb8u2) ... Setting up libgudev-1.0-0:armhf (215-17+deb8u3) ... Setting up libpcrecpp0:armhf (2:8.35-3.3+deb8u2) ... Setting up libpng12-0:armhf (1.2.50-2+deb8u2) ... Setting up libssh-4:armhf (0.6.3-4+deb8u1) ... Setting up apt-utils (1.0.9.8.2) ... Setting up base-files-osmc (1.7.9) ... Setting up libisc95 (1:9.9.5.dfsg-9+deb8u5) ... Setting up libdns100 (1:9.9.5.dfsg-9+deb8u5) ... Setting up libisccc90 (1:9.9.5.dfsg-9+deb8u5) ... Setting up libisccfg90 (1:9.9.5.dfsg-9+deb8u5) ... Setting up libbind9-90 (1:9.9.5.dfsg-9+deb8u5) ... Setting up liblwres90 (1:9.9.5.dfsg-9+deb8u5) ... Setting up bind9-host (1:9.9.5.dfsg-9+deb8u5) ... Setting up locales (2.19-18+deb8u2) ... Generating locales (this might take a while)... en_CA.UTF-8... done Generation complete. Setting up openssh-client (1:6.7p1-5+deb8u1) ... Setting up openssh-sftp-server (1:6.7p1-5+deb8u1) ... Setting up openssh-server (1:6.7p1-5+deb8u1) ... Setting up apt-transport-https (1.0.9.8.2) ... Setting up ca-certificates (20141019+deb8u1) ... Setting up exfat-fuse (1.1.0-2+deb8u1) ... Setting up exfat-utils (1.1.0-2+deb8u1) ... Setting up mediacenter-addon-osmc (3.0.546) ... Setting up sudo (1.8.10p3-1+deb8u3) ... Setting up mplayer (3:1.1.1+20150226+svn37375-dmo5) ... update-alternatives: error: alternative path /usr/bin/mplayer1 doesn't exist dpkg: error processing package mplayer (--configure): subprocess installed post-installation script returned error exit status 2 Processing triggers for libc-bin (2.19-18+deb8u2) ... Processing triggers for ca-certificates (20141019+deb8u1) ... Updating certificates in /etc/ssl/certs... 19 added, 18 removed; done. Running hooks in /etc/ca-certificates/update.d....done. Errors were encountered while processing: mplayer Log ended: 2016-01-24 22:08:34

does mplayer depend on X11? It seems to have installed some x11 libs… OSMC does not use x11. It renders to framebuffer.

Suggest you first uninstall mplayer and then try to upgrade.
Also if you have sad face we need Kodi logs.
Last use grab-logs to upload logs making it easier to read your thread.

grab-logs -A gives everything that is needed.

Sorry, new at posting here so I wasn’t familiar with Grab logs.

here is the link
http://paste.osmc.io/fabonuvasi

0 kodi logs

0 Kodi log is really strange

Suggest you purge all mplayer, mplayer2 and what else you tried to install and then run
sudo apt-get install --reinstall rbp2-mediacenter-osmc

So I did that and got nothing.

Removed the mplayer and mplayer2 as suggested, and executed the command successfully but still no start.

Decided to back up my /home/osmc/.kodi and reinstall OSMC on the sdcard. install was done fine OSMC is running. I put my .kodi profile back in its place and the same error.

It seems something in the profile is causing the crash, but I can’t seem to find what. I will try some more tomorrow.

A

Good testing there. Are you still have no Kodi.log? Having it crashed that early that the log is not produced is really strange. check on the permission on /home/osmc/.kodi/temp and also if there might be a corrupt kodi.log there. Maybe just do a rm on .kodi/temp

Or just for test case delete .kodi folder and reboot. If it then started put back your folder and review

Well this is even more strange than I can explain it.

So I started poking about with my copy of the .kodi profile which was running fine before the issue on January 24th when this crash.

I looked at the profile.xml and this is what i found in the content.

`osmc@osmc:~/.kodi_brk/userdata$ cat profiles.xml 
: 44458ef5ca344a136bc56d5bec7941c2
SHA1: 364933f923af5beb9519487455de9cb5455205a3
SHA256: 047033e3acf2ab377073afcec4be7c948e0665377fb12dbe7123d50d675ebcfc

Package: libcanberra-gtk3-0-dbg
Source: libcanberra
Version: 0.30-2.1
Installed-Size: 59
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Architecture: armhf
Depends: libcanberra-gtk3-0 (= 0.30-2.1)
Description: libcanberra-gtk libraries detached debugging symbols
Multi-Arch: same
Homepage: http://0pointer.de/lennart/projects/libcanberra/
Description-md5: cbbbc0152e4e505c3a514d927bacd7a2
Tag: role::debug-symbols
Section: debug
Priority: extra
Filename: pool/main/libc/libcanberra/libcanberra-gtk3-0-dbg_0.30-2.1_armhf.deb
Size: 11234
MD5sum: 7e2a18857dae776e2027c24ed3c445a1
SHA1: c6f71c56fbe263cc1608f9764d236fdff8698b1f
SHA256: 66194ee07b892b28d2bd0b3263b99c6f3f53acf9205a500e2347ea1f0e9d6ce2

Package: libcanberra-gtk3-dev
Sosmc@osmc:~/.kodi_brk/userdata$`

How did this get in my profile.xml I am not sure, but once that was fixed kodi started working fine.

That’s a clear case of file system corruption. That looks like a snippet out of the dpkg database which is at /var/lib/dpkg/status, which contains the central listing of all installed debian packages.

I’d be really concerned about that type of corruption where contents of one file are appearing in a completely unrelated file! Who knows what else might be corrupt.