Hi All,
On my ubuntu box I cannot remove the zabbix agent:
# aptitude reinstall -f zabbix-agent
# dpkg --list | grep zabbix
Is there any solution for this?
Thanks,
On my ubuntu box I cannot remove the zabbix agent:
# aptitude reinstall -f zabbix-agent
Code:
The following packages will be REINSTALLED: zabbix-agent 0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded. Need to get 0 B/278 kB of archives. After unpacking 0 B will be used. Selecting previously unselected package zabbix-agent. (Reading database ... 107824 files and directories currently installed.) Preparing to replace zabbix-agent 1:2.0.2+dfsg-3 (using .../zabbix-agent_1%3a2.0.2+dfsg-3_amd64.deb) ... invoke-rc.d: initscript zabbix-agent, action "stop" failed. dpkg: warning: subprocess old pre-removal script returned error exit status 1 dpkg - trying script from the new package instead ... invoke-rc.d: initscript zabbix-agent, action "stop" failed. dpkg: error processing /var/cache/apt/archives/zabbix-agent_1%3a2.0.2+dfsg-3_amd64.deb (--unpack): subprocess new pre-removal script returned error exit status 1 invoke-rc.d: initscript zabbix-agent, action "start" failed. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/zabbix-agent_1%3a2.0.2+dfsg-3_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: dpkg: error processing zabbix-agent (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: zabbix-agent
# dpkg --list | grep zabbix
Code:
iFR zabbix-agent 1:2.0.2+dfsg-3 network monitoring solution - agent
Thanks,
Comment