FHEM lässt sich nicht mehr deinstallieren - Debian Jessie

Begonnen von ToM_ToM, 19 März 2017, 19:17:20

Vorheriges Thema - Nächstes Thema

ToM_ToM

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:~#
Hardware: BananaPi, Busmaster CUL, SanDisk 16GB Ultra SD, 16 GB USB-Stick | Software: Armbian, FHEM 5.8

Otto123

Hi,

ich denke das Paket ist mit apt-mark auf hold gesetzt und kann nicht deinstalliert werden.

Versuch apt-mark unhold fhem

Gruß Otto
Viele Grüße aus Leipzig  ⇉  nächster Stammtisch an der Lindennaundorfer Mühle
RaspberryPi B B+ B2 B3 B3+ ZeroW,HMLAN,HMUART,Homematic,Fritz!Box 7590,WRT3200ACS-OpenWrt,Sonos,VU+,Arduino nano,ESP8266,MQTT,Zigbee,deconz

KernSani

Ich denke FHEM sollte man grundsätzlich nicht deinstallieren  ;D
RasPi: RFXTRX, HM, zigbee2mqtt, mySensors, JeeLink, miLight, squeezbox, Alexa, Siri, ...

RaspiLED

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, ...
Raspberry Pi mit FHEM, CUL, Signalduino, MySensors, HomeBridge, Presence, WifiLight2, Bravia, ...