Skip to content
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: Depends: systemd-resolved but it is not installable #323

Closed
3 tasks done
amitsamanta996 opened this issue Sep 24, 2023 · 13 comments
Closed
3 tasks done
Labels
bug Something isn't working stale

Comments

@amitsamanta996
Copy link

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-get
You 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

  • I have read through the ADR and have confirmed that my system is compliant with the requirements
  • I understand that if my system is found to not be compliant, my issue will be closed immediately without further investigation

Code of Conduct

@amitsamanta996 amitsamanta996 added the bug Something isn't working label Sep 24, 2023
@Lockszmith-GH
Copy link

Lockszmith-GH commented Sep 24, 2023

See my answer to #321

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.

@amitsamanta996
Copy link
Author

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)

@Aleksahek
Copy link

Aleksahek commented Oct 21, 2023

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/"

@Lockszmith-GH
Copy link

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?

@weksupport
Copy link

We have the same problem

With Superviser 1.4.3 (not 1.5.0 the latest) It works fine !!

We have Debian 11

@Lockszmith-GH
Copy link

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.

See my answer to #321

Copy link

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.

@ikifar2012
Copy link
Member

The fix is pending release

@toxa1983poloskov
Copy link

Debian GNU/Linux 12 (bookworm) Raspberry PI 3

dpkg: ошибка при обработке пакета homeassistant-supervised (--configure):
подпроцесс из пакета homeassistant-supervised установлен сценарий post-installation возвратил код ошибки 1
При обработке следующих пакетов произошли ошибки:
homeassistant-supervised

Copy link

github-actions bot commented Mar 5, 2024

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.

@github-actions github-actions bot added the stale label Mar 5, 2024
@ikifar2012
Copy link
Member

@Venodor

This comment was marked as off-topic.

@agners
Copy link
Member

agners commented Mar 18, 2024

@Venodor please english comments only. Also make sure to search community forums and issues, this seems like a problem reported elsewhere already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

8 participants