Ich versuche verzweifelt, mySQL auf meinem RPi zu installieren. Leider schlägt die Installation immer fehl.
Code: Alles auswählen
sudo apt-get install mysql-server
Code: Alles auswählen
...
...
Vorbereitung zum Entpacken von .../9-socat_1.7.3.1-2+deb9u1_armhf.deb ...
Entpacken von socat (1.7.3.1-2+deb9u1) ...
mariadb-common (10.1.37-0+deb9u1) wird eingerichtet ...
update-alternatives: Fehler: Alternativen-Pfad /etc/mysql/mariadb.cnf existiert nicht
dpkg: Fehler beim Bearbeiten des Paketes mariadb-common (--configure):
Unterprozess installiertes post-installation-Skript gab den Fehlerwert 2 zurück
Fehler traten auf beim Bearbeiten von:
mariadb-common
Updating FireMotD available updates count ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
Meine Daten:
Code: Alles auswählen
Linux openHABianPi 4.14.94-v7+ #1193 SMP Tue Jan 22 15:34:30 GMT 2019 armv7l GNU/Linux
Code: Alles auswählen
openhab-cli info
Version: 2.4.0 (Build)
User: openhab (Active Process 3881)
User Groups: openhab tty dialout audio bluetooth gpio homegear
Directories: Folder Name | Path | User:Group
----------- | ---- | ----------
OPENHAB_HOME | /usr/share/openhab2 | openhab:openhab
OPENHAB_RUNTIME | /usr/share/openhab2/runtime | openhab:openhab
OPENHAB_USERDATA | /var/lib/openhab2 | openhab:openhabian
OPENHAB_CONF | /etc/openhab2 | openhab:openhabian
OPENHAB_LOGDIR | /var/log/openhab2 | root:root
URLs: http://192.168.1.5:8080
https://192.168.1.5:8443
Code: Alles auswählen
description: ARMv7 Processor rev 4 (v7l)
product: Raspberry Pi 3 Model B Rev 1.2
Wer hat einen Tipp für mich?
Gruß Torsten