-
Problem report
-
Resolution: Workaround proposed
-
Critical
-
4.0.7, 4.2.1
-
None
-
root@jabbixsrv01:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
root@jabbixsrv01:~#
zabbix upgrade failed from 4.0.7 to 4.2.1 on ubuntu 18.04.2 LTS(bionic)
root@jabbixsrv01:~# wget https://repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.2-1+bionic_all.deb
-2019-05-31 03:31:10- https://repo.zabbix.com/zabbix/4.2/ubuntu/pool/main/z/zabbix-release/zabbix-release_4.2-1+bionic_all.deb
Resolving repo.zabbix.com (repo.zabbix.com)... 2604:a880:1:20::b82:1001, 162.243.159.138
Connecting to repo.zabbix.com (repo.zabbix.com)|2604:a880:1:20::b82:1001|:443... failed: Connection refused.
Connecting to repo.zabbix.com (repo.zabbix.com)|162.243.159.138|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4052 (4.0K) [application/octet-stream]
Saving to: ‘zabbix-release_4.2-1+bionic_all.deb.1’
zabbix-release_4.2-1+bionic_all.deb.1 100%[====================================================================================================>] 3.96K --.-KB/s in 0s
2019-05-31 03:31:11 (241 MB/s) - ‘zabbix-release_4.2-1+bionic_all.deb.1’ saved [4052/4052]
root@jabbixsrv01:~# ls -lrt
total 14112
drwxrwxr-x 13 jabbix jabbix 4096 Dec 9 2013 zabbix-2.2.1
rw-rr- 1 root root 14426358 Dec 9 2013 zabbix-2.2.1.tar.gz
rw-rr- 1 root root 4008 Oct 2 2018 zabbix-release_4.0-2+bionic_all.deb
rw-rr- 1 root root 4052 Mar 29 14:28 zabbix-release_4.2-1+bionic_all.deb.1
rw-rr- 1 root root 4052 Mar 29 14:28 zabbix-release_4.2-1+bionic_all.deb
root@jabbixsrv01:~# dpkg -i zabbix-release_4.2-1+bionic_all.deb
(Reading database ... 106898 files and directories currently installed.)
Preparing to unpack zabbix-release_4.2-1+bionic_all.deb ...
Unpacking zabbix-release (4.2-1+bionic) over (4.2-1+bionic) ...
Setting up zabbix-release (4.2-1+bionic) ...
root@jabbixsrv01:~# apt-get update
Reading package lists... Done
root@jabbixsrv01:~# apt-get install --only-upgrade zabbix-server-mysql zabbix-frontend-php zabbix-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
zabbix-server-mysql is already the newest version (1:4.0.7-1+bionic).
zabbix-agent is already the newest version (1:4.0.7-1+bionic).
zabbix-frontend-php is already the newest version (1:4.0.7-1+bionic).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@jabbixsrv01:~# apt-get update
Reading package lists... Done
root@jabbixsrv01:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@jabbixsrv01:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@jabbixsrv01:~# apt list --upgradable
Listing... Done
root@jabbixsrv01:~#