Superviced HA and debbian 12 issues

Im runing on Raspberry 4 pi 8gb with:
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm

I use supervised version for home assistant version:
Home Assistant 2023.8.1
Frontend 20230802.0 - latest

after raspberry hardware upgrade from pi3 to 4 i have problems with compatibility,
Hassio, add-ons worked but and after HA updates stops , right now i get errors when i enter on add-ons:

Troubleshooting

  1. If you just started, make sure you have given the Supervisor enough time to start.
  2. Check the Observer
  3. Try a reboot of the host
  4. Check System Health
  5. Ask for help

I searched on forum and i followed that command
dpkg -i --ignore-depends=systemd-resolved homeassistant-supervised.deb
that worked for a while until now, when i try to re run that command i get the following error :

pi@raspberrypi:~ $ dpkg -i --ignore-depends=systemd-resolved homeassistant-supervised.deb
dpkg: error: requested operation requires superuser privilege
pi@raspberrypi:~ $ sudo su
root@raspberrypi:/home/pi# dpkg -i --ignore-depends=systemd-resolved homeassistant-supervised.deb
(Reading database ... 105215 files and directories currently installed.)
Preparing to unpack homeassistant-supervised.deb ...
[warn]
[warn] If you want more control over your own system, run
[warn] Home Assistant as a VM or run Home Assistant Core
[warn] via a Docker container.
[warn]
Leaving 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Leaving 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Leaving 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Leaving 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
Unpacking homeassistant-supervised (1.5.0) over (1.5.0) ...
Setting up homeassistant-supervised (1.5.0) ...
[info] Restarting NetworkManager
[info] Enable systemd-resolved
dpkg: error processing package homeassistant-supervised (--install):
 installed homeassistant-supervised package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 homeassistant-supervised

Is there any way to make it works again without incobatibilities???

1 Like

Yes,

sudo apt-get install systemd-resoved

Running Supervised on my Pi4 8gb on bookworm since mid-june without any problems.

Happy to hear that but in my case right now, with excact command:

root@raspberrypi:/home/pi# sudo apt-get install systemd-resoved
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package systemd-resoved
root@raspberrypi:/home/pi#

any suggestion ?

Running real Debian or Raspberry OS ?

Made a typing mistake

sudo apt-get install systemd-resolved

afbeelding

About OS version I installed on first time the raspbian OS was debian 11
after that i make update to debian 12 , not any version worked correctly to supervised,
I dont know if that correct command to see details but here is some details:

root@raspberrypi:/home/pi# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
root@raspberrypi:/home/pi#

Also when i try the same i get that

root@raspberrypi:/home/pi# sudo apt-get install systemd-resolved
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openresolv : Conflicts: resolvconf
              Conflicts: resolvconf:armhf
 systemd-resolved : Conflicts: resolvconf
                    Recommends: libnss-myhostname but it is not going to be installed
                    Recommends: libnss-resolve but it is not going to be installed
                    Conflicts: resolvconf:armhf
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@raspberrypi:/home/pi# ^C
root@raspberrypi:/home/pi# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libnss-myhostname libnss-resolve systemd-resolved
The following packages will be REMOVED:
  openresolv
The following NEW packages will be installed:
  libnss-myhostname libnss-resolve systemd-resolved
0 upgraded, 3 newly installed, 1 to remove and 5 not upgraded.
1 not fully installed or removed.
Need to get 452 kB of archives.
After this operation, 1,306 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Ign:1 http://deb.debian.org/debian bookworm/main arm64 systemd-resolved arm64 252.12-1~deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main arm64 libnss-myhostname arm64 252.12-1~deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main arm64 libnss-resolve arm64 252.12-1~deb12u1
Ign:1 http://deb.debian.org/debian bookworm/main arm64 systemd-resolved arm64 252.12-1~deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main arm64 libnss-myhostname arm64 252.12-1~deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main arm64 libnss-resolve arm64 252.12-1~deb12u1
Ign:1 http://deb.debian.org/debian bookworm/main arm64 systemd-resolved arm64 252.12-1~deb12u1
Ign:2 http://deb.debian.org/debian bookworm/main arm64 libnss-myhostname arm64 252.12-1~deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main arm64 libnss-resolve arm64 252.12-1~deb12u1
Err:1 http://deb.debian.org/debian bookworm/main arm64 systemd-resolved arm64 252.12-1~deb12u1
  Temporary failure resolving 'deb.debian.org'
Err:2 http://deb.debian.org/debian bookworm/main arm64 libnss-myhostname arm64 252.12-1~deb12u1
  Temporary failure resolving 'deb.debian.org'
Err:3 http://deb.debian.org/debian bookworm/main arm64 libnss-resolve arm64 252.12-1~deb12u1
  Temporary failure resolving 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/systemd-resolved_252.12-1%7edeb12u1_arm64.deb  Temporary failure resolving 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/libnss-myhostname_252.12-1%7edeb12u1_arm64.deb  Temporary failure resolving 'deb.debian.org'
E: Failed to fetch http://deb.debian.org/debian/pool/main/s/systemd/libnss-resolve_252.12-1%7edeb12u1_arm64.deb  Temporary failure resolving 'deb.debian.org'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@raspberrypi:/home/pi# sudo apt-get install systemd-resolved
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 openresolv : Conflicts: resolvconf
              Conflicts: resolvconf:armhf
 systemd-resolved : Conflicts: resolvconf
                    Recommends: libnss-myhostname but it is not going to be installed
                    Recommends: libnss-resolve but it is not going to be installed
                    Conflicts: resolvconf:armhf
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
root@raspberrypi:/home/pi#

Try to fix this first

I think i remove that error, but now i get new error like:

pi@raspberrypi:~ $ ^C
pi@raspberrypi:~ $ sudo apt-get install systemd-resolved
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
systemd-resolved is already the newest version (252.12-1~deb12u1).
systemd-resolved set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up homeassistant-supervised (1.5.0) …
[info] Restarting NetworkManager
[info] Restarting docker service
ping: checkonline.home-assistant.io: Temporary failure in name resolution
[info] Waiting for checkonline.home-assistant.io - network interface might be down…
ping: checkonline.home-assistant.io: Temporary failure in name resolution
[info] Waiting for checkonline.home-assistant.io - network interface might be down…

If docker has been stopped, I always need to do a full reboot to get HA working again.

No restart doesnt solve the problem i see that error is common but i cant find way to fix it

So is there any way to make it work my home assistant ? or is there any OS for raspbery pi 4 8gb that is more supported by home assistant supervised at this time?
I stuck on that problem and add-ons also many features doesnt works :confused:

This guide should help :