Wiren Board Web UI показывает ошибку Cannot load WebUI config.: File not found
после обновления. Скорее всего связано с тем, что при обновлении apt-get update; apt-get upgrade
вылезает ошибка конфигурирования пакета wb-configs
:
...
Setting up wb-configs-stretch (1.81.0) ...
dpkg-divert: error: 'diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.wb-orig by wb-configs-stretch' clashes with 'diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.wb-orig by wb-configs'
dpkg: error processing package wb-configs-stretch (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of wb-configs:
wb-configs depends on wb-configs-wheezy (>= 1.79.5) | wb-configs-stretch (>= 1.79.4); however:
Package wb-configs-wheezy is not installed.
Package wb-configs-stretch is not configured yet.
dpkg: error processing package wb-configs (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-utils:
wb-utils depends on wb-configs (>= 1.69.4); however:
Package wb-configs is not configured yet.
...
полный лог
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up wb-configs-stretch (1.81.0) ...
dpkg-divert: error: 'diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.wb-orig by wb-configs-stretch' clashes with 'diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.wb-orig by wb-configs'
dpkg: error processing package wb-configs-stretch (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of wb-configs:
wb-configs depends on wb-configs-wheezy (>= 1.79.5) | wb-configs-stretch (>= 1.79.4); however:
Package wb-configs-wheezy is not installed.
Package wb-configs-stretch is not configured yet.
dpkg: error processing package wb-configs (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-utils:
wb-utils depends on wb-configs (>= 1.69.4); however:
Package wb-configs is not configured yet.
dpkg: error processing package wb-utils (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-homa-ism-radio:
wb-homa-ism-radio depends on wb-utils (>= 2.1.2); however:
Package wb-utils is not configured yet.
dpkg: error processing package wb-homa-ism-radio (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-homa-adc:
wb-homa-adc depends on wb-utils (>= 2.0.4); however:
Package wb-utils is not configured yet.
dpkg: error processing package wb-homa-adc (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-hwconf-manager:
wb-hwconf-manager depends on wb-utils (>= 2.1.2); however:
Package wb-utils is not configured yet.
wb-hwconf-manager depends on wb-configs (>= 1.63); however:
Package wb-configs is not configured yet.
dpkg: error processing package wb-hwconf-manager (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-mqtt-serial:
wb-mqtt-serial depends on wb-utils (>= 2.0); however:
Package wb-utils is not configured yet.
dpkg: error processing package wb-mqtt-serial (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-mqtt-homeui:
wb-mqtt-homeui depends on mqtt-wss; however:
Package mqtt-wss is not installed.
Package wb-configs which provides mqtt-wss is not configured yet.
wb-mqtt-homeui depends on wb-utils (>= 2.0); however:
Package wb-utils is not configured yet.
dpkg: error processing package wb-mqtt-homeui (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-homa-gpio:
wb-homa-gpio depends on wb-utils (>= 2.0); however:
Package wb-utils is not configured yet.
dpkg: error processing package wb-homa-gpio (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of wb-test-suite:
wb-test-suite depends on wb-hwconf-manager (>= 1.25); however:
Package wb-hwconf-manager is not configured yet.
wb-test-suite depends on wb-utils (>= 1.65); however:
Package wb-utils is not configured yet.
wb-test-suite depends on wb-homa-adc (>= 1.14.6); however:
Package wb-homa-adc is not configured yet.
dpkg: error processing package wb-test-suite (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
wb-configs-stretch
wb-configs
wb-utils
wb-homa-ism-radio
wb-homa-adc
wb-hwconf-manager
wb-mqtt-serial
wb-mqtt-homeui
wb-homa-gpio
wb-test-suite
E: Sub-process /usr/bin/dpkg returned an error code (1)
Запись в `/var/log/apt/history.log` с первой ошибкой и версиями пакетов до и после (отформатировал для удобства)
Start-Date: 2019-11-06 13:31:45
Commandline: apt-get upgrade wb-homa-adc wb-homa-gpio
Install: bc:armhf (1.06.95-9+b3, automatic), u-boot-tools-wb:armhf (2:2017.03+wb-2, automatic)
Upgrade: containerd.io:armhf (1.2.5-1, 1.2.10-3)
libnghttp2-14:armhf (1.18.1-1, 1.18.1-1+deb9u1)
libdbus-1-3:armhf (1.10.26-0+deb9u1, 1.10.28-0+deb9u1)
vim-common:armhf (2:8.0.0197-4+deb9u1, 2:8.0.0197-4+deb9u3)
libldap-2.4-2:armhf (2.4.44+dfsg-5+deb9u2, 2.4.44+dfsg-5+deb9u3)
wb-homa-adc:armhf (1.14.3, 1.14.6)
openssl:armhf (1.1.0j-1~deb9u1, 1.1.0l-1~deb9u1)
libsystemd0:armhf (232-25+deb9u11, 232-25+deb9u12)
libgd3:armhf (2.2.4-2+deb9u4, 2.2.4-2+deb9u5)
dbus:armhf (1.10.26-0+deb9u1, 1.10.28-0+deb9u1)
libicu57:armhf (57.1-6+deb9u2, 57.1-6+deb9u3)
wb-configs:armhf (1.75.3, 1.81.0)
openssh-sftp-server:armhf (1:7.4p1-10+deb9u6, 1:7.4p1-10+deb9u7)
udev:armhf (232-25+deb9u11, 232-25+deb9u12)
libmagic1:armhf (1:5.30-1+deb9u2, 1:5.30-1+deb9u3)
wb-utils:armhf (1.75.2, 2.1.3)
libexpat1:armhf (2.2.0-2+deb9u1, 2.2.0-2+deb9u3)
libudev1:armhf (232-25+deb9u11, 232-25+deb9u12)
wb-homa-gpio:armhf (1.19, 1.19.5)
libmagic-mgc:armhf (1:5.30-1+deb9u2, 1:5.30-1+deb9u3)
systemd-sysv:armhf (232-25+deb9u11, 232-25+deb9u12)
libldap-common:armhf (2.4.44+dfsg-5+deb9u2, 2.4.44+dfsg-5+deb9u3)
vim-runtime:armhf (2:8.0.0197-4+deb9u1, 2:8.0.0197-4+deb9u3)
vim:armhf (2:8.0.0197-4+deb9u1, 2:8.0.0197-4+deb9u3)
libpam-systemd:armhf (232-25+deb9u11, 232-25+deb9u12)
python-wb-common:armhf (1.3.2, 1.3.3)
systemd:armhf (232-25+deb9u11, 232-25+deb9u12)
xxd:armhf (2:8.0.0197-4+deb9u1, 2:8.0.0197-4+deb9u3)
openssh-server:armhf (1:7.4p1-10+deb9u6, 1:7.4p1-10+deb9u7)
unzip:armhf (6.0-21+deb9u1, 6.0-21+deb9u2)
wb-homa-ism-radio:armhf (1.17.1, 1.17.3)
openssh-client:armhf (1:7.4p1-10+deb9u6, 1:7.4p1-10+deb9u7)
wb-mqtt-serial:armhf (1.43, 1.55.0)
usbutils:armhf (1:007-4+b1, 1:007-4+deb9u1)
libglib2.0-data:armhf (2.50.3-2, 2.50.3-2+deb9u1)
file:armhf (1:5.30-1+deb9u2, 1:5.30-1+deb9u3)
wb-hwconf-manager:armhf (1.21.2, 1.29.0)
libssl1.1:armhf (1.1.0j-1~deb9u1, 1.1.0l-1~deb9u1)
wb-mqtt-homeui:armhf (1.7, 2.0~beta12)
wb-configs-stretch:armhf (1.75.3, 1.81.0)
u-boot-tools:armhf (2017.03+wb-1, 2:2017.03+wb-2)
libglib2.0-0:armhf (2.50.3-2, 2.50.3-2+deb9u1)
debian-archive-keyring:armhf (2017.5, 2017.5+deb9u1)
docker-ce:armhf (5:18.09.6~3-0~debian-stretch, 5:19.03.4~3-0~debian-stretch)
libxslt1.1:armhf (1.1.29-2.1, 1.1.29-2.1+deb9u1)
libssl1.0.2:armhf (1.0.2r-1~deb9u1, 1.0.2t-1~deb9u1)
base-files:armhf (9.9+deb9u9, 9.9+deb9u11)
docker-ce-cli:armhf (5:18.09.6~3-0~debian-stretch, 5:19.03.4~3-0~debian-stretch)
tzdata:armhf (2019a-0+deb9u1, 2019c-0+deb9u1)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2019-11-06 13:37:51
Подскажите, как правильно это исправить, пожалуйста.