Ad Widget

Collapse

Zabbix4 rc3 refused to update to zabbix4.0.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevereaver
    Junior Member
    • Aug 2018
    • 17

    #1

    Zabbix4 rc3 refused to update to zabbix4.0.0

    I previously had zabbix3.5 (then zabbix4 rc3) installed on Ubuntu18.04, and after carefully following the instruction to upgrade here; https://www.zabbix.com/documentation.../debian_ubuntu zabbix would not upgrade to release version 4.0.0 and remained stuck on RC3. Even after examining the zabbix.list file and noting that it was pointing to the zabbix4.0 repo.

    root@zabbix4:~# more /etc/apt/sources.list.d/zabbix.list
    deb http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main
    deb-src http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main

    The solution was to manually download each of the the packages and dpkg install them;

    Before intervention;
    root@zabbix4://etc/apt/sources.list.d# dpkg -l |grep zabbix
    ii zabbix-agent 1:4.0.0rc3-1+bionic amd64 Zabbix network monitoring solution - agent
    ii zabbix-frontend-php 1:4.0.0rc3-1+bionic all Zabbix network monitoring solution - PHP front-end
    ii zabbix-get 1:4.0.0rc3-1+bionic amd64 Zabbix network monitoring solution - get
    ii zabbix-java-gateway 1:4.0.0rc3-1+bionic all Zabbix network monitoring solution - java-gateway
    ii zabbix-release 1:4.0-2+bionic all Zabbix official repository configuration
    ii zabbix-sender 1:4.0.0rc3-1+bionic amd64 Zabbix network monitoring solution - sender
    ii zabbix-server-pgsql 1:4.0.0rc3-1+bionic amd64 Zabbix network monitoring solution - server (PostgreSQL)


    After intervention;
    deb-src http://repo.zabbix.com/zabbix/4.0/ubuntu bionic main
    root@zabbix4:~# dpkg -l |grep zabbix
    ii zabbix-agent 1:4.0.0-2+bionic amd64 Zabbix network monitoring solution - agent
    ii zabbix-frontend-php 1:4.0.0-2+bionic all Zabbix network monitoring solution - PHP front-end
    ii zabbix-get 1:4.0.0-2+bionic amd64 Zabbix network monitoring solution - get
    ii zabbix-java-gateway 1:4.0.0-2+bionic all Zabbix network monitoring solution - java-gateway
    ii zabbix-release 1:4.0-2+bionic all Zabbix official repository configuration
    ii zabbix-sender 1:4.0.0-2+bionic amd64 Zabbix network monitoring solution - sender
    ii zabbix-server-pgsql 1:4.0.0-2+bionic amd64 Zabbix network monitoring solution - server (PostgreS



    I did note however that during this process, several of the packages complained about being downgraded;

    root@zabbix4:~# dpkg -i zabbix-agent_4.0.0-2+bionic_amd64.deb
    dpkg: warning: downgrading zabbix-agent from 1:4.0.0rc3-1+bionic to 1:4.0.0-2+bionic
    (Reading database ... 181354 files and directories currently installed.)
    Preparing to unpack zabbix-agent_4.0.0-2+bionic_amd64.deb ...
    Unpacking zabbix-agent (1:4.0.0-2+bionic) over (1:4.0.0rc3-1+bionic) ...
    Setting up zabbix-agent (1:4.0.0-2+bionic) ...
    Processing triggers for systemd (237-3ubuntu10.3) ...
    Processing triggers for ureadahead (0.100.0-20) ...
    Processing triggers for man-db (2.8.3-2) ...


    Even though this was the case, when I do an apt dist-upgrade now it says I am up to date.


  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    It is probably the following problem.
    ZBX-14940 : Upgrade from 4.0rc* to 4.0 (final) is not offered on Ubuntu using packet repositories


    Please remove the rc version package once and install the official release version.

    Comment

    Working...