Probleme nach dem Aktualisieren der Linux Distri

Begonnen von slor, 21 September 2017, 23:58:28

Vorheriges Thema - Nächstes Thema

slor

Hallo zusammen,

habe nach ca. 3 Monaten mal wieder Apt-get update und Apt-get upgrade durchgeführt.
Seitdem habe ich ein problem mit zwei Bluetooth Paketen:

Do you want to continue? [Y/n] y
Setting up bluez (5.43-2) ...
Job for bluetooth.service failed because the control process exited with error code.
See "systemctl status bluetooth.service" and "journalctl -xe" for details.
invoke-rc.d: initscript bluetooth, action "start" failed.
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-09-21 23:45:20 CEST; 66ms ago
     Docs: man:bluetoothd(8)
  Process: 13557 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=226/NAMESPACE)
Main PID: 13557 (code=exited, status=226/NAMESPACE)

Sep 21 23:45:20 cubietruck systemd[1]: Starting Bluetooth service...
Sep 21 23:45:20 cubietruck systemd[13557]: bluetooth.service: Failed at step...tor
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Main process exit...PACE
Sep 21 23:45:20 cubietruck systemd[1]: Failed to start Bluetooth service.
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Unit entered fail...ate.
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Failed with resul...de'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package bluez (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of bluetooth:
bluetooth depends on bluez; however:
  Package bluez is not configured yet.

dpkg: error processing package bluetooth (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
bluez
bluetooth
E: Sub-process /usr/bin/dpkg returned an error code (1)


Ausgabe von systemctl status bluetooth.service:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset
   Active: failed (Result: exit-code) since Thu 2017-09-21 23:45:20 CEST; 5min a
     Docs: man:bluetoothd(8)
  Process: 13557 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=22
Main PID: 13557 (code=exited, status=226/NAMESPACE)

Sep 21 23:45:20 cubietruck systemd[1]: Starting Bluetooth service...
Sep 21 23:45:20 cubietruck systemd[13557]: bluetooth.service: Failed at step NAM
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Main process exited, c
Sep 21 23:45:20 cubietruck systemd[1]: Failed to start Bluetooth service.
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Unit entered failed st
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Failed with result 'ex
lines 1-13/13 (END)


Ausgabe von journalctl -xe


-- Subject: Unit bluetooth.service has begun start-up
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit bluetooth.service has begun starting up.
Sep 21 23:45:20 cubietruck systemd[13557]: bluetooth.service: Failed at step NAM
-- Subject: Process /usr/lib/bluetooth/bluetoothd could not be executed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The process /usr/lib/bluetooth/bluetoothd could not be executed and failed.
--
-- The error number returned by this process is 9.
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Main process exited, c
Sep 21 23:45:20 cubietruck systemd[1]: Failed to start Bluetooth service.
-- Subject: Unit bluetooth.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- Unit bluetooth.service has failed.
--
-- The result is failed.
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Unit entered failed st
Sep 21 23:45:20 cubietruck systemd[1]: bluetooth.service: Failed with result 'ex
lines 1311-1334/1334 (END)


Da es sich um mein produktives System handelt würde ich jetzt ungern anfangen mit meinen geringen Kenntnissen rumzubasteln.
Wie würdet ihr ansetzen?

System ist ein Debian 9.1 auf einen Cubitruck
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

LuckyDay


slor

Ja, bin ich wohl. Wobei ich auch nicht weiß warum. Habe gerade die apt sourcen gechecked. Die zeigen alle auf weezy.
macht ein einfaches apt-get dist-upgrade eine upgrade auf Stretch ohne dass man vorher die Sourcen in der apt config ändern muss?

Wie auch immer, wie bekomme ich das am elegantesten bereinigt, bzw. den Fehler weg.
Alles andere läuft ja prima.

Ein apt-get dist-upgrade hat auf meinem Raspi keine neue Distri eingespielt.
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect


slor

Strange, wie kann ein Update passieren, wenn ich die Spuren nicht angepasst habe?

Ich will / wollte ja gar nicht upgraden.

Danke für den Link.
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

Hollo

Vielleicht erstmal die Fehlermeldung beachten und bearbeiten...
Bluetooth hängt vom Paket bluez ab, das nicht (richtig) konfiguriert ist!
Konfigurier das mal und guck was dann passiert.

Ohne Anpassung der sources.list gibt es kein Distributionsupgrade.
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

slor

so, das Bluez Paket einmal komplett entfernt und neu installiert.
Fehler immer noch der gleiche:


apt-get install bluez
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  pulseaudio-module-bluetooth
The following NEW packages will be installed:
  bluez
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 811 kB of archives.
After this operation, 2978 kB of additional disk space will be used.
Get:1 http://ftp.de.debian.org/debian stable/main armhf bluez armhf 5.43-2 [811 kB]
Fetched 811 kB in 0s (1581 kB/s)
Selecting previously unselected package bluez.
(Reading database ... 78654 files and directories currently installed.)
Preparing to unpack .../bluez_5.43-2_armhf.deb ...
Unpacking bluez (5.43-2) ...
Processing triggers for systemd (232-25+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.18-1) ...
Setting up bluez (5.43-2) ...
Created symlink /etc/systemd/system/dbus-org.bluez.service → /lib/systemd/system/bluetooth.service.
Created symlink /etc/systemd/system/bluetooth.target.wants/bluetooth.service → /lib/systemd/system/bluetooth.service.
Job for bluetooth.service failed because the control process exited with error code.
See "systemctl status bluetooth.service" and "journalctl -xe" for details.
invoke-rc.d: initscript bluetooth, action "start" failed.
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-09-27 23:10:59 CEST; 78ms ago
     Docs: man:bluetoothd(8)
  Process: 18723 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=226/NAMESPACE)
Main PID: 18723 (code=exited, status=226/NAMESPACE)

Sep 27 23:10:59 cubietruck systemd[1]: Starting Bluetooth service...
Sep 27 23:10:59 cubietruck systemd[18723]: bluetooth.service: Failed at step...tor
Sep 27 23:10:59 cubietruck systemd[1]: bluetooth.service: Main process exit...PACE
Sep 27 23:10:59 cubietruck systemd[1]: Failed to start Bluetooth service.
Sep 27 23:10:59 cubietruck systemd[1]: bluetooth.service: Unit entered fail...ate.
Sep 27 23:10:59 cubietruck systemd[1]: bluetooth.service: Failed with resul...de'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package bluez (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for dbus (1.10.18-1) ...
Processing triggers for systemd (232-25+deb9u1) ...
Errors were encountered while processing:
bluez
E: Sub-process /usr/bin/dpkg returned an error code (1)


was soll ich als nächstes tun?
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

slor

hier noch meine sources.list:

deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
deb http://ftp.de.debian.org/debian stable main contrib non-free
deb-src http://ftp.de.debian.org/debian stable main contrib non-free
# deb https://debian.fhem.de/stable ./
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect

Hollo

Ah ja, nix geänder, wie kann das passieren.  :o
Bei dem Mischmasch wohl kein Wunder.   ;)

Paket Quellen trägt man immer mit Namen ein!
Du hast aber stable da stehen und stable ist nunmal stretch.
Pass die Quellen alle auf stretch an und probiere erneut
apt-get update && apt-get upgrade und anschließend apt-get dist-upgrade .
Wenn Du Glück hast, klappt es.
FHEM 6.x auf RPi 3B Buster
Protokolle: Homematic, Z-Wave, MQTT, Modbus
Temp/Feuchte: JeeLink-Clone und LGW mit LaCrosse/IT
sonstiges: Linux-Server, Dreambox, "RSS-Tablet"

slor

das hab ich mir schon gedacht...
Steht jetzt überall Stretch.
Auch das etwas neuere Bluez Paket lässt sich nicht installieren.
Scheinbar läuft aber Bluetooth in Fhem wieder. -> Teilerfolg

root@cubietruck:~# systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2017-09-28 22:18:46 CEST; 2min 46s ago
     Docs: man:bluetoothd(8)
  Process: 24166 ExecStart=/usr/lib/bluetooth/bluetoothd (code=exited, status=226/NAMESPACE)
Main PID: 24166 (code=exited, status=226/NAMESPACE)

Sep 28 22:18:46 cubietruck systemd[1]: Starting Bluetooth service...
Sep 28 22:18:46 cubietruck systemd[24166]: bluetooth.service: Failed at step NAMESPACE spawning /usr/lib/bluetooth/bluetoothd: Bad file descriptor
Sep 28 22:18:46 cubietruck systemd[1]: bluetooth.service: Main process exited, code=exited, status=226/NAMESPACE
Sep 28 22:18:46 cubietruck systemd[1]: Failed to start Bluetooth service.
Sep 28 22:18:46 cubietruck systemd[1]: bluetooth.service: Unit entered failed state.
Sep 28 22:18:46 cubietruck systemd[1]: bluetooth.service: Failed with result 'exit-code'.
Fhem auf Raspberry Pi 4
CCU3 mit RaspberryMatic mit HMCCU an FHEM
HMCCU, Telegram, Conbee2 und Hue/Tradfri/Osram Lampen AQARA Sensoren, HomeConnect