<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div id="x_compose-container" itemscope="" itemtype="https://schema.org/EmailMessage" style="direction:ltr">
<span itemprop="creator" itemscope="" itemtype="https://schema.org/Organization"><span itemprop="name"></span></span>
<div>
<div>
<div style="direction:ltr">True</div>
</div>
<div><br>
</div>
<div class="x_acompli_signature">
<div>--</div>
<div>Jerry Benton</div>
<div>www.mailborder.com</div>
<div>- via mobile</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> MailScanner <mailscanner-bounces+jerry.benton=mailborder.com@lists.mailscanner.info> on behalf of Mark Sapiro <mark@msapiro.net><br>
<b>Sent:</b> Saturday, February 17, 2018 1:54:16 PM<br>
<b>To:</b> mailscanner@lists.mailscanner.info<br>
<b>Subject:</b> Re: MailScanner 5.0.7-2</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 02/17/2018 07:12 AM, Jerry Benton wrote:<br>
> Did you run this installer as the root user? On Ubuntu, after you log in:<br>
> <br>
> sudo -i<br>
> <br>
> Then install.<br>
<br>
<br>
That probably isn't the reason as install.sh won't run if not invoked by<br>
root.<br>
<br>
<br>
> *From:*MailScanner<br>
> [<a href="mailto:mailscanner-bounces+jerry.benton=mailborder.com@lists.mailscanner.info">mailto:mailscanner-bounces+jerry.benton=mailborder.com@lists.mailscanner.info</a>]<br>
> *On Behalf Of *Michael Abboud<br>
> *Sent:* Saturday, February 17, 2018 04:21<br>
> *To:* mailscanner@lists.mailscanner.info<br>
> *Subject:* Re: MailScanner 5.0.7-2<br>
> <br>
...<br>
> The *./install --update *command worked up until the last part of the<br>
> 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.deb ...<br>
> cp: cannot stat '/etc/MailScanner/CustomFunctions/*': No such file or<br>
> directory<br>
> dpkg: error processing archive<br>
> /home/sysadmin/MailScanner-5.0.7-2/MailScanner-5.0.7-2-noarch.deb<br>
> (--install):<br>
> subprocess new pre-installation script returned error exit status 1<br>
<br>
<br>
That comes from the pre-installation script. The offending path is in<br>
the following which is trying to make a backup of<br>
/etc/MailScanner/CustomFunctions if it exists.<br>
<br>
if [ -d '/etc/MailScanner/CustomFunctions' ]; then<br>
mkdir -p ${SAVEDIR}/etc/MailScanner/CustomFunctions<br>
cp -f /etc/MailScanner/CustomFunctions/*<br>
${SAVEDIR}/etc/MailScanner/CustomFunctions<br>
rm -rf /etc/MailScanner/CustomFunctions<br>
fi<br>
<br>
I think the reason must be that you have a<br>
/etc/MailScanner/CustomFunctions/ directory so [ -d<br>
'/etc/MailScanner/CustomFunctions' ] is True, but it is empty so there<br>
is no /etc/MailScanner/CustomFunctions/* file.<br>
<br>
If that is the case, just 'rmdir /etc/MailScanner/CustomFunctions' and<br>
you should be OK.<br>
<br>
-- <br>
Mark Sapiro <mark@msapiro.net> 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>
mailscanner@lists.mailscanner.info<br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
</div>
</span></font>
</body>
</html>