『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3619|回复: 12

[求助] dpkg -i homeassistant-supervised.deb失败,无法安装

[复制链接]

1

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
发表于 2023-6-27 00:02:40 | 显示全部楼层 |阅读模式
小白,M401A,刷armbian写入了emmc,之后按教程试了几次安装homeassistant,安装都是到dpkg -i homeassistant-supervised.deb这一步失败,不会弹出qemuarm-64,有没有懂的大佬帮忙看下咋回事


root@armbian:~# wget https://github.com/home-assistan ... 1_linux_aarch64.deb
--2023-06-26 23:57:34--  https://github.com/home-assistan ... 1_linux_aarch64.deb
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubuserconten ... tion%2Foctet-stream [following]
--2023-06-26 23:57:36--  https://objects.githubuserconten ... tion%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2614500 (2.5M) [application/octet-stream]
Saving to: ‘os-agent_1.5.1_linux_aarch64.deb’

os-agent_1.5.1_linu 100%[===================>]   2.49M   483KB/s    in 5.3s

2023-06-26 23:57:42 (483 KB/s) - ‘os-agent_1.5.1_linux_aarch64.deb’ saved [2614500/2614500]

root@armbian:~# dpkg -i os-agent_1.5.1_linux_aarch64.deb
Selecting previously unselected package os-agent.
(Reading database ... 39400 files and directories currently installed.)
Preparing to unpack os-agent_1.5.1_linux_aarch64.deb ...
Unpacking os-agent (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:~# wget https://github.com/home-assistan ... tant-supervised.deb
--2023-06-26 23:58:00--  https://github.com/home-assistan ... tant-supervised.deb
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubuserconten ... tion%2Foctet-stream [following]
--2023-06-26 23:58:01--  https://objects.githubuserconten ... tion%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.109.133, 185.199.110.133, 185.199.111.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.109.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6504 (6.4K) [application/octet-stream]
Saving to: ‘homeassistant-supervised.deb’

homeassistant-super 100%[===================>]   6.35K  --.-KB/s    in 0s

2023-06-26 23:58:02 (13.8 MB/s) - ‘homeassistant-supervised.deb’ saved [6504/6504]

root@armbian:~# dpkg -i homeassistant-supervised.deb
Selecting previously unselected package homeassistant-supervised.
(Reading database ... 39404 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
回复

使用道具 举报

4

主题

26

帖子

248

积分

中级会员

Rank: 3Rank: 3

积分
248
金钱
222
HASS币
0
发表于 2023-6-27 11:01:19 | 显示全部楼层
遇到了一样的问题。。。
回复

使用道具 举报

1

主题

20

帖子

445

积分

中级会员

Rank: 3Rank: 3

积分
445
金钱
425
HASS币
0
发表于 2023-6-27 11:22:06 | 显示全部楼层
root@Debian-LXC:~# sudo dpkg -i homeassistant-supervised.deb
(Reading database ... 23608 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]
[info] Fix kernel dmesg restriction
/var/lib/dpkg/tmp.ci/preinst: line 50: /proc/sys/kernel/dmesg_restrict: Read-only file system
dpkg: error processing archive homeassistant-supervised.deb (--install):
new homeassistant-supervised package pre-installation script subprocess returned error exit status 1
[info] Undo divert on abort-install
No diversion 'diversion of /etc/NetworkManager/NetworkManager.conf to /etc/NetworkManager/NetworkManager.conf.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/NetworkManager/system-connections/default to /etc/NetworkManager/system-connections/default.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/docker/daemon.json to /etc/docker/daemon.json.real by homeassistant-supervised', none removed.
No diversion 'diversion of /etc/network/interfaces to /etc/network/interfaces.real by homeassistant-supervised', none removed.
[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
Errors were encountered while processing:
homeassistant-supervised.deb


我也是卡在了这一步。。。。
回复

使用道具 举报

14

主题

430

帖子

2715

积分

金牌会员

Rank: 6Rank: 6

积分
2715
金钱
2285
HASS币
0
发表于 2023-6-28 12:59:25 来自手机 | 显示全部楼层
放弃addon ,立地成佛
回复

使用道具 举报

1

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
 楼主| 发表于 2023-6-28 14:40:23 | 显示全部楼层
komawh 发表于 2023-6-27 11:22
root@Debian-LXC:~# sudo dpkg -i homeassistant-supervised.deb
(Reading database ... 23608 files and d ...

我的已经解决,换成1.3.1的homeassistant-supervised.deb,换了个能打开home-assistant.io网址的代理。成功安装
回复

使用道具 举报

1

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
 楼主| 发表于 2023-6-28 14:42:00 | 显示全部楼层
ylilike 发表于 2023-6-28 12:59
放弃addon ,立地成佛

今天试了下,重新搞成功了
回复

使用道具 举报

1

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
 楼主| 发表于 2023-6-28 14:45:39 | 显示全部楼层
误打误撞已经成功解决
回复

使用道具 举报

14

主题

430

帖子

2715

积分

金牌会员

Rank: 6Rank: 6

积分
2715
金钱
2285
HASS币
0
发表于 2023-6-29 11:08:10 | 显示全部楼层
752568981 发表于 2023-6-28 14:42
今天试了下,重新搞成功了

牛B,这也行,可以可以
若然,一切若然~
回复

使用道具 举报

0

主题

4

帖子

60

积分

注册会员

Rank: 2

积分
60
金钱
56
HASS币
0
发表于 2023-7-2 14:52:08 | 显示全部楼层
牛,详细说一下可以吗,谢谢
回复

使用道具 举报

1

主题

10

帖子

66

积分

注册会员

Rank: 2

积分
66
金钱
56
HASS币
0
 楼主| 发表于 2023-7-2 18:51:58 | 显示全部楼层
donglei100 发表于 2023-7-2 14:52
牛,详细说一下可以吗,谢谢

换成1.3.1的homeassistant-supervised.deb,换了个能打开home-assistant.io网址的代理。之前的代理虽然能谷歌,但是就是打不开home-assistant.io这个网址,活了一个能打开的,成功安装
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-12-27 10:45 , Processed in 0.192907 second(s), 31 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表