Trying a manual update also does not work…tried cleaning, purging, reinstalling…get stuck with the same errors
““Job for udisks.service failed. See ‘systemctl status udisks.service’ and ‘journalctl -xn’ for details.””
osmc@osmc:/media$ systemctl status udisks.service
udisks.service - Disk Manager (legacy version)
Loaded: loaded (/lib/systemd/system/udisks.service; static)
Active: failed (Result: exit-code) since Thu 2017-09-07 21:40:52 SAST; 3min 14s ago
Docs: man:udisks(7)
Process: 994 ExecStart=/usr/lib/udisks/udisks-daemon --no-debug (code=exited, status=203/EXEC)
Main PID: 994 (code=exited, status=203/EXEC)
osmc@osmc:/media$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following packages have been kept back:
rbp2-device-osmc
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up armv7-udisks-osmc (1.0.5-3) …
Job for udisks.service failed. See ‘systemctl status udisks.service’ and ‘journalctl -xn’ for details.
dpkg: error processing package armv7-udisks-osmc (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
armv7-udisks-osmc
E: Sub-process /usr/bin/dpkg returned an error code (1)
Did you use the staging (jessie-devel) repository recently?
That package is only in the jessie-devel repository and it’s currently not ready for prime time.
Hopefully this will be resolved soon; but for a stable system we do not recommend using this repository on a daily basis.
That is really strange, I just tried an upgrade on my system and I don’t get that udisk-osmc package.
so when you run sudo apt-get update sudo apt-get dist-upgrade
osmc@osmc:/$ sudo apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies:
rbp2-device-osmc : Depends: armv7-diskmount-osmc but it is not installed
E: Unmet dependencies. Try using -f.
osmc@osmc:/$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
armv7-diskmount-osmc
The following NEW packages will be installed:
armv7-diskmount-osmc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3830 B of archives.
After this operation, 71.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 23658 files and directories currently installed.)
Preparing to unpack …/armv7-diskmount-osmc_1.4.7_armhf.deb …
dpkg-divert: error: diversion of /etc/udisks-glue.conf to /etc/udisks-glue.conf.distributed by armv7-diskmount-osmc' clashes with diversion of /etc/udisks-glue.conf to /etc/udisks-glue.conf.distributed by diskmount-osmc’
dpkg: error processing archive /var/cache/apt/archives/armv7-diskmount-osmc_1.4.7_armhf.deb (–unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/armv7-diskmount-osmc_1.4.7_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I’ve also never done any updates via the command line. Only doing it now to try and fix it.
osmc@osmc:/$ dpkg -l | grep udisks
iU armv7-udisks-glue-osmc 1.3.5-2 armhf udisks for OSMC
ii armv7-udisks-osmc 1.0.5-3 armhf udisks for OSMC
ii udisks 9.99-9 all udisks transitional package for OSMC
ii udisks-glue 9.99-9 all udisks-glue transitional package for OSMC
Ok, something has messed up your installed packages quite badly. Depending on the importance of your data you might want to start with a backup. And then try this steps:
osmc@osmc:/var/lib/dpkg$ sudo apt-get remove armv7-udisks-glue-osmc armv7-udisks-osmc udisks udisks-glue
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt-get -f install’ to correct these:
The following packages have unmet dependencies:
rbp2-device-osmc : Depends: armv7-diskmount-osmc but it is not going to be installed
E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
osmc@osmc:/var/lib/dpkg$ sudo apt-get -f install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following extra packages will be installed:
armv7-diskmount-osmc
The following NEW packages will be installed:
armv7-diskmount-osmc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
Need to get 0 B/3830 B of archives.
After this operation, 71.7 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 23658 files and directories currently installed.)
Preparing to unpack …/armv7-diskmount-osmc_1.4.7_armhf.deb …
dpkg-divert: error: diversion of /etc/udisks-glue.conf to /etc/udisks-glue.conf.distributed by armv7-diskmount-osmc' clashes with diversion of /etc/udisks-glue.conf to /etc/udisks-glue.conf.distributed by diskmount-osmc’
dpkg: error processing archive /var/cache/apt/archives/armv7-diskmount-osmc_1.4.7_armhf.deb (–unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/armv7-diskmount-osmc_1.4.7_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sorry I am a bit out of my expertise with what is pulling in the different packages.
what is sudo apt-get -f install giving you?
And can you try sudo apt-get install --reinstall rbp2-device-osmc-1.4.1