Hallo,
ich bin dabei eine Homebridge aufzusetzen, um meinen Windows PC in HomeKit einschalten und herunterfahren zu können.
Dafür verwende ich das Plugin Homebridge-wol. Das starten mit wol funktioniert einwandfrei. Zum Herunterfahren jedoch wird ein Befehl ausgeführt, welcher nur mit Samba funktioniert. Bei der Installation von Samba kommt folgende Fehlermeldung:
Code
makesmart@makesmart-server:~ $ sudo apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
samba : Depends: python-samba but it is not going to be installed
Depends: samba-common-bin (= 2:4.5.16+dfsg-1+deb9u4) but it is not going to be installed
Depends: libpython2.7 (>= 2.7) but it is not going to be installed
Depends: libwbclient0 (= 2:4.5.16+dfsg-1+deb9u4) but 2:4.9.5+dfsg-5+deb10u1+rpi1 is to be installed
Depends: samba-libs (= 2:4.5.16+dfsg-1+deb9u4) but it is not going to be installed
Recommends: attr but it is not going to be installed
Recommends: samba-dsdb-modules but it is not going to be installed
Recommends: samba-vfs-modules but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Alles anzeigen
In den Paketquellen /etc/apt/sources.list und in /etc/apt/sources.list.d/raspi.list steht folgendes:
Code
makesmart@makesmart-server:~ $ sudo cat /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
makesmart@makesmart-server:~ $ sudo cat /etc/apt/sources.list.d/raspi.list
deb http://archive.raspberrypi.org/debian/ stretch main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ stretch main ui
Ich hoffe mir kann jemand weiterhelfen.
MfG Ben