Installing Home Assistant Supervised using Debian 12

And what about this one? Release 1.2.2 · home-assistant/os-agent · GitHub
os-agent for i386 architecture. It means it can be used on the 32bit doesnt it?

no that is completely seperate. You still need a 64bit O/S to install docker

Thanks for your patience;)

1 Like

Did you find a way to fix it?

Why are you still trying to get this installation to work - you’ve already been told it won’t on the machine you have.

1 Like

Make sure you install the right version of the os-agent for your operating system.

In my case I originally installed os-agent_1.2.2_linux_armv7.deb and it started and ran. But I needed os-agent_1.2.2_linux_aarch64.deb for 64-bit raspberry pi 4 installation (Debian 11).

Then just enable and start the service:

systemctl enable haos-agent
systemctl start haos-agent
2 Likes

Being that this guide isn’t for an Rpi installation, this shouldn’t be an issue.

I forgot to quote the person I was trying to help above. I got to this thread with the same issue so I wanted to share what I did to solve it as the other person above that solved it did not share what the solution was.

My post out of context makes no sense so I apologize for that. But the next time someone gets here by googling the error a few of us had can verify they are running the correct version of os-agent.

2 Likes

Hi everyone,

Using a RPi 3B I’ve followed the procedure several times including another fresh OS and keep getting the following error when executing
dpkg -i homeassistant-supervised.deb

pkg: dependency problems prevent configuration of homeassistant-supervised:
homeassistant-supervised depends on os-agent.

This is the output reinstalling os-agent and then homeassistant-supervised

root@rpiha:~# dpkg -i os-agent_1.2.2_linux_armv7.deb
(Reading database … 37062 files and directories currently installed.)
Preparing to unpack os-agent_1.2.2_linux_armv7.deb …
Removed /etc/systemd/system/multi-user.target.wants/haos-agent.service.
Unpacking os-agent:armhf (1.2.2) over (1.2.2) …
Setting up os-agent:armhf (1.2.2) …
Created symlink /etc/systemd/system/multi-user.target.wants/haos-agent.service → /lib/systemd/system/haos-agent.service.
Processing triggers for dbus (1.12.20-2) …
root@rpiha:~# dpkg -i homeassistant-supervised.deb
(Reading database … 37062 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]
[warn] ModemManager service is enabled. This might cause issue when using serial devices.
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.1.0) over (1.1.0) …
dpkg: dependency problems prevent configuration of homeassistant-supervised:
homeassistant-supervised depends on os-agent.

dpkg: error processing package homeassistant-supervised (–install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
homeassistant-supervised
root@rpiha:~#

Any help will be appreciated.

I solved this by making sure the correct os-agent is installed acording to your processor architecture.

After a whole afternoon if testing and OS restalling (I am a newby) I find out this message was given to the wrong os-agent deb installed I was installing arm7 when i required aarch64.deb (running ARM64 Architecture) it turns out that ARM64 is also named aarch4 .The weird thing is that the .deb it allows you to isntall os-agent with no complains and then ‘homeassistant-supervised’ install fails
’ ```
dpkg: dependency problems prevent configuration of homeassistant-supervised:
homeassistant-supervised depends on os-agent.

2 Likes

This guide is for generic x86-64 installs, not Pi’s, so the provided OS Agent info is for that install type.

There is a seperate guide for Supervised + Pi.

Thanks for the guide. Followed it to install HASS on a BMAX B2 mini-pc. Just getting started but it’s been solid so far. Great community. Someday maybe I’ll be able to help someone else.

Keep at it! There is definitely a learning curve, and I felt the same when I first started. But you’ll eventually get to the point of comfort where you’ll be able to help others! :slight_smile:

Thank you for the guide. I had to do another install today, and the guide is definitely helpful.

FYI, the links to debian distros have changed since 11.2 is out now. As such the link to the full Debian image with all drivers is now:

https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/11.2.0+nonfree/amd64/iso-dvd/firmware-11.2.0-amd64-DVD-1.iso

I.e. In section 1.1 of the article, replace the full Debian image link’s “11.0.0” with “11.2.0” for the new image.

I just saw the following after I did the latest HA update
image

When I clicked on the link to learn more it said I need to run systemd-resolved service or reinstall Debian. I have just finished following this tutorial on a Lenovo M93P Tiny that I now plan to replace my older machine with and I am getting the exact same warning.

Is there something that has changed with the latest update? I would appreciate any pointers as I would like to resolve this before I switch machines

Thanks

Richard

Try this:
https://community.home-assistant.io/t/some-weird-dns-problem/400497/11
It works for me.

I’ve made new installation of debian and HA two days ago. I still have this message obout unsupprted installation.
image

log:

[22:01:08] INFO: Using udev information from host
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[22:01:08] INFO: Starting local supervisor watchdog...
22-03-10 22:01:11 INFO (MainThread) [__main__] Initializing Supervisor setup
22-03-10 22:01:11 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
22-03-10 23:01:11 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: qemux86-64
22-03-10 23:01:11 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2022.03.3
22-03-10 23:01:11 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
22-03-10 23:01:11 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 23:01:11 INFO (MainThread) [__main__] Setting up Supervisor
22-03-10 23:01:11 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
22-03-10 23:01:11 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface io.hass.os
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.systemd1
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.login1
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.hostname1
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.timedate1
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.NetworkManager
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface de.pengutronix.rauc
22-03-10 23:01:11 WARNING (MainThread) [supervisor.dbus.manager] Can't load dbus interface de.pengutronix.rauc: The name de.pengutronix.rauc was not provided by any .service files
22-03-10 23:01:11 INFO (MainThread) [supervisor.dbus.manager] Load dbus interface org.freedesktop.resolve1
22-03-10 23:01:11 INFO (MainThread) [supervisor.host.info] Updating local host information
22-03-10 23:01:12 INFO (MainThread) [supervisor.host.services] Updating service information
22-03-10 23:01:12 INFO (MainThread) [supervisor.host.network] Updating local network information
22-03-10 23:01:12 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-03-10 23:01:12 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-03-10 23:01:12 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
22-03-10 23:01:12 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-cli with version 2021.12.0
22-03-10 23:01:12 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
22-03-10 23:01:13 INFO (SyncWorker_1) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/amd64-hassio-cli with version 2021.12.0 - 172.30.32.5
22-03-10 23:01:13 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-dns with version 2021.06.0
22-03-10 23:01:13 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
22-03-10 23:01:13 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/amd64-hassio-dns with version 2021.06.0 - 172.30.32.3
22-03-10 23:01:13 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
22-03-10 23:01:13 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-audio with version 2021.07.0
22-03-10 23:01:13 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
22-03-10 23:01:14 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/amd64-hassio-audio with version 2021.07.0 - 172.30.32.4
22-03-10 23:01:14 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-observer with version 2021.10.0
22-03-10 23:01:14 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-multicast with version 2022.02.0
22-03-10 23:01:14 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
22-03-10 23:01:14 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/amd64-hassio-multicast with version 2022.02.0 - Host
22-03-10 23:01:14 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-03-10 23:01:14 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 1 Home Assistant secrets
22-03-10 23:01:14 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/qemux86-64-homeassistant with version 2022.3.3
22-03-10 23:01:14 INFO (MainThread) [supervisor.os.manager] No Home Assistant Operating System found
22-03-10 23:01:15 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
22-03-10 23:01:15 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/45df7312 repository
22-03-10 23:01:15 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
22-03-10 23:01:15 INFO (MainThread) [supervisor.store] Loading add-ons from store: 64 all - 64 new - 0 remove
22-03-10 23:01:15 INFO (MainThread) [supervisor.addons] Found 1 installed add-ons
22-03-10 23:01:15 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to homeassistant/amd64-addon-mosquitto with version 6.0.1
22-03-10 23:01:16 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
22-03-10 23:01:16 INFO (MainThread) [supervisor.discovery] Loaded 1 messages
22-03-10 23:01:16 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 23:01:16 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
22-03-10 23:01:16 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 23:01:16 INFO (MainThread) [__main__] Running Supervisor
22-03-10 23:01:16 INFO (MainThread) [supervisor.jobs] 'OSManager.mark_healthy' blocked from execution, no Home Assistant OS available
22-03-10 23:01:16 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
22-03-10 23:01:16 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 1 add-ons
22-03-10 23:01:16 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on homeassistant/amd64-addon-mosquitto with version 6.0.1
22-03-10 23:01:19 INFO (MainThread) [supervisor.services.modules.mqtt] Set core_mosquitto as service provider for mqtt
22-03-10 23:01:21 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
22-03-10 23:01:21 INFO (MainThread) [supervisor.core] Start Home Assistant Core
22-03-10 23:01:22 INFO (SyncWorker_0) [supervisor.docker.interface] Starting homeassistant
22-03-10 23:01:22 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-03-10 23:01:28 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.STARTUP
22-03-10 23:01:28 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 23:01:32 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-03-10 23:01:39 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-03-10 23:01:39 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
22-03-10 23:01:39 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
22-03-10 23:01:39 INFO (MainThread) [supervisor.core] Supervisor is up and running
22-03-10 23:01:39 INFO (MainThread) [supervisor.host.info] Updating local host information
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.module] Create new suggestion SuggestionType.CREATE_FULL_BACKUP - ContextType.SYSTEM / None
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.CORE
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.PLUGIN
22-03-10 23:01:39 INFO (MainThread) [supervisor.host.services] Updating service information
22-03-10 23:01:39 INFO (MainThread) [supervisor.host.network] Updating local network information
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.TRUST/ContextType.SUPERVISOR
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.check] System checks complete
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
22-03-10 23:01:39 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
22-03-10 23:01:39 INFO (MainThread) [supervisor.host.manager] Host information reload completed
22-03-10 23:01:39 WARNING (MainThread) [supervisor.resolution.evaluations.base] Found unsupported images: {'portainer/portainer-ce'} (more-info: https://www.home-assistant.io/more-info/unsupported/software)
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
22-03-10 23:01:39 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete

I had the same issue… It seems like Home Assistant does not like Portainer (see the log error regarding unsupported image). Once I removed portioner the issue went away.

It doesn’t like ANY container not installed by itself hence unhealthy/unsupported. There is no way around this. Just run unsupported and be happy

There is a known issue with the Supervisor currently. The code notary server is down, so it’s a case of waiting until it is back online.

1 Like