<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[.deb package installation issues]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">I would like to try this monitoring system, but so far I am encountering some issues during installation with .deb packages.</p>
<p dir="auto">I tried installing them on my Ubuntu 8.04 server, in this order:</p>
<p dir="auto">netxms-base_1.0.8_i386.deb<br />
netxms-agent_1.0.8_i386.deb<br />
netxms-server_1.0.8_i386.deb<br />
netxms-server-mysql_1.0.8_i386.deb</p>
<p dir="auto">the base package installation went fine, but as soon as I started installing the agent I ran into this issue:</p>
<p dir="auto">root@pxmonitor:/root/netxms# dpkg -i netxms-agent_1.0.8_i386.deb<br />
Selecting previously deselected package netxms-agent.<br />
(Reading database ... 47061 files and directories currently installed.)<br />
Unpacking netxms-agent (from netxms-agent_1.0.8_i386.deb) ...<br />
Setting up netxms-agent (1.0.8) ...<br />
Cannot open file /etc/nxagentd.conf</p>
<p dir="auto">though, the package gets installed properly, as I can find the binary file under /usr/bin/nxagentd and the relative /etc/init.d/nxagentd startup script.</p>
<p dir="auto">Tried to subsequently install the server and the mysql package, both of them get installed properly but the configuration file is still missing.</p>
<p dir="auto">The last tentative I made was to get the nxagentd.conf-dist from the source tarball and manually copy it to /etc/nxagentd.conf, then tried to reinstall the agent,<br />
but the error message is still there AND the configuration file disappeared.</p>
<p dir="auto">I suppose there are some issues in the .deb package post installation scripts, I will open them up now and see if I can find the cause.</p>
<p dir="auto">regards,<br />
stk.</p>
]]></description><link>https://forum.netxms.org/topic/1082/.deb-package-installation-issues</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:19:11 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1082.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 17 Dec 2010 10:10:59 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to .deb package installation issues on Thu, 03 Feb 2011 13:26:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Question about debian packages to experts: currently, my postrm script looks like following:</p>
<pre><code>#!/bin/sh

if test "x$1" = "xpurge"; then
        rm -f /etc/nxagentd.conf
        rm -f /etc/nxagentd.conf.backup
        rm -f /etc/nxagentd.conf.sample
fi
</code></pre>
<p dir="auto">It supposed to remove configuration files only when package uninstalled completely. However, during upgrade configuration files also got removed. What I am doing wrong?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5097</link><guid isPermaLink="true">https://forum.netxms.org/post/5097</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 03 Feb 2011 13:26:09 GMT</pubDate></item><item><title><![CDATA[Reply to .deb package installation issues on Fri, 17 Dec 2010 11:06:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">thank you for your reply. I work with .deb files quite often, so if you might have some questions please feel free to ask <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">One tool you should definitely use is "lintian", which is the debian .deb packages policy checker - maybe you don't need/want to be completely compliant to the Debian policies, but it is a valuable tool to<br />
check out for omissions or errors.</p>
<p dir="auto">You just execute it with the .deb package as a parameter and it will report you errors and warnings.</p>
<p dir="auto">stk</p>
]]></description><link>https://forum.netxms.org/post/4882</link><guid isPermaLink="true">https://forum.netxms.org/post/4882</guid><dc:creator><![CDATA[steak]]></dc:creator><pubDate>Fri, 17 Dec 2010 11:06:54 GMT</pubDate></item><item><title><![CDATA[Reply to .deb package installation issues on Fri, 17 Dec 2010 10:47:09 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It's my first try to create .deb files. I plan to add interactive configurator later which will be started if configuration files are absent. I agree that for now at least a warning message is necessary. Will fix it for 1.0.9 release.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/4880</link><guid isPermaLink="true">https://forum.netxms.org/post/4880</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 17 Dec 2010 10:47:09 GMT</pubDate></item><item><title><![CDATA[Reply to .deb package installation issues on Fri, 17 Dec 2010 10:30:08 GMT]]></title><description><![CDATA[<p dir="auto">Ok, at the end I understood what is that missing file error.... The file is indeed not part of the package, but the error is coming up because the postinst script is actually trying to start the nxagentd as soon as it is installed.<br />
This of course happens for all the .deb packages like the agent, the server and (in my case) the MySql extension.</p>
<p dir="auto">When I manually copied the file from the source tarball, I think I might have removed and reinstalled the agent (the postrm in fact deletes the configuration file from /etc), so this is possibly the reason why it could not find it.</p>
<p dir="auto">Now that it is installed, I will try to do the manual copy again and see if it starts properly.</p>
<p dir="auto">My 2 cents: wouldn't be better to put a "dist" config file with the .deb package? if not, what about a message telling the user that he has to remember to supply a configuration file?</p>
<p dir="auto">Stk.</p>
]]></description><link>https://forum.netxms.org/post/4879</link><guid isPermaLink="true">https://forum.netxms.org/post/4879</guid><dc:creator><![CDATA[steak]]></dc:creator><pubDate>Fri, 17 Dec 2010 10:30:08 GMT</pubDate></item><item><title><![CDATA[Reply to .deb package installation issues on Fri, 17 Dec 2010 10:24:54 GMT]]></title><description><![CDATA[<p dir="auto">I ran lintian on the agent package just to see the errors that would possibly come up...<br />
Discarding all the debian "policy" messages, there are IMHO a couple which are worth noting:</p>
<pre><code>E: netxms-agent: file-in-etc-not-marked-as-conffile /etc/init.d/nxagentd
W: netxms-agent: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/nxagentd
</code></pre>
]]></description><link>https://forum.netxms.org/post/4878</link><guid isPermaLink="true">https://forum.netxms.org/post/4878</guid><dc:creator><![CDATA[steak]]></dc:creator><pubDate>Fri, 17 Dec 2010 10:24:54 GMT</pubDate></item></channel></rss>