Полное отключение wb-cloud-agent

Добрый день

Очень не хватает полного отключения wb-cloud-agent, после purge он восстанавливается при обновлении системы.

P.S. в Discourse нет категории cloud =(

Добрый день.
Проверяю.
Выполнил

apt purge wb-cloud-agent -y

Затем apt update && apt upgrade -y
Ну и, ожидаемо, пакет wb-cloud-agent не установился.

Странный тест, конечно так ничего не произойдет, попробуйте wb-2404 → wb-2407.

Пробую. Записываю 202405131426.
Пока все ж опишите пожалуйста - какого поведения ждете и что кажется не соответствующим документации?

Формальный подход это, конечно, хорошо, но я, как пользователь, однажды убрав пакет, не хочу видеть его вновь. Тем более такой, как wb-cloud-agent, мне нужна молчаливая система, не предпринимающая попытки связи с внешним миром.

Сравнивать поведение продукта с документацией - это работа тестировщиков, я к таким не отношусь. Я пользователь, который столкнулся с некорректной работой софта - если пакет был удален, то он не должен появляться и включаться вновь.

Итак, релиз 2404:

apt policy wb-cloud-agent
wb-cloud-agent:
  Installed: (none)
  Candidate: 1.5.7
  Version table:
     1.5.7 990
        990 http://deb.wirenboard.com/wb7/bullseye stable/main armhf Packages

Обновил списки:

apt update                  
Hit:1 http://debian-mirror.wirenboard.com/debian bullseye InRelease
Hit:2 http://deb.wirenboard.com/wb7/bullseye stable InRelease           
Hit:3 http://debian-mirror.wirenboard.com/debian bullseye-updates InRelease
Hit:4 http://debian-mirror.wirenboard.com/debian bullseye-backports InRelease
Hit:5 http://debian-mirror.wirenboard.com/debian-security bullseye-security InRelease
Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
97 packages can be upgraded. Run 'apt list --upgradable' to see them

Смотрю:

apt list --upgradable
Listing... Done
base-files/oldstable 11.1+deb11u11 armhf [upgradable from: 11.1+deb11u9]
bind9-host/oldstable 1:9.16.50-1~deb11u2 armhf [upgradable from: 1:9.16.48-1]
bind9-libs/oldstable 1:9.16.50-1~deb11u2 armhf [upgradable from: 1:9.16.48-1]
bluez-hcidump/oldstable-security 5.55-3.1+deb11u2 armhf [upgradable from: 5.55-3.1+deb11u1]
bluez/oldstable-security 5.55-3.1+deb11u2 armhf [upgradable from: 5.55-3.1+deb11u1]
curl/oldstable 7.74.0-1.3+deb11u13 armhf [upgradable from: 7.74.0-1.3+deb11u11]
dns-root-data/oldstable 2024041801~deb11u1 all [upgradable from: 2021011101]
emmcparm/stable 5.0.2 armhf [upgradable from: 5.0.0]
hostapd/oldstable,oldstable-security 2:2.9.0-21+deb11u2 armhf [upgradable from: 2:2.9.0-21]
libateccssl1.1/stable 0.2.5 armhf [upgradable from: 0.2.4]
libbluetooth3/oldstable-security 5.55-3.1+deb11u2 armhf [upgradable from: 5.55-3.1+deb11u1]
libc-bin/oldstable 2.31-13+deb11u11 armhf [upgradable from: 2.31-13+deb11u10]
libc-dev-bin/oldstable 2.31-13+deb11u11 armhf [upgradable from: 2.31-13+deb11u10]
libc-devtools/oldstable 2.31-13+deb11u11 armhf [upgradable from: 2.31-13+deb11u10]
libc-l10n/oldstable 2.31-13+deb11u11 all [upgradable from: 2.31-13+deb11u10]
libc6-dev/oldstable 2.31-13+deb11u11 armhf [upgradable from: 2.31-13+deb11u10]
libc6/oldstable 2.31-13+deb11u11 armhf [upgradable from: 2.31-13+deb11u10]
libcjson1/oldstable 1.7.14-1+deb11u1 armhf [upgradable from: 1.7.14-1]
libcurl3-gnutls/oldstable 7.74.0-1.3+deb11u13 armhf [upgradable from: 7.74.0-1.3+deb11u11]
libcurl4/oldstable 7.74.0-1.3+deb11u13 armhf [upgradable from: 7.74.0-1.3+deb11u11]
libglib2.0-0/oldstable 2.66.8-1+deb11u4 armhf [upgradable from: 2.66.8-1+deb11u3]
libglib2.0-data/oldstable 2.66.8-1+deb11u4 all [upgradable from: 2.66.8-1+deb11u3]
libgnutls-openssl27/oldstable-security 3.7.1-5+deb11u6 armhf [upgradable from: 3.7.1-5+deb11u4]
libgnutls30/oldstable-security 3.7.1-5+deb11u6 armhf [upgradable from: 3.7.1-5+deb11u4]
libgssapi-krb5-2/oldstable,oldstable-security 1.18.3-6+deb11u5 armhf [upgradable from: 1.18.3-6+deb11u4]
libk5crypto3/oldstable,oldstable-security 1.18.3-6+deb11u5 armhf [upgradable from: 1.18.3-6+deb11u4]
libkrb5-3/oldstable,oldstable-security 1.18.3-6+deb11u5 armhf [upgradable from: 1.18.3-6+deb11u4]
libkrb5support0/oldstable,oldstable-security 1.18.3-6+deb11u5 armhf [upgradable from: 1.18.3-6+deb11u4]
libmm-glib0/stable 1.20.0-1~bpo11+1-wb108 armhf [upgradable from: 1.20.0-1~bpo11+1-wb106]
libndp0/oldstable,oldstable-security 1.6-1+deb11u1 armhf [upgradable from: 1.6-1+b1]
libnm0/stable 1.42.4-1~bpo11+1-wb102 armhf [upgradable from: 1.42.4-1~bpo11+1-wb101]
libnss-systemd/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
libpam-systemd/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
libssh2-1/oldstable 1.9.0-2+deb11u1 armhf [upgradable from: 1.9.0-2]
libsystemd0/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
libudev1/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
libwbmqtt1-4/stable 4.5.2 armhf [upgradable from: 4.3.6]
libxml2/oldstable-security 2.9.10+dfsg-6.7+deb11u5 armhf [upgradable from: 2.9.10+dfsg-6.7+deb11u4]
linux-image-wb7/stable 5.10.35-wb169 armhf [upgradable from: 5.10.35-wb159+wb1]
linux-libc-dev/stable 5.10.35-wb169 armhf [upgradable from: 5.10.35-wb159+wb1]
locales/oldstable 2.31-13+deb11u11 all [upgradable from: 2.31-13+deb11u10]
modbus-utils-rpc/stable 1.2.3 all [upgradable from: 1.2.2]
modbus-utils/stable 1.2.10 armhf [upgradable from: 1.2.9]
modemmanager/stable 1.20.0-1~bpo11+1-wb108 armhf [upgradable from: 1.20.0-1~bpo11+1-wb106]
mqtt-tools/stable 1.4.4 all [upgradable from: 1.4.3]
nano/oldstable 5.4-2+deb11u3 armhf [upgradable from: 5.4-2+deb11u2]
net-tools/oldstable 1.60+git20181103.0eebece-1+deb11u1 armhf [upgradable from: 1.60+git20181103.0eebece-1]
network-manager/stable 1.42.4-1~bpo11+1-wb102 armhf [upgradable from: 1.42.4-1~bpo11+1-wb101]
python3-idna/oldstable 2.10-1+deb11u1 all [upgradable from: 2.10-1]
python3-mqttrpc/stable 1.2.5 all [upgradable from: 1.2.2]
python3-paho-socket/stable 0.0.3-2 all [upgradable from: 0.0.3-1]
python3-wb-common/stable 2.2.0 all [upgradable from: 2.1.2]
python3-wb-mcu-fw-updater/stable 1.11.2 all [upgradable from: 1.10.12]
python3-wb-mqtt-metrics/stable 0.3.3 all [upgradable from: 0.3.1]
python3-wb-nm-helper/stable 1.33.8 all [upgradable from: 1.32.0]
python3-wb-update-manager/stable 1.3.5 all [upgradable from: 1.3.2]
systemd-sysv/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
systemd/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
task-wb-base-system/stable 1.19.0 all [upgradable from: 1.18.3]
task-wb-common-pkgs/stable 1.19.0 all [upgradable from: 1.18.3]
u-boot-tools-wb/stable 2:2021.10+wb1.7.2 armhf [upgradable from: 2:2021.10+wb1.7.1]
u-boot-wb7/stable 2:2021.10+wb1.7.2 armhf [upgradable from: 2:2021.10+wb1.7.1]
udev/oldstable-security 247.3-7+deb11u6 armhf [upgradable from: 247.3-7+deb11u4]
wb-bootlet-wb7x/stable 5.10.35-wb169-fs1.3.2-deb11-202407251009 armhf [upgradable from: 5.10.35-wb159-fs1.2.2-deb11-202311241137]
wb-configs/stable 3.28.0 all [upgradable from: 3.22.1]
wb-device-manager/stable 1.9.1 all [upgradable from: 1.6.1]
wb-diag-collect/stable 1.8.12 all [upgradable from: 1.8.6]
wb-dt-overlays/stable 1.7.0 all [upgradable from: 1.6.0+wb1]
wb-ec-firmware/stable 1.3.2 all [upgradable from: 1.2.1]
wb-essential/stable 1.19.0 all [upgradable from: 1.18.3]
wb-hwconf-manager/stable 1.61.2 all [upgradable from: 1.58.6]
wb-knxd-config/stable 1.1.4 all [upgradable from: 1.1.2]
wb-mcu-fw-flasher/stable 1.4.0 armhf [upgradable from: 1.3.1]
wb-mcu-fw-updater/stable 1.11.2 all [upgradable from: 1.10.12]
wb-mqtt-adc/stable 2.6.5 armhf [upgradable from: 2.6.4]
wb-mqtt-confed/stable 1.14.11 armhf [upgradable from: 1.14.5]
wb-mqtt-dac/stable 1.2.5 all [upgradable from: 1.2.4]
wb-mqtt-db-cli/stable 1.4.6 all [upgradable from: 1.4.5]
wb-mqtt-db/stable 2.8.15 armhf [upgradable from: 2.8.11]
wb-mqtt-gpio/stable 2.15.0 armhf [upgradable from: 2.12.6]
wb-mqtt-homeui/stable 2.93.11-wb101 all [upgradable from: 2.78.3]
wb-mqtt-iec104/stable 1.1.10 armhf [upgradable from: 1.1.4]
wb-mqtt-knx/stable 1.13.0 armhf [upgradable from: 1.12.4]
wb-mqtt-logs/stable 1.4.7 armhf [upgradable from: 1.4.4]
wb-mqtt-mbgate/stable 1.7.2 armhf [upgradable from: 1.6.0]
wb-mqtt-metrics/stable 0.3.3 all [upgradable from: 0.3.1]
wb-mqtt-opcua/stable 1.1.7 armhf [upgradable from: 1.1.2]
wb-mqtt-serial/stable 2.138.1-wb104 armhf [upgradable from: 2.109.1-wb101]
wb-mqtt-w1/stable 2.2.11 armhf [upgradable from: 2.2.8]
wb-nm-helper/stable 1.33.8 all [upgradable from: 1.32.0]
wb-release-info/stable 1.0-stable~wb7+bullseye~20240913070825 all [upgradable from: 1.0-stable~wb7+bullseye~20240513092815]
wb-rules-system/stable 1.11.1 all [upgradable from: 1.9.7]
wb-rules/stable 2.20.17 armhf [upgradable from: 2.18.8]
wb-suite/stable 1.19.0 all [upgradable from: 1.18.3]
wb-update-manager/stable 1.3.5 all [upgradable from: 1.3.2]
wb-utils/stable 4.22.2 all [upgradable from: 4.20.2-wb100]
wpasupplicant/oldstable,oldstable-security 2:2.9.0-21+deb11u2 armhf [upgradable from: 2:2.9.0-21]

и да.

apt upgrade          
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  cmux hubpower python-wb-io
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  frpc libwbmqtt1-5 python3-certifi python3-chardet python3-pkg-resources python3-requests python3-termcolor python3-urllib3 serial-tool telegraf-wb-cloud-agent wb-cloud-agent
The following packages will be upgraded:
  base-files bind9-host bind9-libs bluez bluez-hcidump curl dns-root-data emmcparm hostapd libateccssl1.1 libbluetooth3 libc-bin libc-dev-bin libc-devtools libc-l10n libc6 libc6-dev libcjson1 libcurl3-gnutls libcurl4 libglib2.0-0 libglib2.0-data libgnutls-openssl27 libgnutls30 libgssapi-krb5-2 libk5crypto3 libkrb5-3 libkrb5support0
  libmm-glib0 libndp0 libnm0 libnss-systemd libpam-systemd libssh2-1 libsystemd0 libudev1 libwbmqtt1-4 libxml2 linux-image-wb7 linux-libc-dev locales modbus-utils modbus-utils-rpc modemmanager mqtt-tools nano net-tools network-manager python3-idna python3-mqttrpc python3-paho-socket python3-wb-common python3-wb-mcu-fw-updater
  python3-wb-mqtt-metrics python3-wb-nm-helper python3-wb-update-manager systemd systemd-sysv task-wb-base-system task-wb-common-pkgs u-boot-tools-wb u-boot-wb7 udev wb-bootlet-wb7x wb-configs wb-device-manager wb-diag-collect wb-dt-overlays wb-ec-firmware wb-essential wb-hwconf-manager wb-knxd-config wb-mcu-fw-flasher wb-mcu-fw-updater
  wb-mqtt-adc wb-mqtt-confed wb-mqtt-dac wb-mqtt-db wb-mqtt-db-cli wb-mqtt-gpio wb-mqtt-homeui wb-mqtt-iec104 wb-mqtt-knx wb-mqtt-logs wb-mqtt-mbgate wb-mqtt-metrics wb-mqtt-opcua wb-mqtt-serial wb-mqtt-w1 wb-nm-helper wb-release-info wb-rules wb-rules-system wb-suite wb-update-manager wb-utils wpasupplicant
97 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 90.2 MB/101 MB of archives.
After this operation, 44.3 MB of additional disk space will be used.

Так что ж от него зависит?

apt-cache rdepends wb-cloud-agent
wb-cloud-agent
Reverse Depends:
  wb-mqtt-homeui
  wb-suite

причем оба пакета breaks.
Ну, не уверен что хорошая идея выкидывать пакет из зависимостей.

Отлично, убедились что поведение такое как я описал. Теперь давайте вернемся к проблеме, я удалил пакет, так он настойчиво ломится наружу. Чтобы этого не было в принципе - purge. Таким образом я хочу быть защищен от того что вы его не включите по недоразумению, disable мне не подходит.
Если вы позиционируете свое решение, как безопасное и автономное, способное работать без связи с внешним миром, то было бы здорово полностью отключать ваш wb-cloud-agent, он далеко не всем нужен, а кому-то даже вреден.
Как полностью избавиться от этого пакета, чтобы с обновлениями он не включался и не украшал собой логи?

Если он будет явно включен в зависимости другого - то будет установлен.
Отключение (disable) его на текущем этапе не предусмотрено.
Единственный метод на текущий день исключить именно установку пакета - использовать кастомный образ или репозиторий.
Ну или добавить его обработку в скрипты оркестрации.

Понятно, а можете в список доработок взять этот функционал? Чтобы декларируемая идеология не противоречила фактическому положению дел.

В пожелания добавлю.