-
Type:
Problem report
-
Resolution: Unresolved
-
Priority:
Trivial
-
None
-
Affects Version/s: 6.0.49
-
Component/s: Agent2 (G), Packages (C)
-
None
Steps to reproduce:
- Configure apt on an Ubuntu 22.04 to pull from the 6.0 repo.
- Run sudo apt install zabbix-agent2
Result:
user@server:~$ sudo apt install zabbix-agent2 Reading package lists... Done Building dependency tree... Done Reading state information... Done zabbix-agent2 is already the newest version (1:6.0.49-1+ubuntu22.04). 0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up zabbix-agent2 (1:6.0.49-1+ubuntu22.04) ... chown: cannot access '/etc/zabbix/zabbix_agent2.d/plugins.d/ceph.conf': No such file or directory dpkg: error processing package zabbix-agent2 (--configure): installed zabbix-agent2 package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: zabbix-agent2 E: Sub-process /usr/bin/dpkg returned an error code (1)
Please note that
/etc/zabbix/zabbix_agent2.d/plugins.d/ is completely empty after the install fails.
Expected:
Zabbix installs the various packaged plugins and exits without an error.