Ad Widget
Collapse
Ubuntu 22.04 unable to install agent 2
Collapse
X
-
As it happens, today I found a 22.04 server still with 7.2 installed, so I upgraded to 7.4.
Code:root@websvr:~# wget https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.deb --2026-03-12 08:45:27-- https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu22.04_all.deb Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001 Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 7336 (7.2K) [application/octet-stream] Saving to: ‘zabbix-release_latest_7.4+ubuntu22.04_all.deb’ zabbix-release_latest_7.4+ubuntu22.04_all.deb 100%[=================>] 7.16K --.-KB/s in 0s 2026-03-12 08:45:27 (2.37 GB/s) - ‘zabbix-release_latest_7.4+ubuntu22.04_all.deb’ saved [7336/7336] root@websvr:~# dpkg -i zabbix-release_latest_7.4+ubuntu22.04_all.deb (Reading database ... 149593 files and directories currently installed.) Preparing to unpack zabbix-release_latest_7.4+ubuntu22.04_all.deb ... Unpacking zabbix-release (1:7.4-1+ubuntu22.04) over (1:7.2-1+ubuntu22.04) ... Setting up zabbix-release (1:7.4-1+ubuntu22.04) ... Configuration file '/etc/apt/sources.list.d/zabbix-release.list' ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** zabbix-release.list (Y/I/N/O/D/Z) [default=N] ? y Installing new version of config file /etc/apt/sources.list.d/zabbix-release.list ... Configuration file '/etc/apt/sources.list.d/zabbix-unstable.list' ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** zabbix-unstable.list (Y/I/N/O/D/Z) [default=N] ? y Installing new version of config file /etc/apt/sources.list.d/zabbix-unstable.list ... Configuration file '/etc/apt/sources.list.d/zabbix.list' ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** zabbix.list (Y/I/N/O/D/Z) [default=N] ? y Installing new version of config file /etc/apt/sources.list.d/zabbix.list ... root@websvr:~# l /etc/apt/sources.list.d/ total 36 drwxr-xr-x 2 root root 4096 Mar 12 08:45 . drwxr-xr-x 9 root root 4096 Apr 15 2024 .. -rw-r--r-- 1 root root 58 Mar 12 08:32 bitninja.list -rw-r--r-- 1 root root 40 Apr 15 2024 goaccess.list -rw-r--r-- 1 root root 140 Apr 15 2024 ondrej-ubuntu-php-jammy.list -rw-r--r-- 1 root root 198 Apr 15 2024 rspamd.list -rw-r--r-- 1 root root 173 Jun 30 2025 zabbix-release.list -rw-r--r-- 1 root root 167 Jun 30 2025 zabbix-unstable.list -rw-r--r-- 1 root root 157 Jun 30 2025 zabbix.list root@websvr:~# apt update Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease Hit:4 http://apt-beta.bitninja.io/debian bitninja InRelease Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease Hit:7 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease Hit:6 https://rspamd.com/apt-stable jammy InRelease Hit:8 https://deb.goaccess.io jammy InRelease Get:9 https://repo.zabbix.com/zabbix/7.4/release/ubuntu jammy InRelease [2459 B] Get:10 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu jammy InRelease [3938 B] Get:11 https://repo.zabbix.com/zabbix/7.4/release/ubuntu jammy/main Sources [940 B] Get:12 https://repo.zabbix.com/zabbix/7.4/release/ubuntu jammy/main all Packages [626 B] Get:13 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu jammy/main Sources [15.8 kB] Get:14 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu jammy/main all Packages [5725 B] Get:15 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu jammy/main amd64 Packages [30.5 kB] Fetched 59.9 kB in 1s (42.7 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. root@websvr:~# apt install zabbix-agent2 Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be upgraded: zabbix-agent2 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 5710 kB of archives. After this operation, 502 kB of additional disk space will be used. Get:1 https://repo.zabbix.com/zabbix/7.4/stable/ubuntu jammy/main amd64 zabbix-agent2 amd64 1:7.4.7-1+ubuntu22.04 [5710 kB] Fetched 5710 kB in 2s (3384 kB/s) Reading changelogs... Done debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78, <> line 1.) debconf: falling back to frontend: Readline (Reading database ... 149593 files and directories currently installed.) Preparing to unpack .../zabbix-agent2_1%3a7.4.7-1+ubuntu22.04_amd64.deb ... Unpacking zabbix-agent2 (1:7.4.7-1+ubuntu22.04) over (1:7.2.15-1+ubuntu22.04) ... Setting up zabbix-agent2 (1:7.4.7-1+ubuntu22.04) ... Configuration file '/etc/zabbix/zabbix_agent2.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** zabbix_agent2.conf (Y/I/N/O/D/Z) [default=N] ? Installing new version of config file /etc/zabbix/zabbix_agent2.d/plugins.d/mqtt.conf ... Configuration file '/etc/zabbix/zabbix_agent2.d/plugins.d/mysql.conf' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** mysql.conf (Y/I/N/O/D/Z) [default=N] ? Installing new version of config file /etc/zabbix/zabbix_agent2.d/plugins.d/oracle.conf ... Installing new version of config file /etc/zabbix/zabbix_agent2.d/plugins.d/redis.conf ... Processing triggers for man-db (2.10.2-1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 78.) debconf: falling back to frontend: Readline Scanning processes... Scanning candidates... Scanning linux images... Running kernel seems to be up-to-date. Restarting services... No containers need to be restarted. No user sessions are running outdated binaries. No VM guests are running outdated hypervisor (qemu) binaries on this host. root@websvr:~# systemctl status zabbix-agent2 ● zabbix-agent2.service - Zabbix Agent 2 Loaded: loaded (/lib/systemd/system/zabbix-agent2.service; enabled; vendor preset: enabled) Active: active (running) since Thu 2026-03-12 08:46:41 UTC; 20s ago Main PID: 328271 (zabbix_agent2) Tasks: 10 (limit: 19179) Memory: 11.9M CPU: 41ms CGroup: /system.slice/zabbix-agent2.service └─328271 /usr/sbin/zabbix_agent2 -c /etc/zabbix/zabbix_agent2.confComment
Comment