<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/on-premise-endpoint/f/sophos-endpoint-software/73918/how-to-package-with-mkinstpkg-under-linux-because-i-find-hard</link><description>Hello all ! 
 I&amp;#39;m trying to create my package for ubuntu (14.04) for my company but I find hard :( 
 I use the version 9.11.0.4.5 of Sophos Anti-Virus. I have read several times the &amp;quot;Linux startup guide&amp;quot; and the &amp;quot;Linux configuration guide&amp;quot; and followed</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/thread/285141?ContentTypeID=1</link><pubDate>Fri, 15 Jan 2016 03:02:54 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:017ce683-f4e4-4b6c-bd7d-e33ce29eef03</guid><dc:creator>QC</dc:creator><description>&lt;p&gt;Hello AlexAbou Adam,&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;&lt;em&gt;confirm&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;I&amp;#39;m not Sophos, what I say is only to the best of my knowledge. I&amp;#39;m pretty sure though that there isn&amp;#39;t a way to include the source in the package (from chapter 3.3.1 of the &lt;a target="_blank" href="https://www.sophos.com/en-us/medialibrary/PDFs/documentation/sec_53_sgeng.pdf?la=en"&gt;SEC 5.3 startup guide for Linux&lt;/a&gt; : &lt;span style="color:#0000ff;"&gt;&lt;em&gt;The necessary files are copied from the server and Sophos Anti-Virus is installed&lt;/em&gt;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;&lt;em&gt;test the installation of SophosAV through a deb package&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;I fear I don&amp;#39;t quite get what you are aiming at and why you want &amp;quot;everything&amp;quot; included? Normally you install only once on a machine, afterwards AutoUpdate takes care of both detection data and software updates (including itself). It doesn&amp;#39;t make any difference whether the initial installation of SAV is done from an already populated folder or its contents are downloaded first (in fact, the latter ascertains that both the installation and updating work).&lt;/p&gt;
&lt;p&gt;Christian&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/thread/285081?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2016 08:52:07 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:88064aa8-ae8e-484b-b460-865046b84770</guid><dc:creator>AlexAbou Adam</dc:creator><description>&lt;p&gt;Ok so I did not understand the concept of mkinstpkg, it&amp;#39;s not usefull for me as I have to create a deb package for ubuntu repositories (i386/x86_64). Do you confirm that one can&amp;#39;t create a standalone&amp;nbsp;deb package of sophosAV from the &amp;quot;sources&amp;quot; with mkinstmkg ?&lt;/p&gt;
&lt;p&gt;Of couse we have got a RMS server but I didn&amp;#39;t want to use it because my first wish was to package, install and test the installation of SophosAV through a deb package.&lt;/p&gt;
&lt;p&gt;Otherwise, we solved our problem with the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/thread/285001?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 07:00:43 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:2c792751-a745-483a-8680-fd24175db780</guid><dc:creator>QC</dc:creator><description>&lt;p&gt;Hello AlexAbou Adam,&lt;/p&gt;
&lt;p&gt;first of all, apparently the webserver returns 404 for files without an extension - your &lt;span style="color:#008000;"&gt;&lt;em&gt;Microsoft Admin&lt;/em&gt;&lt;/span&gt; should be able to change this behaviour,&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;&lt;em&gt;install in offline mode&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new,courier;"&gt;mkinstpkg&lt;/span&gt; does not create a full package for offline install. The package &amp;quot;just&amp;quot; contains the AutoUpdate component with its configuration (including required credentials) as well as other configuration options so that no user input is necessary to perform the installation. AutoUpdate subsequently downloads the actual SAV from the source location and installs it. If no on-site source (HTTP or UNC path) is available you can use Sophos (&lt;span style="font-family:courier new,courier;"&gt;--sophos&lt;/span&gt; must be given as argument when running &lt;span style="font-family:courier new,courier;"&gt;mkinstpkg&lt;/span&gt;, &lt;span style="font-family:courier new,courier;"&gt;--update-type&lt;/span&gt;, BTW, is used to select the &lt;strong&gt;s&lt;/strong&gt;upported or &lt;strong&gt;f&lt;/strong&gt;ree version of savlinux) as source.&lt;br /&gt;Eventually you&amp;#39;ll need a valid &lt;span style="font-family:courier new,courier;"&gt;--update-source-path&lt;/span&gt; anyway.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#008000;"&gt;&lt;em&gt;--enableRMS=false&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;you don&amp;#39;t want to centrally manage Sophos on your Linux installations?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Christian&amp;nbsp; &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/thread/284985?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2016 03:33:42 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:f41b4c99-e127-4c0b-969b-8dd4900da4f3</guid><dc:creator>AlexAbou Adam</dc:creator><description>&lt;p&gt;Tank you for you answer. Yes actually I know what means --update-source-path &amp;amp; --update-cache-path but the fact is I can&amp;#39;t install SophosAV without been obliged to declare an antiviral base :(&lt;/p&gt;
&lt;p&gt;To tell you all, in my company, we&amp;#39;ve got an update server :&lt;/p&gt;
&lt;p&gt;For Windows Users : &lt;span style="color:#0000ff;"&gt;http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/SAVSCFXP/&lt;/span&gt;&lt;br /&gt;For Linux Users : &lt;span style="color:#0000ff;"&gt;http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;When we try to access to the linux share folder, we have a &amp;quot;&lt;strong&gt;404 Error - File or directory not found&amp;quot;&lt;/strong&gt; on some files but it&amp;#39;s another problem :&lt;/p&gt;
&lt;p&gt;9/16/2015 1:21 PM 7 savBuildID&lt;br /&gt;9/16/2015 1:21 PM 8 savBuildRevision&lt;br /&gt;9/16/2015 1:21 PM 7 savShortVersion&lt;br /&gt;9/16/2015 1:21 PM 11 savVersion&lt;br /&gt;10/6/2015 10:20 AM 16 suiteVersion&lt;br /&gt;12/22/2015 10:17 AM 10 talpaVersion&lt;br /&gt;9/14/2015 5:30 PM 15 version&lt;/p&gt;
&lt;p&gt;The other ones are accessible (cac.dat, cidsync.upd, vdlmnfst.dat, enginemnfst.dat etc ...). The problem has been submited to our Microsoft Admin.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Example :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;# /opt/sophos-av/bin/savconfig get PrimaryUpdateSourcePath&lt;br /&gt;&lt;a href="http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux"&gt;http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;# /opt/sophos-av/bin/savconfig get PrimaryUpdateCachePath&lt;br /&gt;/opt/sophos-av/update/cache/Primary&lt;/p&gt;
&lt;p&gt;# ./sophos-av/update/savupdate.sh Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/cidsync.upd&lt;br /&gt;383723 bytes downloaded in 0.072467 secs (5.049851 MiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/savi/sav/vdlmnfst.dat&lt;br /&gt;16591 bytes downloaded in 0.024006 secs (674.917181 KiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/savi/engine/32/enginemnfst.dat&lt;br /&gt;3463 bytes downloaded in 0.021766 secs (155.372789 KiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/savi/engine/64/enginemnfst.dat&lt;br /&gt;3463 bytes downloaded in 0.012246 secs (276.155440 KiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/sav.dat&lt;br /&gt;65187 bytes downloaded in 0.020277 secs (3.065892 MiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/talpa.dat&lt;br /&gt;443060 bytes downloaded in 0.354952 secs (1.190400 MiB/s)&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Removing bad file version&lt;/span&gt;&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/savi/sav/cidox-aq.ide&lt;br /&gt;15310 bytes downloaded in 0.029154 secs (512.833228 KiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/savi/sav/xvdl87.vdb&lt;br /&gt;560014 bytes downloaded in 0.072922 secs (7.323867 MiB/s)&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/talpaVersion&lt;br /&gt;Downloading http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/talpaVersion&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Failed to download &amp;#39;http://&amp;lt;sophos-server.mycomany.fr&amp;gt;/SophosUpdate/CIDs/S000/savlinux/talpaVersion&amp;#39;: no such file. Please check PrimaryUpdateSourcePath.&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;Failed to replicate from all update sources&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;So as can see, I can&amp;#39;t use our sophos update server, that&amp;#39;s why I&amp;#39;m trying to install in offline mode. Could you give the command-line to do it or correct this one ? :&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;# cd /opt/sophos-av/update&lt;br /&gt;# ./mkinstpkg -D -o /opt/savinstpkg.deb &lt;strong&gt;--update-type=n&lt;/strong&gt; --extra-options=&amp;quot;--instdir=/opt/sophos-av --enableSavProtectOnBoot=True --extrafiles-update-type=n --acceptlicence=True --enableRMS=false --automatic=True --enableOnAccess=false&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to package with mkinstpkg under Linux because I find hard</title><link>https://community.sophos.com/thread/284926?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2016 09:06:45 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:2a8d6b19-1964-4d3f-8f74-9ecdaa1330ef</guid><dc:creator>QC</dc:creator><description>&lt;p&gt;Hello AlexAbou Adam,&lt;/p&gt;
&lt;p&gt;the &lt;span style="font-family:courier new,courier;"&gt;--update-source-path&lt;/span&gt; must point to a location &lt;strong&gt;from&lt;/strong&gt; where the endpoint can update - either Sophos, a webserver, or a share. To quote: &amp;nbsp; &lt;br /&gt;&lt;span style="color:#0000ff;"&gt;&lt;em&gt;When prompted for the location from which to update, type the address of the CID &lt;span style="text-decoration:underline;"&gt;as it appears to the other computers&lt;/span&gt;. Enter the username and password that are required to access that address, if applicable.&lt;br /&gt;&lt;/em&gt;&lt;/span&gt;And cache-path (where the updates are downloaded to) and source-path (where the updates are downloaded from) being the same ... well, doesn&amp;#39;t make sense, does it?&lt;/p&gt;
&lt;p&gt;Christian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>