Closed amitsamanta996 closed 5 months ago
Also, the 'you need to understand' is rubbing off in a very wrong way - we (you and I) chose not to go with their fool-proof way - aka a VM - so I don't think this complaint is valid.
There is a solution, it is to install the package correctly (again: see my answer on what/how).
Asking for help - legitimate, complaining - not.
thanks, Updating debian fixed the issue, you should allow other docker containers to run like pihole, portainer, etc and not show the system is unhealthy (just a suggestion)
dpkg -i --ignore-depends=systemd-resolved homeassistant-supervised.deb
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 165906 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]
Adding 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Adding 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Adding 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Adding 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
Unpacking homeassistant-supervised (1.5.0) ...
dpkg: dependency problems prevent configuration of homeassistant-supervised:
homeassistant-supervised depends on network-manager; however:
Package network-manager is not installed.
homeassistant-supervised depends on systemd-journal-remote; however:
Package systemd-journal-remote is not installed.
dpkg: error processing package homeassistant-supervised (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
homeassistant-supervised
apt install ./homeassistant-supervised.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'homeassistant-supervised' instead of './homeassistant-supervised.deb'
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:
systemd-resolved : Depends: systemd (= 252.5-2~bpo11+1) but 247.3-7+deb11u4 is to be installed
Breaks: systemd (< 251.3-2~) but 247.3-7+deb11u4 is to be installed
E: Unable to correct problems, you have held broken packages.
Update is not help me.
How to fix it?
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Note that you're riding another's issue - but, I'll try and help.
You havn't upgraded to Debian 12. Are you experiencing any issues upgrading to Debian 12?
We have the same problem
With Superviser 1.4.3 (not 1.5.0 the latest) It works fine !!
We have Debian 11
That is correct, for latest supervisor you must first upgrade your debian.
Follow the link, and follow the instructions. This solved the issue for OP (amitsamanta996), I'm sure it will solve it for you as well. The link will also provide you with all the 'why' this works.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The fix is pending release
Debian GNU/Linux 12 (bookworm) Raspberry PI 3
dpkg: ошибка при обработке пакета homeassistant-supervised (--configure): подпроцесс из пакета homeassistant-supervised установлен сценарий post-installation возвратил код ошибки 1 При обработке следующих пакетов произошли ошибки: homeassistant-supervised
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This issue was fixed in https://github.com/home-assistant/supervised-installer/releases/tag/1.6.0
Debian12 on PC dpkg: ошибка при обработке пакета homeassistant-supervised (--configure): подпроцесс из пакета homeassistant-supervised установлен сценарий post-installation возвратил код ошибки 1 При обработке следующих пакетов произошли ошибки: homeassistant-supervised E: Sub-process /usr/bin/dpkg returned an error code (1)
@Venodor please english comments only. Also make sure to search community forums and issues, this seems like a problem reported elsewhere already.
OS Version
Debian GNU/Linux 11 (bullseye)
System Information
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
What happened?
Installed with
sudo dpkg -i --ignore-depends=systemd-resolved homeassistant-supervised.deb
all good with home assistant, but when trying to do anything with apt-getYou might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
homeassistant-supervised : Depends: systemd-resolved but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
You guys needs to understand people do other stuff in one server not dedicate entirely for just home assistant. Please have a fix for this
Machine Type
raspberrypi4-64
Installer output
No response
Relevant log output
No response
ADR
Code of Conduct