[ZBX-13585] Zabbix-agent 3.4 Hash mismatch on Debian 8 (jessie) Created: 2018 Mar 06  Updated: 2018 Jun 15  Resolved: 2018 Mar 09

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Agent (G)
Affects Version/s: 3.4.6
Fix Version/s: None

Type: Problem report Priority: Major
Reporter: Mehdi BENLAKHAL Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: agent
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates ZBX-14483 Can't install Zabbix 3.4.X on Raspberry Closed

 Description   

Hello Zabbix TEAM,

I have some servers wants to monitoring in Zabbix-server 3.4, i have install Zabbix-agent 3.4 from this link :
https://www.zabbix.com/documentation/3.4/manual/installation/install_from_packages/debian_ubuntu

There is some week, i greatly installed the agent on different server, but to day, in a new server, i have this mistake when i want to update the repository :
W: Failed to fetch http://repo.zabbix.com/zabbix/3.4/debian/dists/jessie/InRelease Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

When i uncomment the second lines in zabbix.list files deb-src, the apt update works fine, but i can't find the zabbix-agent package in apt install zabbix-agent.

can you please see this issue and let me know what mistakes in this ?
Thanks !



 Comments   
Comment by Kaspars Mednis [ 2018 Mar 09 ]

Hi Mehdi,

is this problem still happening ?

Regards,
Kaspars

Comment by Mehdi BENLAKHAL [ 2018 Mar 09 ]

Hi Kaspars,

Yes, the erreur still happening when i do :
apt-get update

W: Failed to fetch http://repo.zabbix.com/zabbix/3.4/debian/dists/jessie/InRelease Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Any suggestion !

Comment by Kaspars Mednis [ 2018 Mar 09 ]

Hello Mehdi,

I have tried to reproduce on a fresh clean debian 8 system, everything works like a charm...
Have yo tried sudo apt-get clean ?
has your server x86 or arm based architecture ?

wget http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+jessie_all.deb
--2018-03-09 08:46:22--  http://repo.zabbix.com/zabbix/3.4/debian/pool/main/z/zabbix-release/zabbix-release_3.4-1+jessie_all.deb
Resolving repo.zabbix.com (repo.zabbix.com)... 162.243.159.138
Connecting to repo.zabbix.com (repo.zabbix.com)|162.243.159.138|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3938 (3.8K) [application/x-debian-package]
Saving to: ‘zabbix-release_3.4-1+jessie_all.deb’

zabbix-release_3.4-1+jessie_all.deb                 100%[====================================================================================================================>]   3.85K  --.-KB/s   in 0s

2018-03-09 08:46:23 (385 MB/s) - ‘zabbix-release_3.4-1+jessie_all.deb’ saved [3938/3938]

root@debian8:~# dpkg -i zabbix-release_3.4-1+jessie_all.deb
Selecting previously unselected package zabbix-release.
(Reading database ... 30212 files and directories currently installed.)
Preparing to unpack zabbix-release_3.4-1+jessie_all.deb ...
Unpacking zabbix-release (3.4-1+jessie) ...
Setting up zabbix-release (3.4-1+jessie) ...
root@debian8:~# apt-get update
Ign cdrom://[Debian GNU/Linux 8.10.0 _Jessie_ - Official amd64 CD Binary-1 20171209-21:52] jessie InRelease
Ign cdrom://[Debian GNU/Linux 8.10.0 _Jessie_ - Official amd64 CD Binary-1 20171209-21:52] jessie Release.gpg
Ign cdrom://[Debian GNU/Linux 8.10.0 _Jessie_ - Official amd64 CD Binary-1 20171209-21:52] jessie Release
Ign cdrom://[Debian GNU/Linux 8.10.0 _Jessie_ - Official amd64 CD Binary-1 20171209-21:52] jessie/main amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 8.10.0 _Jessie_ - Official amd64 CD Binary-1 20171209-21:52] jessie/main Translation-en_US
Ign http://debian.linux.edu.lv jessie InRelease
Hit http://debian.linux.edu.lv jessie-updates InRelease
Hit http://debian.linux.edu.lv jessie Release.gpg
Hit http://debian.linux.edu.lv jessie-updates/main Sources
Hit http://security.debian.org jessie/updates InRelease
Get:1 http://debian.linux.edu.lv jessie-updates/main amd64 Packages/DiffIndex [10.9 kB]
Hit http://security.debian.org jessie/updates/main Sources
Get:2 http://debian.linux.edu.lv jessie-updates/main Translation-en/DiffIndex [3,688 B]
Hit http://debian.linux.edu.lv jessie Release
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://debian.linux.edu.lv jessie/main Sources
Get:3 http://repo.zabbix.com jessie InRelease [7,093 B]
Hit http://security.debian.org jessie/updates/main Translation-en
Hit http://debian.linux.edu.lv jessie/main amd64 Packages
Hit http://debian.linux.edu.lv jessie/main Translation-en
Get:4 http://repo.zabbix.com jessie/main Sources [882 B]
Get:5 http://repo.zabbix.com jessie/main amd64 Packages [2,488 B]
Ign http://repo.zabbix.com jessie/main Translation-en_US
Ign http://repo.zabbix.com jessie/main Translation-en
Fetched 25.0 kB in 5s (4,926 B/s)
Reading package lists... Done
root@debian8:~# apt-get install zabbix-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcurl3
The following NEW packages will be installed:
  libcurl3 zabbix-agent
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 639 kB of archives.
After this operation, 1,405 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org/ jessie/updates/main libcurl3 amd64 7.38.0-4+deb8u9 [260 kB]
Get:2 http://repo.zabbix.com/zabbix/3.4/debian/ jessie/main zabbix-agent amd64 1:3.4.7-1+jessie [379 kB]
Fetched 639 kB in 1s (413 kB/s)
Selecting previously unselected package libcurl3:amd64.
(Reading database ... 30218 files and directories currently installed.)
Preparing to unpack .../libcurl3_7.38.0-4+deb8u9_amd64.deb ...
Unpacking libcurl3:amd64 (7.38.0-4+deb8u9) ...
Selecting previously unselected package zabbix-agent.
Preparing to unpack .../zabbix-agent_1%3a3.4.7-1+jessie_amd64.deb ...
Unpacking zabbix-agent (1:3.4.7-1+jessie) ...
dpkg: warning: unable to delete old directory '/var/log/zabbix-agent': Directory not empty
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u7) ...
Setting up libcurl3:amd64 (7.38.0-4+deb8u9) ...
Setting up zabbix-agent (1:3.4.7-1+jessie) ...
Installing new version of config file /etc/init.d/zabbix-agent ...
Installing new version of config file /etc/logrotate.d/zabbix-agent ...
Installing new version of config file /etc/zabbix/zabbix_agentd.conf ...
Processing triggers for libc-bin (2.19-18+deb8u10) ...
Processing triggers for systemd (215-17+deb8u7) ...
root@debian8:~# zabbix_agentd -V
zabbix_agentd (daemon) (Zabbix) 3.4.7
Revision 77720 16 February 2018, compilation time: Feb 19 2018 07:46:49

Copyright (C) 2018 Zabbix SIA
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it according to
the license. There is NO WARRANTY, to the extent permitted by law.

Regards,
Kaspars

Comment by Mehdi BENLAKHAL [ 2018 Mar 09 ]

Thanks for your help Kaspars,

YES, I'm sorry, my server is an arm architecture, he is not like other servers.

So, the fault comes from me, I did not pay attention to the architecture of my system.

Comment by Kaspars Mednis [ 2018 Mar 09 ]

arm architecture packages from Zabbix official repo are supported only on Debian 9
http://repo.zabbix.com/zabbix/3.4/debian/conf/distributions

Origin: Zabbix
Label: zabbix
Codename: wheezy
Architectures: i386 amd64 source
Components: main non-free contrib
Description: Zabbix official apt repository
SignWith: E709712C

Origin: Zabbix
Label: zabbix
Codename: jessie
Architectures: i386 amd64 source
Components: main non-free contrib
Description: Zabbix official apt repository
SignWith: E709712C

Origin: Zabbix
Label: zabbix
Codename: stretch
Architectures: i386 amd64 armhf source
Components: main non-free contrib
Description: Zabbix official apt repository
SignWith: E709712C
Generated at Mon Apr 07 05:59:03 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.