Hi, I’m getting these errors after the latest upgrade (a few minutes ago):
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/26.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
dpkg: error processing package rbp2-mediacenter-osmc (–configure):
package is in a very bad inconsistent state; you should
reinstall it before attempting configuration
dpkg: dependency problems prevent configuration of rbp2-device-osmc:
rbp2-device-osmc depends on rbp2-mediacenter-osmc; however:
Package rbp2-mediacenter-osmc is not configured yet.
dpkg: error processing package rbp2-device-osmc (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
rbp2-mediacenter-osmc
rbp2-device-osmc
E: Sub-process /usr/bin/dpkg returned an error code (1)
osmc@osmc:~$
This would typically only happen if the install of the package was interrupted, for example by a power cut or a system crash. Did you pull the power out during the update or did it crash?
You could try reinstalling the mediacenter package manually like so:
Thanks for the very quick reply!!
No, there was no interruption or power cut/outage. After the GUI update and the errors shown after the requested reboot, I tried several times sudo apt-get update / sudo apt-get install, but I kept getting this error. Your suggestion is being executed and I will let you know the final results.
osmc@osmc:~$ sudo apt-get install rbp2-mediacenter-osmc --reinstall
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
libcurl3-gnutls rbp2-image-4.1.3-2-osmc
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0 B/26.2 MB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 26314 files and directories currently installed.)
Preparing to unpack …/rbp2-mediacenter-osmc_15.1.0-9_armhf.deb …
Unpacking rbp2-mediacenter-osmc (15.1.0-9) over (15.1.0-9) …
Progress: [ 11%] [#######…]
It got stuck on 11%…any other suggestion or download the latest image and start from scratch?
I’m getting a similar issue on the latest update. Tried DBMandrake’s fix and it still returned the same error. Any ideas?
osmc@osmc:~$ sudo apt-get install rbp2-mediacenter-osmc --reinstall
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
armv7-libafpclient-osmc libcurl3-gnutls rbp2-image-3.18.13-1-osmc rbp2-image-4.1.3-2-osmc
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
rbp2-mediacenter-osmc
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
29 not fully installed or removed.
Need to get 0 B/26.2 MB of archives.
After this operation, 50.2 kB disk space will be freed.
/var/cache/apt/archives/rbp2-mediacenter-osmc_15.1.0-9_armhf.deb.....................................................................] Er
E: Sub-process /usr/bin/dpkg returned an error code (1)
Note: was getting unhappy face bootloop as well, so decided to do a complete reinstall… Must have been a big corruption somewhere…