Hallo,
kann mir jemand erklären warum sich FHEM nicht deinstallieren lässt, sondern während des Versuchs der Deinstallation sogar noch startet?
root@bananapi:~# /etc/init.d/fhem stop
Stopping fhem...
root@bananapi:~# apt-get remove --purge fhem
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libalgorithm-diff-perl libdbd-sqlite3-perl libjson-perl libtext-diff-perl sqlite3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
fhem*
The following held packages will be changed:
fhem
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 57633 files and directories currently installed.)
Removing fhem (5.8) ...
Canceled hold on fhem.
E: Executing dpkg failed. Are you root?
dpkg: error processing package fhem (--purge):
subprocess installed pre-removal script returned error exit status 100
Starting fhem...
Errors were encountered while processing:
fhem
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@bananapi:~#
Hi,
ich denke das Paket ist mit apt-mark auf hold gesetzt und kann nicht deinstalliert werden.
Versuch apt-mark unhold fhem
Gruß Otto
Ich denke FHEM sollte man grundsätzlich nicht deinstallieren ;D
Hi,
Erstmal neuinstallieren und dann entfernen oder vielleicht:
rm -rf /var/lib/dpkg/info/fhem*
rm -rf /etc/default/fhem*
rm -rf /etc/init.d/fhem*
rm -rf /opt/fhem
apt-get purge fhem
Gruß Arnd
Raspi2 mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, Bravia, ...