I encountered a problem while I was trying to upgrade my OSMC on RPi2. When I tried to upgrade from the terminal I got an error:
The following packages have unmet dependencies:
armv7-network-osmc : depends: armv7-bluez-osmc but is not installed
E: Unresolved dependencies. Try apt-get -f install
When t did what it suggested I got this:
(Reading database ... 39497 files and directories currently installed.)
Preparing to unpack .../armv7-bluez-osmc_5.3.9-1_armhf.deb ...
Unpacking armv7-bluez-osmc (5.3.9-1) ...
dpkg: error processing archive /var/cache/apt/archives/armv7-bluez-osmc_5.3.9-1_armhf.deb (--unpack):
trying to overwrite '/usr/bin/hcidump', which is also in package bluez-hcidump 5.23-2+b1
dpkg-deb: error: subprocess paste was killed by signal (Prekinjen cevovod)
Processing triggers for dbus (1.8.20-0+deb8u1) ...
Errors were encountered while processing:
/var/cache/apt/archives/armv7-bluez-osmc_5.3.9-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Does anybody have any suggestions on how to resolve this problem. It would be very appreciated.
Thank you for your help in advance
Blaž
On 28th October 2015, you appear to have installed bluez-hcidump which is conflicting with OSMC’s distribution of bluez, which is downstreamed since the March update.
sudo apt-get remove --purge bluez-hcidump
In future:
tell us which version of OSMC you are updating from
tell us which additional packages you have installed
Thank you for your quick responses. I tried your proposal and got the following:
sudo apt-get remove --purge bluez-hcidump Reading package list ... Done building dependency tree Reading state information ... Done Try running 'apt-get -f install', to correct the following: The following packages have unmet dependencies: armv7-network-osmc : Depends: armv7-bluez-osmc but will not be installed E: Unmet dependencies. Try 'apt-get -f install' without packages (or provide a solution)
ps: My terminal is not in English, so I did the best I could to translate it…
I did sudo dpkg -r bluez-hcidump
than sudo apt-get update
and sudo apt-get -f install
and now I’m running sudo apt-get dist-upgrade at 10%… So far so gut…
Will keep you posted
Ok… That did it… I had to run sudo apt-get install --reinsall armv7-network-osmc because I got an error that it was half-installed, but now it works like charm!