chrisss404 / check-mk-arm

Checkmk for Raspberry Pi.
182 stars 23 forks source link

check-mk-raw-1.6.0p8 package pre-removal script subprocess returned error exit status 1 #19

Closed mxwi closed 4 years ago

mxwi commented 4 years ago

Hi,

if I try to uninstall Check_mk from my device i get an error. Any hints?

pi@raspberrypi:~ $ sudo dpkg --remove check-mk-raw-1.6.0p8
(Reading database ... 78801 files and directories currently installed.)
Removing check-mk-raw-1.6.0p8 (0.buster) ...
Site default is still using this version!
dpkg: error processing package check-mk-raw-1.6.0p8 (--remove):
 installed check-mk-raw-1.6.0p8 package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 check-mk-raw-1.6.0p8
chrisss404 commented 4 years ago

Hi mxwi,

you are not able to uninstall check_mk because one of your sites is still using the installed version, as you can see in the error message:

Site default is still using this version!

Try to remove the site first (omd rm default) and then try again.

BR Christian

mxwi commented 4 years ago

worked perfectly! Thank you!