WB5.3. Можно до бесконечность делать apt update & apt upgrade и всегда будет предлагать сделать доунгрейд 4-х пакетов. Можно это поправить?
root@wb:~# apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be DOWNGRADED:
watchdog wb-mqtt-db wb-mqtt-mbgate wb-rules
0 upgraded, 0 newly installed, 4 downgraded, 0 to remove and 0 not upgraded.
Need to get 2565 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.wirenboard.com/wb5/stretch testing/main armel wb-rules armel 1.7.1 [2393 kB]
Get:2 http://deb.wirenboard.com/wb5/stretch testing/main armel watchdog armel 5.15-1 [88.0 kB]
Get:3 http://deb.wirenboard.com/wb5/stretch testing/main armel wb-mqtt-db armel 1.7.3 [37.0 kB]
Get:4 http://deb.wirenboard.com/wb5/stretch testing/main armel wb-mqtt-mbgate armel 0.1.4 [47.1 kB]
Fetched 2565 kB in 4s (636 kB/s)
Preconfiguring packages ...
(Reading database ... 27402 files and directories currently installed.)
Preparing to unpack .../wb-rules_1.7.1_armel.deb ...
Unpacking wb-rules (1.7.1) over (1.7.1) ...
Setting up wb-rules (1.7.1) ...
(Reading database ... 27402 files and directories currently installed.)
Preparing to unpack .../watchdog_5.15-1_armel.deb ...
Unpacking watchdog (5.15-1) over (5.15-1) ...
Setting up watchdog (5.15-1) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
(Reading database ... 27402 files and directories currently installed.)
Preparing to unpack .../wb-mqtt-db_1.7.3_armel.deb ...
Unpacking wb-mqtt-db (1.7.3) over (1.7.3) ...
Preparing to unpack .../wb-mqtt-mbgate_0.1.4_armel.deb ...
Unpacking wb-mqtt-mbgate (0.1.4) over (0.1.4) ...
Setting up wb-mqtt-mbgate (0.1.4) ...
Processing triggers for systemd (232-25+deb9u13) ...
Setting up wb-mqtt-db (1.7.3) ...
добрый день снова. ничего не изменилось, wb-configs успешно установился из traditional, но после apt update && apt upgrade снова:
root@wirenboard-ABAMCBRO:/etc/apt/sources.list.d#apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libopts25 libssl1.0.0 python-cffi-backend python-chardet python-cryptography python-enum34 python-gspread python-httplib2 python-idna python-ipaddress python-oauth2client
python-openssl python-pkg-resources python-pyasn1 python-pyasn1-modules python-requests python-rsa python-setuptools python-uritemplate python-urllib3
Use 'apt autoremove' to remove them.
The following packages have been kept back:
linux-image-wb2 wb-configs
The following packages will be upgraded:
python-uritemplate wb-configs-stretch wb-mqtt-homeui wb-release-info
The following packages will be DOWNGRADED:
can-utils hostapd libnfc-bin libnfc-examples libnfc-pn53x-examples libnfc5 ntp ntpdate
4 upgraded, 0 newly installed, 8 downgraded, 0 to remove and 2 not upgraded.
Need to get 1572 B/3357 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.wirenboard.com/wb5/stretch stable/main armel wb-release-info all 1.0-stable~wb5+stretch~20210903112322 [1572 B]
Fetched 1572 B in 0s (2215 B/s)
dpkg: warning: downgrading ntp from 1:4.2.8p10+dfsg-3+deb9u2 to 1:4.2.8p10+dfsg-3wb1
(Reading database ... 27761 files and directories currently installed.)
Preparing to unpack .../ntp_1%3a4.2.8p10+dfsg-3wb1_armel.deb ...
Unpacking ntp (1:4.2.8p10+dfsg-3wb1) over (1:4.2.8p10+dfsg-3+deb9u2) ...
dpkg: warning: downgrading ntpdate from 1:4.2.8p10+dfsg-3+deb9u2 to 1:4.2.8p10+dfsg-3wb1
Preparing to unpack .../ntpdate_1%3a4.2.8p10+dfsg-3wb1_armel.deb ...
Unpacking ntpdate (1:4.2.8p10+dfsg-3wb1) over (1:4.2.8p10+dfsg-3+deb9u2) ...
Preparing to unpack .../python-uritemplate_0.6-1_all.deb ...
Unpacking python-uritemplate (0.6-1) over (0.6-1) ...
Preparing to unpack .../wb-release-info_1.0-stable~wb5+stretch~20210903112322_all.deb ...
Unpacking wb-release-info (1.0-stable~wb5+stretch~20210903112322) over (1.0-stable~wb5+stretch~20210901170618) ...
Setting up wb-release-info (1.0-stable~wb5+stretch~20210903112322) ...
(Reading database ... 27760 files and directories currently installed.)
Preparing to unpack .../wb-configs-stretch_2.1.0_all.deb ...
Unpacking wb-configs-stretch (2.1.0) over (2.0~~transitional) ...
Setting up wb-configs-stretch (2.1.0) ...
*** OMINOUS WARNING ***: /etc/ssh/sshd_config is not linked to either sshd_config.wb or sshd_config.wb-orig
Cleaning up transitional APT settings
Generating new APT preferences according to installed release info
/var/lib/dpkg/info/wb-configs-stretch.postinst: line 340: wb-release: command not found
dpkg: error processing package wb-configs-stretch (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
wb-configs-stretch
E: Sub-process /usr/bin/dpkg returned an error code (1)
вот вывод после apt install wb-configs=2.0~~transitional wb-configs-stretch=2.0~~transitional
root@wirenboard-ABAMCBRO:~# apt install wb-configs=2.0~~transitional wb-configs-stretch=2.0~~transitional
Reading package lists... Done
Building dependency tree
Reading state information... Done
wb-configs is already the newest version (2.0~~transitional).
The following packages were automatically installed and are no longer required:
libssl1.0.0 python-cffi-backend python-chardet python-cryptography python-enum34 python-gspread python-httplib2 python-idna python-ipaddress python-oauth2client
python-openssl python-pkg-resources python-pyasn1 python-pyasn1-modules python-requests python-rsa python-setuptools python-uritemplate python-urllib3
Use 'apt autoremove' to remove them.
The following packages will be DOWNGRADED:
wb-configs-stretch
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 4 not upgraded.
4 not fully installed or removed.
Need to get 21.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://releases.contactless.ru/release-transitional stretch/main armel wb-configs-stretch all 2.0~~transitional [21.3 kB]
Fetched 21.3 kB in 1s (19.1 kB/s)
dpkg: warning: downgrading wb-configs-stretch from 2.1.0 to 2.0~~transitional
(Reading database ... 27761 files and directories currently installed.)
Preparing to unpack .../wb-configs-stretch_2.0~~transitional_all.deb ...
Unpacking wb-configs-stretch (2.0~~transitional) over (2.1.0) ...
Setting up wb-configs-stretch (2.0~~transitional) ...
*** OMINOUS WARNING ***: /etc/ssh/sshd_config is not linked to either sshd_config.wb or sshd_config.wb-orig
Creating transitional APT settings to switch to new repository
Target platform: wb5/stretch, release stable
Setting up ntp (1:4.2.8p10+dfsg-3+deb9u2) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Setting up ntpdate (1:4.2.8p10+dfsg-3+deb9u2) ...
Processing triggers for systemd (232-25+deb9u13) ...
Setting up python-uritemplate (0.6-1) ...
Ага, оно написало, что не может обновить wb-configs. Попробуйте ещё раз откатить версии до transitional, а потом сделать apt update && apt dist-upgrade. И если оно скажет, что есть kept back пакеты, то не продолжайте, а пришлите сюда вывод.
root@wirenboard-ABAMCBRO:/etc/apt/sources.list.d# apt update && apt dist-upgrade
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://deb.debian.org/debian stretch-updates InRelease
Hit:4 http://releases.contactless.ru/release-transitional stretch InRelease
Get:5 http://deb.wirenboard.com/wb5/stretch stable InRelease [3957 B]
Hit:7 http://deb.debian.org/debian stretch Release
Get:6 http://cdn-fastly.deb.debian.org/debian stretch-backports InRelease [91.8 kB]
Get:8 http://deb.wirenboard.com/wb5/stretch stable/main armel Packages [35.7 kB]
Fetched 131 kB in 33s (3979 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
6 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libopts25 libssl1.0.0 linux-firmware-image-4.9.22-wb2 python-cffi-backend python-chardet python-cryptography python-enum34 python-gspread python-httplib2 python-idna
python-ipaddress python-oauth2client python-openssl python-pkg-resources python-pyasn1 python-pyasn1-modules python-requests python-rsa python-setuptools python-uritemplate
python-urllib3
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
linux-image-4.9.22-wb2 wb-homa-rfsniffer
The following NEW packages will be installed:
dh-python figlet knxd knxd-tools libpython3-stdlib python-dateutil python-json-rpc python-mqttrpc python3 python3-serial python3-wb-mcu-fw-updater python3-wb-update-manager
wb-homa-ism-radio wb-knxd-config wb-mcu-fw-flasher wb-mcu-fw-updater wb-mqtt-db-cli wb-mqtt-knx wb-mqtt-mbgate wb-suite wb-update-manager
The following packages will be upgraded:
linux-image-wb2 python-uritemplate wb-configs wb-configs-stretch wb-mqtt-homeui wb-release-info
The following packages will be DOWNGRADED:
can-utils hostapd libnfc-bin libnfc-examples libnfc-pn53x-examples libnfc5
6 upgraded, 21 newly installed, 6 downgraded, 2 to remove and 0 not upgraded.
Need to get 1574 B/13.6 MB of archives.
After this operation, 3396 kB of additional disk space will be used.
Do you want to continue? [Y/n]
ИК устройств нет, только кондиционер, MSW есть в комнате, но отключены от опроса.
Т.е. кондиционер WB-MIR и пульт.
Каким-то чудом записал 4 команды, причем как то сериями 2 + 2, каких-то обрядов не проводил, закономерности не выявил. Бьюсь уже 3 часа, все это выглядит очень странно.
Можно ли как то про диагностировать WB-MIR удаленно? Снимать не вариант нужно разбирать кондиционер.
Если прочитать вывод - то как минимум “запустить «dpkg --configure -a» для устранения проблемы.”
Ну и вообще - вижу какие-то из ссылок повреждены.
Вообще прерывать процесс обновления - не очень хорошо.