Ad Widget

Collapse

upgrade 6.2.9 to 6.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gal_17
    Junior Member
    • Feb 2023
    • 1

    #1

    upgrade 6.2.9 to 6.4

    Hi,
    I want to upgrade zabbix to new version but have these errors:

    Code:
     dnf upgrade zabbix-server-mysql zabbix-web-mysql zabbix-agent
    Last metadata expiration check: 0:26:01 ago on Mon 08 May 2023 09:55:35 AM CEST.
    Error:
     Problem: cannot install the best update candidate for package zabbix-server-mysql-6.2.9-release1.el9.x86_64
      - nothing provides libevent-2.1.so.6()(64bit) needed by zabbix-server-mysql-6.4.2-release1.el8.x86_64
      - nothing provides libevent_pthreads-2.1.so.6()(64bit) needed by zabbix-server-mysql-6.4.2-release1.el8.x86_64
      - nothing provides libnetsnmp.so.35()(64bit) needed by zabbix-server-mysql-6.4.2-release1.el8.x86_64
    (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
    ​
    When i add skip broken and nobest i get next errors:
    Code:
    Downloading Packages:
    [SKIPPED] compat-openssl11-1.1.1k-4.el9.x86_64.rpm: Already downloaded
    [SKIPPED] zabbix-agent-6.4.2-release1.el8.x86_64.rpm: Already downloaded
    [SKIPPED] zabbix-apache-conf-6.4.2-release1.el8.noarch.rpm: Already downloaded
    [SKIPPED] zabbix-web-6.4.2-release1.el8.noarch.rpm: Already downloaded
    [SKIPPED] zabbix-web-deps-6.4.2-release1.el8.noarch.rpm: Already downloaded
    [SKIPPED] zabbix-web-mysql-6.4.2-release1.el8.noarch.rpm: Already downloaded
    Zabbix Official Repository - x86_64             1.6 MB/s | 1.7 kB     00:00
    The GPG keys listed for the "Zabbix Official Repository - x86_64" repository are already installed but they are not correct for this package.
    Check that the correct key URLs are configured for this repository.. Failing package is: zabbix-agent-6.4.2-release1.el8.x86_64
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    Public key for zabbix-apache-conf-6.4.2-release1.el8.noarch.rpm is not installed. Failing package is: zabbix-apache-conf-6.4.2-release1.el8.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    Public key for zabbix-web-6.4.2-release1.el8.noarch.rpm is not installed. Failing package is: zabbix-web-6.4.2-release1.el8.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    Public key for zabbix-web-deps-6.4.2-release1.el8.noarch.rpm is not installed. Failing package is: zabbix-web-deps-6.4.2-release1.el8.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    Public key for zabbix-web-mysql-6.4.2-release1.el8.noarch.rpm is not installed. Failing package is: zabbix-web-mysql-6.4.2-release1.el8.noarch
     GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591
    The downloaded packages were saved in cache until the next successful transaction.
    You can remove cached packages by executing 'dnf clean packages'.
    Error: GPG check FAILED
    ​

    mysql version: 8.0.30
    php-fpm: 8.0.27
    centos 9 stream

    Please, can anyone help me with this.
    Thank you
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Don't add '--skip-broken' or '--nobest', using either of those options is a mistake. I wish 'dnf' didn't suggest it at all, because the real fix is usually something else.

    Look at the error messages you are receiving. Notice how some of them say things like:

    Code:
    - nothing provides ... needed by <something>.el8.x86_64
    Or

    Code:
    [SKIPPED] zabbix-<something>.el8.x86_64.rpm
    Those messages are telling you that you're trying to install packages built for CentOS 8 (el8 -> Enterprise Linux 8).

    You likely have the wrong 'zabbix-release' package installed, because you definitely have some incorrect repositories defined.
    Last edited by tim.mooney; 09-05-2023, 19:18.

    Comment

    Working...