I've been trying to figure out how to install the agent via the .deb file on Ubuntu 9.10 server. It fails every time. I can download it to my windows system and open the .deb with 7zip. I see the files, but it seems the .deb package is broken.
quietas@helpdesk:~/pandora$ sudo dpkg -i pandorafms.agent_3.0.0.deb
(Reading database ... 112215 files and directories currently installed.)
Preparing to replace pandorafms-agent 3.0.0 (using pandorafms.agent_3.0.0.deb) ...
Stop Pandora agent daemon
/var/lib/dpkg/info/pandorafms-agent.prerm: line 4: /etc/init.d/pandora_agent_daemon: No such file or directory
cat: /etc/inittab: No such file or directory
rm: cannot remove `/etc/rc.d/S90pandora_agent': No such file or directory
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stop Pandora agent daemon
/var/lib/dpkg/tmp.ci/prerm: line 4: /etc/init.d/pandora_agent_daemon: No such file or directory
cat: /etc/inittab: No such file or directory
rm: cannot remove `/etc/rc.d/S90pandora_agent': No such file or directory
dpkg: error processing pandorafms.agent_3.0.0.deb (--install):
subprocess new pre-removal script returned error exit status 1
Linking Pandora FMS Agent plugins directory to /etc/pandora/plugins...
Linking Pandora FMS Agent configuration to /etc/pandora/pandora_agent.conf...
Start log of agent.
Setting secure permissions and ownership for all Pandora FMS Agent files...
Linking start-up daemon script to /etc/rc.d
update-rc.d: /etc/init.d/pandora_agent_daemon: file does not exist
Please, now setup the /usr/share/pandora_agent/pandora_agent.conf and before start the /etc/init.d/pandora_agent_daemon
Errors were encountered while processing:
pandorafms.agent_3.0.0.deb
