New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Problems with systemd-resolved in 1.5.0 #304
Comments
i got the same problems when i try to use the 1.5.0 to isntall it,systemd-resolved stopped me |
i have the same error on Debian 11.7 and 12: dpkg: dependency problems prevent configuration of homeassistant-supervised: |
Getting the same error, unable to get Home Assistant back up and running after a failed upgrade attempt.
|
The dependency in supervised-installer is wrong. |
I have the same issue. I tried to install homeassistant-supervised on Debian 11 with
|
You can bypass this error by using the command Or you can create a fake systemd-resolved package using equivs which will satisfy the missing dependency.
That should satisfy the homeassistant-supervised package’s dependency. |
Thanks a lot @oleksandr-beley 🤝. |
Yes, this is just a temporary workaround. I recommend using the second method because using "--ignore-depends" may generate warnings about missing dependencies on the system. |
It appears that has changed with Debian 12, I had to install it as a separate dependency on my system. That being said my focus right now is on supporting Debian 12 as the ADR states "When a new major version of Debian is released, the previous major version is dropped, with a deprecation time of 4 months." I could not find easy way to change the dependency's on a per OS basis without generating multiple packages and considering there is only 4 months until deprecation, I think it makes sense to just stick with the workaround for now as any new installs really should be done on Debian 12 at this point. That being said I am always open to suggestions as long as they comply with the ADR |
To add on this, here is a part of Bookworm's changelog:
I was able to simply do |
It seems that version 1.5.0 is only compatible with debian 12, where "YES" you can install systemd-resolved I have debian 12 installed on another sd and yes I can install systemd-resolved, but before installing it I want to make a backup... I already downloaded kde plasma 4 times EDIT: I will have to install version 1.4.3 As soon as I install the systemd-resolves, the DNS stops working and does not resolve any host EDIT2: after uninstalling systemd-resolved from debian 12, the DNS works again, but it is required and without it it cannot be installed... |
Following the Home Assistant Supervised installation page, I kicked off a new Debian 12 installation last night and the internet worked until I started installing the dependencies ( one by one ) , as soon as I installed systemd-resolved the DNS broke. The only way I could continue the installation was by running "sudo systemctl stop systemd-resolved". For me the issue is systemd-resolved is not playing nicely the Debian 12 or one of the other dependencies ( listed below ). apt install |
If it can help someone... So...to bypass the issue...
At this time, this breaks name resolution...
Uncomment this lines with no stub listener and your DNS server (eg. your router address):
Save and restart
Now check name resolution and go on with installation |
@snakuzzo Thank you so much! Your solution has enabled me to complete the installation of home assistant and I now have a working installation after trying many other solutions. Unfortunately my internet died again before I could apply my save Home Assistant backup. I am not sure if this was the root cause but I have previously been advised to disable ipv6 inside home assistant ( settings/system/network ) which I did and then to entered the commands below to get the internet going again. The internet is now working, even after multiple reboots. sudo systemctl stop systemd-resolved |
Is there a planned fix for this? ... Khadas VIM4 only have a Debian11 avaliable at this point in time.
|
Follow this to bypass the problem. |
Thanks, I did follow the guide :D .. it fails on the first step. systemd-resolved fails completely ... its trying to install version 252 but the system is actually 247 |
If you follow guidelines, You have to use last Debian stable release (12) |
Impossible :D as many SBC boards dont have Debian12 .. only Debian11. |
Try this |
This failed... there was a 'Too many errors, failing' and then aptitude quits I rolled back the supervised installer to 1.4.3 and continued. |
I'm hella confused. I'm on Debian 11. And it shows no install candidate for systemd. Should I update to Debian 12 and run HA installer to fix this issue? |
HA Supervised is officially supported on latest stable release (Debian 12). So...you need to upgrade to Debian 12 (search on googole, there are a lot of guides) and follow official guidelines to install/upgrade HA Supervised installation. When you will installa systemd-resolved and you will got DNS resolution problem, all you have to do is follow these steps |
Your solution does work around the issue. However, it has shortcomings:
A real fix is needed here. In Debian 12, DNS works correctly out of the box. Installing systemd-resolved is what's breaking things. We have two good options to move forward with:
|
I agree... But about 192.168.1.1, that was just an example ;) |
I installed Debian 12.1 on a PC Engines APU2 board and I was stopped by this issue until I added DNS server to /etc/systemd/resolved.conf. This is quite a simple bug but it will stop all users if not documented in the main documentation. |
USE DEBIAN 12, 11 WILL NOT WORK |
As I said before...edit resolv.conf is not a best practice |
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. |
OS Version
Debian 12
System Information
Linux silver-ha 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
What happened?
Trying to perform a clean installation of HA Supervised, problems occur with the functioning of the systemd-resolved package
In certain scenarios the system runs out of DNS resolution and install fails.
I attach a link that describes the problem (I'm sorry that it's in Spanish, I couldn't find it in English)
https://moss.sh/es/configuracion-problematica-systemd-resolved/
Machine Type
generic-x86-64
Installer output
No response
Relevant log output
No response
ADR
Code of Conduct
The text was updated successfully, but these errors were encountered: