Rasperberry pi 3 rbp2-mediacenter install error

I’m installing apache2 at my RPI with below command and error occurred

sudo apt-get install apache2

rbp2-device-osmc : Depends: rbp2-mediacenter-osmc but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

So I tried sudo apt --fix-broken install and below error occurred

Removing rbp2-device-osmc (1.5.1) ...
WARNING: You have tried to remove a package that is essential to OSMC's operation.
To undo these changes, run 'sudo apt-get -f install'.
dpkg: error processing package rbp2-device-osmc (--remove):
 subprocess installed pre-removal script returned error exit status 1
Errors were encountered while processing:
 rbp2-device-osmc
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help? Thx.

Need to see full logs, but do not remove the rbp2-device-osmc package.
This will break your system