<div dir="ltr">For the first error, if I were to venture to guess, your /etc/MailScanner/CustomFunctions directory is present but empty.  I'm looking at the preinst script, and it appears that the deb package assumes a non-empty directory.  Try this please:<div><br></div><div>sudo touch /etc/MailScanner/CustomFunctions/test</div><div><br></div><div>and run the update again.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 17, 2018 at 2:50 PM, Shawn Iverson <span dir="ltr"><<a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">From which version are you trying to upgrade from?</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 17, 2018 at 4:21 AM, Michael Abboud <span dir="ltr"><<a href="mailto:mabboud123@gmail.com" target="_blank">mabboud123@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font size="-1"><font face="Courier New, Courier, monospace">Hi List,<br>
        <br>
        My first post, so please forgive any obvious blunders...<br>
        <br>
        I downloaded <b>MailScanner-5.0.7-2.deb.tar</b>, extracted and
        ran:<br>
        <br>
        <b>./install.sh --update</b><br>
        <br>
        ...on my:<br>
        <br>
        <font color="#ff0000">Distributor ID: Ubuntu<br>
          Description:    Ubuntu 16.04.3 LTS<br>
          Release:        16.04<br>
          Codename:       xenial</font><br>
        <br>
        ...server.<br>
        <br>
        The <b>./install --update </b>command worked up until the last
        part of the script which attempts to install the .deb package.<br>
        <br>
        The install log says:<br>
        .<br>
        .<br>
        .<br>
        Installing the MailScanner .deb package ... <br>
        (Reading database ... 261497 files and directories currently
        installed.)<br>
        Preparing to unpack .../MailScanner-5.0.7-2-noarch<wbr>.deb ...<br>
        <font color="#ff0000">cp: cannot stat
          '/etc/MailScanner/CustomFuncti<wbr>ons/*': No such file or
          directory<br>
          dpkg: error processing archive
          /home/sysadmin/MailScanner-5.0<wbr>.7-2/MailScanner-5.0.7-2-noarc<wbr>h.deb
          (--install):</font><br>
        <font color="#ff0000"> subprocess new pre-installation script
          returned error exit status 1<br>
          initctl: Unable to connect to Upstart: Failed to connect to
          socket /com/ubuntu/upstart: Connection refused</font><br>
        insserv: warning: script 'screen-cleanup' missing LSB tags and
        overrides<br>
        insserv: Default-Start undefined, assuming empty start
        runlevel(s) for script `screen-cleanup'<br>
        insserv: Default-Stop  undefined, assuming empty stop 
        runlevel(s) for script `screen-cleanup'<br>
        Errors were encountered while processing:<br>
 /home/sysadmin/MailScanner-5.<wbr>0.7-2/MailScanner-5.0.7-2-noar<wbr>ch.deb<br>
        <br>
        I'm wondering if the <b>.deb</b> package is somehow corrupt?<br>
        <br>
        I also tried Mark's approach using the <b>Build.deb</b> script
        but I couldn't get the build to succeed on my Ubuntu server.<br>
        <br>
        Any thoughts for a newbie?<br>
        <br>
        Best regards,<br>
        Michael<br>
      </font></font><br>
    <div class="m_8772154960157745453m_-5973616681300334971moz-cite-prefix">On 9/2/18 2:46 pm, Jerry Benton wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Sorry. Working on it now. </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Feb 8, 2018 at 9:16 PM, Mark
          Sapiro <span dir="ltr"><<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I notice
            5.0.7-2 is not yet available at<br>
            <<a href="https://www.mailscanner.info/downloads/" rel="noreferrer" target="_blank">https://www.mailscanner.info/<wbr>downloads/</a>>.<br>
            <br>
            FWIW, I built the Debian package from a clone of<br>
            <<a href="https://github.com/MailScanner/v5" rel="noreferrer" target="_blank">https://github.com/MailScanne<wbr>r/v5</a>>
            using the Build.debian script and<br>
            installed it on two different Ubuntu 16.04 systems via<br>
            <br>
            ./install.sh --update<br>
            <br>
            and had no problems.<br>
            <span class="m_8772154960157745453m_-5973616681300334971HOEnZb"><font color="#888888"><br>
                --<br>
                Mark Sapiro <<a href="mailto:mark@msapiro.net" target="_blank">mark@msapiro.net</a>>       
                The highway is for gamblers,<br>
                San Francisco Bay Area, California    better use your
                sense - B. Dylan<br>
                <br>
                <br>
                --<br>
                MailScanner mailing list<br>
                <a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br>
                <a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
                <br>
              </font></span></blockquote>
        </div>
        <br>
        <br clear="all"><span class="m_8772154960157745453HOEnZb"><font color="#888888">
        <div><br>
        </div>
        -- <br>
        <div class="m_8772154960157745453m_-5973616681300334971gmail_signature" data-smartmail="gmail_signature">
          <div dir="ltr">
            <div>
              <div><br>
                --<br>
              </div>
              Jerry Benton<br>
            </div>
            Mailborder Systems<br>
            <a href="http://www.mailborder.com" target="_blank">www.mailborder.com</a><br>
          </div>
        </div>
      </font></span></div><span class="m_8772154960157745453HOEnZb"><font color="#888888">
      <br>
      <fieldset class="m_8772154960157745453m_-5973616681300334971mimeAttachmentHeader"></fieldset>
      <br>
      <pre></pre>
    </font></span></blockquote>
    <br>
  </div>

<br><br><span class="HOEnZb"><font color="#888888">
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.<wbr>info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" rel="noreferrer" target="_blank">http://lists.mailscanner.info/<wbr>mailman/listinfo/mailscanner</a><br>
<br>
<br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_8772154960157745453gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div><a href="tel:(765)%20932-3901" value="+17659323901" target="_blank">765-932-3901 x1171</a></div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Shawn Iverson, CETL<div>Director of Technology</div><div>Rush County Schools</div><div>765-932-3901 x1171</div><div><a href="mailto:iversons@rushville.k12.in.us" target="_blank">iversons@rushville.k12.in.us</a></div><div><br></div><div><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_cy1OZFNIZ0drYVU&revid=0Bw5iD0ToYvs_UitIcHVIWkJVVTl2VGpxVUE0d0FQcHBIRXk4PQ" width="96" height="96" style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&id=0Bw5iD0ToYvs_Zkh4eEs3R01yWXc&revid=0Bw5iD0ToYvs_QWpBK2Y2ajJtYjhOMDRFekZwK2xOamk5Q3Y0PQ"><br></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>