Процедура обновления ПО

apt-get upgrade -y

У, что-то новенькое))

Вот финал. Все или Ещё что-то надо запускать?

root@wirenboard-ARAXKJYF:~# apt-get upgrade -y
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages have been kept back:
bind9-host e2fslibs e2fsprogs libcomerr2 libss2 linux-image-wb2 mosquitto openssh-client openssh-server u-boot-tools wb-configs
wb-homa-adc wb-homa-gpio wb-homa-ism-radio wb-hwconf-manager wb-mqtt-homeui wb-mqtt-serial wb-rules-system wb-test-suite wb-utils
The following packages will be upgraded:
device-tree-compiler file firmware-realtek libmagic1 libmosquitto1 libmosquittopp1 libnl-3-200 libnl-genl-3-200 libnl-route-3-200
libsystemd-login0 libwbmqtt libwbmqtt0 mosquitto-clients nginx-extras python-wb-common python-wb-io serial-tool tar vim vim-common
vim-runtime wb-homa-w1 wb-mqtt-dac wb-mqtt-db wb-mqtt-lirc wb-rules wpasupplicant
27 upgraded, 0 newly installed, 0 to remove and 20 not upgraded.
Need to get 7611 kB/12.3 MB of archives.
After this operation, 5068 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
tar file libmagic1 libnl-route-3-200 libnl-genl-3-200 libnl-3-200 libsystemd-login0 vim vim-runtime vim-common
E: There are problems and -y was used without --force-yes

Попробуйте добавить

apt-get upgrade -y --force-yes


After this operation, 5068 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
tar file libmagic1 libnl-route-3-200 libnl-genl-3-200 libnl-3-200 libsystemd-login0 vim vim-runtime vim-common
Err Index of /debian wheezy-backports/main tar armel 1.27.1-1~bpo70+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main file armel 1:5.22+15-2~bpo7+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main libmagic1 armel 1:5.22+15-2~bpo7+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main libnl-route-3-200 armel 3.2.24-2~bpo70+2
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main libnl-genl-3-200 armel 3.2.24-2~bpo70+2
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main libnl-3-200 armel 3.2.24-2~bpo70+2
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main libsystemd-login0 armel 204-14~bpo70+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main vim armel 2:7.4.488-3~bpo70+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main vim-runtime all 2:7.4.488-3~bpo70+1
404 Not Found [IP: 151.101.112.204 80]
Err Index of /debian wheezy-backports/main vim-common armel 2:7.4.488-3~bpo70+1
404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/t/tar/tar_1.27.1-1~bpo70+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/f/file/file_5.22+15-2~bpo7+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/f/file/libmagic1_5.22+15-2~bpo7+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/libn/libnl3/libnl-route-3-200_3.2.24-2~bpo70+2_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/libn/libnl3/libnl-genl-3-200_3.2.24-2~bpo70+2_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/libn/libnl3/libnl-3-200_3.2.24-2~bpo70+2_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/s/systemd/libsystemd-login0_204-14~bpo70+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/v/vim/vim_7.4.488-3~bpo70+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/v/vim/vim-runtime_7.4.488-3~bpo70+1_all.deb 404 Not Found [IP: 151.101.112.204 80]
Failed to fetch http://http.debian.net/debian/pool/main/v/vim/vim-common_7.4.488-3~bpo70+1_armel.deb 404 Not Found [IP: 151.101.112.204 80]E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Система (wheezy) давно в архиве, сейчас покопаю в сторону обновления.
А в каком файле у вас wheezy-backports прописан?
Посмотрите /etc/apt/sources.list.d/wheezy-backports.list или в файлах рядом и закомментируйте.

Оно?

Если так, то что теперь?

Да, оно.
Обновляем список пакетов с помощью

apt-get -o Acquire::Check-Valid-Until=false update

И обновляемся

apt-get upgrade -y --force-yes

Результат следующий:

root@wirenboard-ARAXKJYF:~# apt-get -o Acquire::Check-Valid-Until=false update
Hit http://archive.debian.org wheezy Release.gpg
Hit http://archive.debian.org wheezy Release
Hit http://releases.contactless.ru wheezy Release.gpg
Hit http://releases.contactless.ru wheezy Release
Hit http://archive.debian.org wheezy/main Translation-en
Hit http://releases.contactless.ru wheezy/main armel Packages
Hit http://archive.debian.org wheezy/main armel Packages                
Ign http://releases.contactless.ru wheezy/main Translation-en           
Reading package lists... Done                                                                                                               


root@wirenboard-ARAXKJYF:~# apt-get upgrade -y --force-yes
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  e2fslibs e2fsprogs libcomerr2 libss2 linux-image-wb2 mosquitto u-boot-tools wb-configs wb-homa-adc wb-homa-gpio wb-homa-ism-radio
  wb-hwconf-manager wb-mqtt-homeui wb-mqtt-serial wb-rules-system wb-test-suite wb-utils
The following packages will be upgraded:
  device-tree-compiler firmware-realtek libmosquitto1 libmosquittopp1 libwbmqtt libwbmqtt0 mosquitto-clients nginx-extras python-wb-common
  python-wb-io serial-tool wb-homa-w1 wb-mqtt-dac wb-mqtt-db wb-mqtt-lirc wb-rules wpasupplicant
17 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 0 B/4717 kB of archives.
After this operation, 214 kB disk space will be freed.
(Reading database ... 29194 files and directories currently installed.)
Preparing to replace mosquitto-clients 1.4.7-1+wbwslo1 (using .../mosquitto-clients_1.4.15-1+wb7-2_armel.deb) ...
Unpacking replacement mosquitto-clients ...
Preparing to replace libmosquittopp1:armel 1.4.7-1+wbwslo1 (using .../libmosquittopp1_1.4.15-1+wb7-2_armel.deb) ...
Unpacking replacement libmosquittopp1:armel ...
Preparing to replace libmosquitto1:armel 1.4.7-1+wbwslo1 (using .../libmosquitto1_1.4.15-1+wb7-2_armel.deb) ...
Unpacking replacement libmosquitto1:armel ...
Preparing to replace device-tree-compiler 1.4.1+wb20170426233333 (using .../device-tree-compiler_1.4.1+wb20191113215907_armel.deb) ...
Unpacking replacement device-tree-compiler ...
Preparing to replace firmware-realtek 0.43 (using .../firmware-realtek_20170823-1~bpo9+1_all.deb) ...
Unpacking replacement firmware-realtek ...
Preparing to replace wb-homa-w1 1.10.1 (using .../wb-homa-w1_1.10.1_armel.deb) ...
Unpacking replacement wb-homa-w1 ...
Preparing to replace wb-mqtt-lirc 1.1.3 (using .../wb-mqtt-lirc_1.1.4_armel.deb) ...
[ ok ] Stopping WB LIRC driver: wb-mqtt-lirc.
Unpacking replacement wb-mqtt-lirc ...
Preparing to replace wb-mqtt-db 1.6.4 (using .../wb-mqtt-db_1.7.3_armel.deb) ...
Unpacking replacement wb-mqtt-db ...
Preparing to replace libwbmqtt0 1.7 (using .../libwbmqtt0_1.7.2_armel.deb) ...
Unpacking replacement libwbmqtt0 ...
Preparing to replace libwbmqtt 1.7 (using .../libwbmqtt_1.7.2_armel.deb) ...
Unpacking replacement libwbmqtt ...
Preparing to replace python-wb-common 1.3.2 (using .../python-wb-common_1.3.2_all.deb) ...
Unpacking replacement python-wb-common ...
Preparing to replace python-wb-io 1.2.2 (using .../python-wb-io_1.2.3_armel.deb) ...
Unpacking replacement python-wb-io ...
Preparing to replace serial-tool 1.0 (using .../serial-tool_1.0_all.deb) ...
Unpacking replacement serial-tool ...
Preparing to replace wb-rules 1.6.8 (using .../wb-rules_1.7.1_armel.deb) ...
Unpacking replacement wb-rules ...
Preparing to replace wb-mqtt-dac 1.0 (using .../wb-mqtt-dac_1.1.1_all.deb) ...
Unpacking replacement wb-mqtt-dac ...
Preparing to replace wpasupplicant 2.3-1+deb8u3 (using .../wpasupplicant_2.3-1+deb8u4_armel.deb) ...
Unpacking replacement wpasupplicant ...
Preparing to replace nginx-extras 1.6.2-5+deb8u2~bpo70+3 (using .../nginx-extras_1.6.2-5+deb8u2~bpo70+3_armel.deb) ...
Unpacking replacement nginx-extras ...
Setting up libmosquitto1:armel (1.4.15-1+wb7-2) ...
Setting up mosquitto-clients (1.4.15-1+wb7-2) ...
Setting up libmosquittopp1:armel (1.4.15-1+wb7-2) ...
Setting up device-tree-compiler (1.4.1+wb20191113215907) ...
Setting up firmware-realtek (20170823-1~bpo9+1) ...
Setting up libwbmqtt0 (1.7.2) ...
Setting up libwbmqtt (1.7.2) ...
Setting up wb-homa-w1 (1.10.1) ...
Setting up wb-mqtt-lirc (1.1.4) ...
Installing new version of config file /etc/init.d/wb-mqtt-lirc ...
[ ok ] Starting WB LIRC driver: wb-mqtt-lirc.
Setting up wb-mqtt-db (1.7.3) ...
Installing new version of config file /etc/init.d/wb-mqtt-db ...
Setting up python-wb-common (1.3.2) ...
Setting up python-wb-io (1.2.3) ...
Setting up serial-tool (1.0) ...
Setting up wb-rules (1.7.1) ...
Installing new version of config file /etc/init.d/wb-rules ...
update-rc.d: using dependency based boot sequencing
/var/lib/dpkg/info/wb-rules.postinst: 10: /var/lib/dpkg/info/wb-rules.postinst: systemctl: not found
Setting up wb-mqtt-dac (1.1.1) ...
[ ok ] Restarting MQTT Rule Engine for Wiren Board: wb-rules.
Setting up wpasupplicant (2.3-1+deb8u4) ...
Setting up nginx-extras (1.6.2-5+deb8u2~bpo70+3) ...
root@wirenboard-ARAXKJYF:~# 

Теперь все обновилось хорошо?

Теперь - да.

1 лайк

Хех. «Как же все просто было» :slightly_smiling_face:
Спасибо большое. Может кому эта ветка поможет в подобной ситуации.

Посмотрел лог и там вот какая ошибка появилась. Не знаю на что влияет или нет, но файл грузит по полной:

Aug 19 21:16:04 wirenboard-ARAXKJYF local0.info lircd-0.9.3a[2920]: Info: Cannot configure the rc device for /dev/lirc1
Aug 19 21:16:04 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: Error: could not get file information for /dev/lirc1
Aug 19 21:16:04 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: default_init(): No such file or directory
Aug 19 21:16:05 wirenboard-ARAXKJYF local0.info lircd-0.9.3a[2920]: Info: Cannot configure the rc device for /dev/lirc1
Aug 19 21:16:05 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: Error: could not get file information for /dev/lirc1
Aug 19 21:16:05 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: default_init(): No such file or directory
Aug 19 21:16:06 wirenboard-ARAXKJYF local0.info lircd-0.9.3a[2920]: Info: Cannot configure the rc device for /dev/lirc1
Aug 19 21:16:06 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: Error: could not get file information for /dev/lirc1
Aug 19 21:16:06 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: default_init(): No such file or directory
Aug 19 21:16:07 wirenboard-ARAXKJYF local0.info lircd-0.9.3a[2920]: Info: Cannot configure the rc device for /dev/lirc1
Aug 19 21:16:07 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: Error: could not get file information for /dev/lirc1
Aug 19 21:16:07 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: default_init(): No such file or directory
Aug 19 21:16:08 wirenboard-ARAXKJYF local0.info lircd-0.9.3a[2920]: Info: Cannot configure the rc device for /dev/lirc1
Aug 19 21:16:08 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: Error: could not get file information for /dev/lirc1
Aug 19 21:16:08 wirenboard-ARAXKJYF local0.err lircd-0.9.3a[2920]: default_init(): No such file or directory

И тд.

1 лайк

У вас есть (используется?) инфракрасный приемник на контроллере?
Если нет - выключите wb-mqtt-lirc

Я выключил через терминал командой service wb-mqtt-lirc stop. Этого достаточно чтобы в дальнейшем после перезагрузки контроллера он оставался выключенным?

systemctl disable wb-mqtt-lirc

поможет.

1 лайк

Вроде верно пишите, но у меня в терминале команда не выполняется так как она неизвестная

systemctl disable wb-mqtt-lirc

Скопировал из терминала на всякий случай.

Верю, но :slightly_smiling_face:
root@wirenboard-ARAXKJYF:~# systemctl disable wb-mqtt-lirc
bash: systemctl: command not found

WB5 же, моя вина, забыл.

service wb-mqtt-lirc disable

или

update-rc.d -f wb-mqtt-lirc remove
1 лайк

Так какое содержание sources.list для WB5?

Вот, описано:
https://wirenboard.com/wiki/Software_Releases

1 лайк