小白 N1安装iobroker出错

login as: root
root@192.168.2.111’s password:


/ |/ _ \ / _ | |
_
\ (
) | | | |

) _, | || |) |
|
/ // ___/|___/

Welcome to ARMBIAN 5.78 user-built Debian GNU/Linux 9 (stretch) 5.1.0-rc1-aml-s9 05
System load: 2.00 1.71 0.92 Up time: 8 min
Memory usage: 4 % of 1838MB IP: 192.168.2.111
CPU temp: 35°C
Usage of /: 26% of 6.4G

[ 0 security updates available, 72 updates total: apt upgrade ]
Last check: 2020-05-12 11:17

[ General system configuration (beta): armbian-config ]

Last login: Tue May 12 06:20:21 2020 from 192.168.2.110

root@aml:~# MIRROR=taobao curl -sL https://raw.githubusercontent.com/ioBroker/io Broker/stable-installer/installer.sh 13 |

bash -
root@aml:~# curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
npm config set registry https://registry.npm.taobao.org
curl -sL https://iobroker.net/install.sh | bash -

Installing the NodeSource Node.js 10.x repo…

Populating apt-get cache…

Confirming “stretch” is supported…

Adding the NodeSource signing key to your keyring…

Creating apt sources list file for the NodeSource Node.js 10.x repo…

Running apt-get update for you…

Run sudo apt-get install -y nodejs to install Node.js 10.x and npm

You may also need development tools to build native addons:

 sudo apt-get install gcc g++ make

To install the Yarn package manager, run:

 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/s                                                                                                 ources.list.d/yarn.list
 sudo apt-get update && sudo apt-get install yarn

root@aml:~# sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.3).
The following additional packages will be installed:
dbus libavahi-client-dev libavahi-client3 libavahi-common-dev
libavahi-compat-libdnssd1 libdbus-1-3 libdbus-1-dev libudev1 pkg-config udev
Suggested packages:
default-dbus-session-bus | dbus-session-bus
Recommended packages:
libnss-mdns
The following NEW packages will be installed:
libavahi-client-dev libavahi-client3 libavahi-common-dev
libavahi-compat-libdnssd-dev libavahi-compat-libdnssd1 libdbus-1-dev
libpam0g-dev libudev-dev nodejs pkg-config
The following packages will be upgraded:
dbus libdbus-1-3 libudev1 udev
4 upgraded, 10 newly installed, 0 to remove and 68 not upgraded.
Need to get 18.0 MB of archives.
After this operation, 84.5 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_10.x stretch/main arm64 nodejs arm64 10.20 .1-1nodesource1 [15.7 MB]
Get:2 http://httpredir.debian.org/debian stretch/main arm64 udev arm64 232-25+de b9u12 [1056 kB]
Get:3 http://httpredir.debian.org/debian stretch/main arm64 libudev1 arm64 232-2 5+deb9u12 [117 kB]
Get:4 http://httpredir.debian.org/debian stretch/main arm64 libudev-dev arm64 23 2-25+deb9u12 [92.5 kB]
Get:5 http://httpredir.debian.org/debian stretch/main arm64 dbus arm64 1.10.28-0 +deb9u1 [194 kB]
Get:6 http://httpredir.debian.org/debian stretch/main arm64 libdbus-1-3 arm64 1. 10.28-0+deb9u1 [171 kB]
Get:7 http://httpredir.debian.org/debian stretch/main arm64 libavahi-client3 arm 64 0.6.32-2 [51.2 kB]
Get:8 http://httpredir.debian.org/debian stretch/main arm64 libavahi-common-dev arm64 0.6.32-2 [64.7 kB]
Get:9 http://httpredir.debian.org/debian stretch/main arm64 pkg-config arm64 0.2 9-4+b1 [60.6 kB]
Get:10 http://httpredir.debian.org/debian stretch/main arm64 libdbus-1-dev arm64 1.10.28-0+deb9u1 [214 kB]
Get:11 http://httpredir.debian.org/debian stretch/main arm64 libavahi-client-dev arm64 0.6.32-2 [59.0 kB]
Get:12 http://httpredir.debian.org/debian stretch/main arm64 libavahi-compat-lib dnssd1 arm64 0.6.32-2 [43.9 kB]
Get:13 http://httpredir.debian.org/debian stretch/main arm64 libavahi-compat-lib dnssd-dev arm64 0.6.32-2 [60.0 kB]
Get:14 http://httpredir.debian.org/debian stretch/main arm64 libpam0g-dev arm64 1.1.8-3.6 [180 kB]
Fetched 18.0 MB in 24s (739 kB/s)
(Reading database … 34842 files and directories currently installed.)
Preparing to unpack …/udev_232-25+deb9u12_arm64.deb …
Unpacking udev (232-25+deb9u12) over (232-25+deb9u11) …
Preparing to unpack …/libudev1_232-25+deb9u12_arm64.deb …
Unpacking libudev1:arm64 (232-25+deb9u12) over (232-25+deb9u11) …
Setting up libudev1:arm64 (232-25+deb9u12) …
Selecting previously unselected package libudev-dev:arm64.
(Reading database … 34842 files and directories currently installed.)
Preparing to unpack …/00-libudev-dev_232-25+deb9u12_arm64.deb …
Unpacking libudev-dev:arm64 (232-25+deb9u12) …
Preparing to unpack …/01-dbus_1.10.28-0+deb9u1_arm64.deb …
Unpacking dbus (1.10.28-0+deb9u1) over (1.10.26-0+deb9u1) …
Preparing to unpack …/02-libdbus-1-3_1.10.28-0+deb9u1_arm64.deb …
Unpacking libdbus-1-3:arm64 (1.10.28-0+deb9u1) over (1.10.26-0+deb9u1) …
Selecting previously unselected package libavahi-client3:arm64.
Preparing to unpack …/03-libavahi-client3_0.6.32-2_arm64.deb …
Unpacking libavahi-client3:arm64 (0.6.32-2) …
Selecting previously unselected package libavahi-common-dev:arm64.
Preparing to unpack …/04-libavahi-common-dev_0.6.32-2_arm64.deb …
Unpacking libavahi-common-dev:arm64 (0.6.32-2) …
Selecting previously unselected package pkg-config.
Preparing to unpack …/05-pkg-config_0.29-4+b1_arm64.deb …
Unpacking pkg-config (0.29-4+b1) …
Selecting previously unselected package libdbus-1-dev:arm64.
Preparing to unpack …/06-libdbus-1-dev_1.10.28-0+deb9u1_arm64.deb …
Unpacking libdbus-1-dev:arm64 (1.10.28-0+deb9u1) …
Selecting previously unselected package libavahi-client-dev:arm64.
Preparing to unpack …/07-libavahi-client-dev_0.6.32-2_arm64.deb …
Unpacking libavahi-client-dev:arm64 (0.6.32-2) …
Selecting previously unselected package libavahi-compat-libdnssd1:arm64.
Preparing to unpack …/08-libavahi-compat-libdnssd1_0.6.32-2_arm64.deb …
Unpacking libavahi-compat-libdnssd1:arm64 (0.6.32-2) …
Selecting previously unselected package libavahi-compat-libdnssd-dev:arm64.
Preparing to unpack …/09-libavahi-compat-libdnssd-dev_0.6.32-2_arm64.deb …
Unpacking libavahi-compat-libdnssd-dev:arm64 (0.6.32-2) …
Selecting previously unselected package libpam0g-dev:arm64.
Preparing to unpack …/10-libpam0g-dev_1.1.8-3.6_arm64.deb …
Unpacking libpam0g-dev:arm64 (1.1.8-3.6) …
Selecting previously unselected package nodejs.
Preparing to unpack …/11-nodejs_10.20.1-1nodesource1_arm64.deb …
Unpacking nodejs (10.20.1-1nodesource1) …
Setting up libpam0g-dev:arm64 (1.1.8-3.6) …
Setting up nodejs (10.20.1-1nodesource1) …
Setting up libavahi-common-dev:arm64 (0.6.32-2) …
Setting up pkg-config (0.29-4+b1) …
Processing triggers for libc-bin (2.24-11+deb9u4) …
Setting up udev (232-25+deb9u12) …
addgroup: The group `input’ already exists as a system group. Exiting.
update-initramfs: deferring update (trigger activated)
Processing triggers for systemd (232-25+deb9u11) …
Processing triggers for man-db (2.7.6.1-2) …
gdbm fatal: write error
dpkg: unrecoverable fatal error, aborting:
unable to flush updated status of ‘man-db’: Read-only file system
E: Sub-process /usr/bin/dpkg returned an error code (2)
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - pkgDPkgPM::Go (30: R ead-only file system)
root@aml:~#

一开始是因为N大脚本装不上才想装的iobroker。。。。
然后iob也装不上 就又回到了hassio
多次出现error 后来发现多次出现的是ubuntu:dpkg was interrupted, you must manually run 'dpkg --conf
这个问题 然后重新配置了一下sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_old // 问题就解决了哈哈
最后装好了 嘿嘿