[ZBX-11915] yum installation fails Created: 2017 Mar 14  Updated: 2017 May 30  Resolved: 2017 Mar 15

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Installation (I)
Affects Version/s: 3.2.4
Fix Version/s: None

Type: Incident report Priority: Blocker
Reporter: Nathaniel Ephrahim Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: failure, installation, yum, zabbix_server
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 6 based OS (SL 6.8) using kernel 2.6.32-642.13.1.el6.x86_64



 Description   

Command used to attempt to install zabbix postgresql based server version 3.2.4:

  1. yum --disablerepo=* --enablerepo=zabbix install zabbix-server-pgsql
    Loaded plugins: aliases, changelog, nvidia, post-transaction-actions, priorities, refresh-packagekit, remove-with-leaves, security,
    : upgrade-helper, verify
    Setting up Install Process
    zabbix | 951 B 00:00
    zabbix/primary | 8.8 kB 00:00
    zabbix 66/66
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-server-pgsql.x86_64 0:3.2.4-1.el6 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zabbix-server-pgsql x86_64 3.2.4-1.el6 zabbix 1.8 M

Transaction Summary
====================================================================================================================================
Install 1 Package(s)

Total download size: 1.8 M
Installed size: 4.0 M
Is this ok [y/N]: y
Downloading Packages:
zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm | 1.8 MB 00:00
http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/deprecated/zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=zabbix clean metadata
Trying other mirror.

Error Downloading Packages:
zabbix-server-pgsql-3.2.4-1.el6.x86_64: failure: deprecated/zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm from zabbix: [Errno 256] No more mirrors to try.

Installation failure even after using yum suggestion of #yum --enablerepo=zabbix clean metadata



 Comments   
Comment by Nathaniel Ephrahim [ 2017 Mar 14 ]

Could this be a package hash mismatch?

Comment by Nathaniel Ephrahim [ 2017 Mar 15 ]

I was able to get the yum based installation to work by first importing another gpg key as follows:

  1. rpm --import http://repo.zabbix.com/RPM-GPG-KEY-ZABBIX-A14FE591

I then tried installing using the zabbix repository, but got the same error:

  1. yum --disablerepo=* --enablerepo=zabbix install zabbix-server-pgsql
    Loaded plugins: aliases, changelog, nvidia, post-transaction-actions, priorities, refresh-packagekit, remove-with-leaves, security,
    : upgrade-helper, verify
    Setting up Install Process
    zabbix | 951 B 00:00
    zabbix/primary | 8.8 kB 00:00
    zabbix 66/66
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-server-pgsql.x86_64 0:3.2.4-1.el6 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zabbix-server-pgsql x86_64 3.2.4-1.el6 zabbix 1.8 M

Transaction Summary
====================================================================================================================================
Install 1 Package(s)

Total download size: 1.8 M
Installed size: 4.0 M
Is this ok [y/N]: y
Downloading Packages:
zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm | 1.8 MB 00:00
http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/deprecated/zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=zabbix clean metadata
Trying other mirror.

Error Downloading Packages:
zabbix-server-pgsql-3.2.4-1.el6.x86_64: failure: deprecated/zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm from zabbix: [Errno 256] No more mirrors to try.

So then, I tried installing from the zabbix-deprecated repository:

  1. yum --disablerepo=* --enablerepo=zabbix-deprecated install zabbix-server-pgsql
    Loaded plugins: aliases, changelog, nvidia, post-transaction-actions, priorities, refresh-packagekit, remove-with-leaves, security,
    : upgrade-helper, verify
    Setting up Install Process
    zabbix-deprecated | 951 B 00:00
    zabbix-deprecated/primary | 4.1 kB 00:00
    zabbix-deprecated 30/30
    Resolving Dependencies
    --> Running transaction check
    ---> Package zabbix-server-pgsql.x86_64 0:3.2.4-1.el6 will be installed
    --> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
zabbix-server-pgsql x86_64 3.2.4-1.el6 zabbix-deprecated 1.8 M

Transaction Summary
====================================================================================================================================
Install 1 Package(s)

Total download size: 1.8 M
Installed size: 4.0 M
Is this ok [y/N]: y
Downloading Packages:
zabbix-server-pgsql-3.2.4-1.el6.x86_64.rpm | 1.8 MB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : zabbix-server-pgsql-3.2.4-1.el6.x86_64 1/1
Verifying : zabbix-server-pgsql-3.2.4-1.el6.x86_64 1/1

Installed:
zabbix-server-pgsql.x86_64 0:3.2.4-1.el6

Complete!

Comment by Nathaniel Ephrahim [ 2017 Mar 15 ]

zabbix-web-pgsql installation works using the zabbix-deprecated repository as well.

Comment by Nathaniel Ephrahim [ 2017 Mar 15 ]

Please see comments for resolution.

Generated at Thu Apr 18 09:16:19 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.