Релиз wb-2108

Да, странно система сломалась. Надо вернуть wb-configs и wb-configs-stretch на версию из старого репозитория:

echo 'deb http://releases.contactless.ru/release-transitional stretch main' > /etc/apt/sources.list.d/release-transitional.list
apt update
apt install wb-configs=2.0~~transitional wb-configs-stretch=2.0~~transitional

и после этого ещё раз apt update && apt upgrade

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-mqtt-mbgate для теста. Но выглядит как сломанная база apt.

Увы, но удаление/установка не помогает.

добрый день снова. ничего не изменилось, 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) ...

А что policy для пакета показывает?

Ага, оно написало, что не может обновить wb-configs. Попробуйте ещё раз откатить версии до transitional, а потом сделать apt update && apt dist-upgrade. И если оно скажет, что есть kept back пакеты, то не продолжайте, а пришлите сюда вывод.

Если правильно понял, то:

root@wb:~# apt policy wb-rules
wb-rules:
  Installed: 1.7.1
  Candidate: 1.7.1
  Version table:
     2.2.1 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
     2.2 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
     1.8 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
 *** 1.7.1 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
        100 /var/lib/dpkg/status
     1.7.1 990
        990 http://deb.wirenboard.com/wb5/stretch testing/main armel Packages
     1.7 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
     1.6.9 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages
     1.6.8 500
        500 http://releases.contactless.ru/experimental/stretch stretch/main armel Packages

PS: Читал, что это может быть связано с тем, что MD5 sum не совпадает в описании пакета и содержимым deb.

Вам стоит убрать releases.contactless.ru/experimental из списка репозиториев, он заморожен и там могут быть подпорченные версии пакетов

1 лайк

Keptback нет.

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]

и теперь сработало. странно, ведь до этого те же самые действия были.

Отлично. Ну разница, на самом деле, в dist-upgrade, у меня эта подробность тоже выпала из головы

первый раз тоже был dist-upgrade) спасибо за помощь. autoremove имеет смысл давать?

В принципе он ничего страшного удалять не хочет, так что думаю, что можно

2 сообщения были перенесены в новую тему: При записи команды длина “1”

ИК устройств нет, только кондиционер, MSW есть в комнате, но отключены от опроса.
Т.е. кондиционер WB-MIR и пульт.

Каким-то чудом записал 4 команды, причем как то сериями 2 + 2, каких-то обрядов не проводил, закономерности не выявил. Бьюсь уже 3 часа, все это выглядит очень странно.

Можно ли как то про диагностировать WB-MIR удаленно? Снимать не вариант нужно разбирать кондиционер.

НЕ получается с 2107 с тестовой откатится на стабильную, не получается обновится на 2108. Что нужно сделать?

текст.txt (39.5 КБ)

Если прочитать вывод - то как минимум “запустить «dpkg --configure -a» для устранения проблемы.”
Ну и вообще - вижу какие-то из ссылок повреждены.
Вообще прерывать процесс обновления - не очень хорошо.

Я вроде ничего не прерывал. При смене версии, в процесес будно произошло перерподключение и все (((

Replacing config file /mnt/data/etc/wb-hardware.conf with new version
Removing obsolete conffile /etc/init.d/wb-hwconf-manager …
Настраивается пакет u-boot-tools (2:2017.03+wb1.3.0) …
dpkg: ошибка при обработке пакета wb-mqtt-serial (–configure):
пакет абсолютно неработоспособен; перед настройкой его
следует переустановить
Настраивается пакет libssl1.0-dev:armhf (1.0.2u-1~deb9u6) …
Обрабатываются триггеры для libc-bin (2.24-11+deb9u4) …
Настраивается пакет wb-mqtt-homeui (2.26.0) …
Replacing config file /mnt/data/etc/wb-webui.conf with new version
Обрабатываются триггеры для systemd (232-25+deb9u13) …
Настраивается пакет libmosquitto1:armhf (1.4.15-1+wb7-5) …
Настраивается пакет wb-mqtt-confed (1.8.0) …
Created symlink /etc/systemd/system/multi-user.target.wants/wb-mqtt-confed.service → /lib/systemd/system/wb-mqtt-confed.service.
Removing obsolete conffile /etc/init.d/wb-mqtt-confed …
Настраивается пакет libwbmqtt1-3:armhf (3.5.0) …
Настраивается пакет wb-mqtt-mbgate (1.1.2) …
Настраивается пакет mosquitto-clients (1.4.15-1+wb7-5) …
Настраивается пакет libmosquittopp1:armhf (1.4.15-1+wb7-5) …
Настраивается пакет wb-mqtt-adc (2.4.2) …
Настраивается пакет wb-mqtt-gpio (2.8.3) …
Настраивается пакет wb-knxd-config (1.1.1) …
wb-knxd-config.service is a disabled or a static unit not running, not starting it.
Created symlink /etc/systemd/system/multi-user.target.wants/wb-knxd-config.service → /lib/systemd/system/wb-knxd-config.service.
Настраивается пакет wb-homa-gpio (2.8.3) …
Настраивается пакет wb-mqtt-db (2.5.3) …
Настраивается пакет wb-mqtt-w1 (2.2.1) …
Настраивается пакет wb-homa-adc (2.4.2) …
Настраивается пакет wb-homa-w1 (2.2.1) …
Обрабатываются триггеры для libc-bin (2.24-11+deb9u4) …
При обработке следующих пакетов произошли ошибки:
wb-mqtt-serial
root@wirenboard-AMUIIC6I:~#

Как написано: