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

systemd-journal-remote can not installed. #308

Closed
3 tasks done
sanbudewoniujun opened this issue Jun 27, 2023 · 5 comments
Closed
3 tasks done

systemd-journal-remote can not installed. #308

sanbudewoniujun opened this issue Jun 27, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@sanbudewoniujun
Copy link

OS Version

Debian GNU/Linux 11 (bullseye)

System Information

Linux armbian 6.1.32-ophub #1 SMP Mon Jun 5 09:12:14 EDT 2023 aarch64 GNU/Linux

What happened?

root@armbian:/home# dpkg -i os-agent_1.5.1_linux_aarch64.deb
(Reading database ... 36301 files and directories currently installed.)
Preparing to unpack os-agent_1.5.1_linux_aarch64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/haos-agent.service.
Unpacking os-agent (1.5.1) over (1.5.1) ...
Setting up os-agent (1.5.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/haos-agent.service → /lib/systemd/system/haos-agent.service.
Processing triggers for dbus (1.12.24-0+deb11u1) ...
root@armbian:/home# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@armbian:/home# dpkg -i homeassistant-supervised.deb
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 36301 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 systemd-resolved; however:
Package systemd-resolved is not installed.

dpkg: error processing package homeassistant-supervised (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
homeassistant-supervised
1687842143558

Machine Type

tinker

Installer output

root@armbian:/home# dpkg -i os-agent_1.5.1_linux_aarch64.deb
(Reading database ... 36301 files and directories currently installed.)
Preparing to unpack os-agent_1.5.1_linux_aarch64.deb ...
Removed /etc/systemd/system/multi-user.target.wants/haos-agent.service.
Unpacking os-agent (1.5.1) over (1.5.1) ...
Setting up os-agent (1.5.1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/haos-agent.service → /lib/systemd/system/haos-agent.service.
Processing triggers for dbus (1.12.24-0+deb11u1) ...
root@armbian:/home# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@armbian:/home# dpkg -i homeassistant-supervised.deb
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 36301 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 systemd-resolved; however:
  Package systemd-resolved is not installed.

dpkg: error processing package homeassistant-supervised (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 homeassistant-supervised
root@armbian:/home# apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  homeassistant-supervised
0 upgraded, 0 newly installed, 1 to remove and 0 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
(Reading database ... 36317 files and directories currently installed.)
Removing homeassistant-supervised (1.5.0) ...
[info] Undo divert on remove
Removing 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Removing 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Removing 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Removing 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
[info] Resetting debconf selections
[info] Removal complete, due to the complexity of this installation method,
[info] you will need to manually remove the containers created by the supervisor
root@armbian:/home# dpkg -i homeassistant-supervised.deb
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 36301 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 systemd-resolved; however:
  Package systemd-resolved is not installed.

dpkg: error processing package homeassistant-supervised (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 homeassistant-supervised
root@armbian:/home# ^C
root@armbian:/home# uname -a
Linux armbian 6.1.32-ophub #1 SMP Mon Jun  5 09:12:14 EDT 2023 aarch64 GNU/Linux
root@armbian:/home# sudo aptitude install systemd-journal-remote
systemd-journal-remote is already installed at the requested version (247.3-7+deb11u2)
systemd-journal-remote is already installed at the requested version (247.3-7+deb11u2)
The following partially installed packages will be configured:
  homeassistant-supervised{b} 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
The following packages have unmet dependencies:
 homeassistant-supervised : Depends: systemd-resolved but it is not going to be installed
The following actions will resolve these dependencies:

     Remove the following packages:          
1)     homeassistant-supervised [1.5.0 (now)]



Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
  homeassistant-supervised{a} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Do you want to continue? [Y/n/?] y
(Reading database ... 36317 files and directories currently installed.)
Removing homeassistant-supervised (1.5.0) ...
[info] Undo divert on remove
Removing 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised'
Removing 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised'
Removing 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised'
Removing 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised'
[info] Resetting debconf selections
[info] Removal complete, due to the complexity of this installation method,
[info] you will need to manually remove the containers created by the supervisor

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

@sanbudewoniujun sanbudewoniujun added the bug Something isn't working label Jun 27, 2023
@mapmiss
Copy link

mapmiss commented Jun 27, 2023

I also encountered the same problem with the debian 11 system. After I switched to the debian 12 system, this problem has not happened again.

@sanbudewoniujun
Copy link
Author

Screenshot_2023-06-27-14-55-32-948_com sonelli juicessh-edit
cm311-a 2+16. s905l3a cpu

@ikifar2012
Copy link
Member

See: #304 (comment)

@frenck
Copy link
Member

frenck commented Jun 29, 2023

Please follow #304 instead.

../Frenck

@frenck frenck closed this as not planned Won't fix, can't repro, duplicate, stale Jun 29, 2023
@sanbudewoniujun
Copy link
Author

Please follow #304 instead.

../Frenck
debain12 But there will be another problem
Run Command
sudo BYPASS_OS_CHECK=true apt install ./homeassistant-supervised.deb

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

No branches or pull requests

4 participants