Имеется Wirenboard4. Подскажите как это поправить. При попытке установить пакет получаю следующее:
root@wirenboard:~# apt-get install zabbix-agent
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
zabbix-agent : Depends: pciutils but it is not installable
E: Unable to correct problems, you have held broken packages.
Так же не получается сделать обновление пакетов:
root@wirenboard:~# apt-get update
Hit http://releases.contactless.ru wheezy Release.gpg
Ign http://ftp.us.debian.org wheezy Release.gpg
Hit http://releases.contactless.ru wheezy Release
Ign http://ftp.us.debian.org wheezy Release
Hit http://releases.contactless.ru wheezy/main all Packages
Hit http://releases.contactless.ru wheezy/main armel Packages
Ign http://releases.contactless.ru wheezy/main Translation-en
Err http://ftp.us.debian.org wheezy/main armel Packages
404 Not Found [IP: 64.50.233.100 80]
Ign http://ftp.us.debian.org wheezy/main Translation-en
W: Failed to fetch http://ftp.us.debian.org/debian/dists/wheezy/main/binary-armel/Packages 404 Not > > Found [IP: 64.50.233.100 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Добрый день!
Пожалуйста, попробуйте WB5 rev.9. Не работают репозитории, 404 not found и напишите сюда о результатах.
Может я чего то там не так понял но я уже выше писал что apt-get update у меня не обрабатывается корректно. А запуск apt-get install wb-configs приводит вот к такому выводу
root@wirenboard:~# apt-get install wb-configs
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
wb-configs : Depends: mosquitto (>= 1.4.7-1) but 1.4.2-0mosquitto7~nows1 is to be installed
E: Unable to correct problems, you have held broken packages.
Поправьте если не так понял.
И у меня прошивка 201511111910_sdcard_wb4_alliance если это важно.
Вам нужно обновить один наш пакет, чтобы появились все репозитории. Этот пакет из нашего репозитория, из нашего репозитория данные приходят корректно.
Но, похоже, у вас старый mosquitto, а новый скачать уже не получается - репозиторий Debian не доступен. Привлеку коллегу.
Я не совсем понял, мне подождать надо?
Тогда вам нужно вручную заменить в файле /etc/apt/sources.list
mirror.yandex.ru на archive.debian.org
и удалить строчки с security и updates
Спасибо помогло. Только там было не mirror.yandex.ru, ftp.us.debian.com.
Теперь не получается установить zabbix-agent. Инсталяция вылетает с ошибкой:
Setting up zabbix-agent (1:2.2.5+dfsg-1~bpo70+1) …
useradd: cannot open /etc/shadow
adduser: `/usr/sbin/useradd -d /var/run/zabbix/ -g zabbix -s /bin/false -u 105 zabbix’ returned error code 1. Exiting.
dpkg: error processing zabbix-agent (–configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
zabbix-agent
E: Sub-process /usr/bin/dpkg returned an error code (1)
Попытка вручную сделать useradd приводит вообщем то к той же проблеме:
useradd: cannot open /etc/shadow
Хотя если вручную попытаться отредактировать файл (/mnt/data/etc/shadow) то все редактируется. В чем может быть проблема?
Вы не ответите на мое сообщение?
ох, кажется у вас системе нехорошо. Пакеты при последнем обновлении без ошибок поставились? какая версия wb-configs?
dpkg -s wb-configs
к сожалению, у нас нет возможности протестировать это всё на WB4.
Я наверное что то неправильно делаю. Но после нескольких запусков обновления получаю следующее. При запуске apt-get update:
root@wirenboard:~# apt-get update
Hit http://archive.debian.org wheezy Release.gpg
Hit http://releases.contactless.ru wheezy Release.gpg
Hit http://archive.debian.org wheezy-backports Release.gpg
Hit http://releases.contactless.ru wheezy Release
Hit http://archive.debian.org wheezy Release
Hit http://archive.debian.org wheezy-backports Release
Hit http://releases.contactless.ru wheezy/main armel Packages
Hit http://archive.debian.org wheezy/main Translation-en
Hit http://archive.debian.org wheezy/main armel Packages
Ign http://releases.contactless.ru wheezy/main Translation-en
Ign http://archive.debian.org wheezy-backports/main armel Packages/DiffIndex
Ign http://archive.debian.org wheezy-backports/main Translation-en/DiffIndex
Hit http://archive.debian.org wheezy-backports/main Translation-en
Err http://archive.debian.org wheezy-backports/main armel Packages
Err http://archive.debian.org wheezy-backports/main armel Packages
Hit http://archive.debian.org wheezy-backports/main armel Packages
Reading package lists… Done
apt-get upgrade:
root@wirenboard:~# apt-get upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages have been kept back:
e2fslibs e2fsprogs hostapd libcomerr2 libss2 linux-latest nginx-common
nginx-extras
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
apt-get install wb-configs:
root@wirenboard:~# apt-get install wb-configs
Reading package lists… Done
Building dependency tree
Reading state information… Done
wb-configs is already the newest version.
The following packages were automatically installed and are no longer required:
bc liblog4cpp5 libwbmqtt mqtt-tools python-netaddr python-pyparsing
Use ‘apt-get autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
apt-get install linux-latest:
root@wirenboard:~# apt-get install linux-latest
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-latest : Depends: linux-image-4.1.15-imxv5-x0.1 (>= 4.1-imxv5-x0.1+wb20170426233333) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
При этом у меня перестал работать web интерфейс “ошибка 403”.
У меня подозрения что я где то не то делаю. Подскажите что не так?
Посмотрите. пожалуйста, мои ответы выше. Какие мои дальнейшие действия?