I recently ran the latest January update on my Vero 4K+ and got an installation failure message that “rbp-userland-osmc” package failed to install. After re-boot the system continued to work but did seem a lot more sluggish than before.
I tried to force a re-install of the update from MyOSMC addon but is told me I was up-to-date. So I then tried a forced update through SSH:
osmc@osmc-vero4k:~$ sudo apt-get update Hit:1 http://security.debian.org stretch/updates InRelease Ign:2 http://ftp.debian.org/debian stretch InRelease Hit:4 http://ftp.debian.org/debian stretch-updates InRelease Hit:5 http://ftp.debian.org/debian stretch Release Hit:3 http://ftp.fau.de/osmc/osmc/apt stretch InRelease Reading package lists... Done osmc@osmc-vero4k:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: rbp-userland-dev-osmc : Depends: rbp-userland-osmc (= 3.1.0-3) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). osmc@osmc-vero4k:~$
I then did as suggested …
osmc@osmc-vero4k:~$ sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: rbp-userland-osmc The following NEW packages will be installed: rbp-userland-osmc 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 20 not fully installed or removed. Need to get 0 B/1200 kB of archives. After this operation, 5933 kB of additional disk space will be used. Do you want to continue? [Y/n] y (Reading database ... 57992 files and directories currently installed.) Preparing to unpack .../rbp-userland-osmc_3.1.0-3_armhf.deb ... dpkg-divert: error: 'diversion of /etc/kernel-img.conf to /etc/kernel-img.conf.distributed by rbp-userland-osmc' clashes with 'diversion of /etc/kernel-img.conf to /etc/kernel-img.conf.distributed by vero3-userland-osmc' dpkg: error processing archive /var/cache/apt/archives/rbp-userland-osmc_3.1.0-3_armhf.deb (--unpack): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: /var/cache/apt/archives/rbp-userland-osmc_3.1.0-3_armhf.deb E: Sub-process /usr/bin/dpkg returned an error code (1) osmc@osmc-vero4k:~$
Following this, the Vero4K+ will no longer respond through the the UI. Although an SSH session confirms it is still alive and running.
Any suggestions for how I can fix this without having to resort to a system reset?