<div dir="ltr"><div dir="ltr">On Fri, Mar 6, 2020 at 7:41 AM John Hoyt <<a href="mailto:john.hoyt@gmail.com">john.hoyt@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 6, 2020 at 7:31 AM Jim Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>If I do you instructions I get and new error on sudo apt install
mythweb.<br></p>
<p>Selecting previously unselected package mythweb.<br>
Preparing to unpack
.../14-mythweb_2%3a31.0+fixes.202003051106.1460627~ubuntu18.04.1_all.deb
...<br>
/var/lib/dpkg/<a href="http://tmp.ci/preinst" target="_blank">tmp.ci/preinst</a>: 7: /var/lib/dpkg/<a href="http://tmp.ci/preinst" target="_blank">tmp.ci/preinst</a>:
php: not found<br>
dpkg: error processing archive
/tmp/apt-dpkg-install-b4hRYo/14-mythweb_2%3a31.0+fixes.202003051106.1460627~ubuntu18.04.1_all.deb
(--unpack):<br>
new mythweb package pre-installation script subprocess returned
error exit status 127<br>
postrm called with unknown argument `abort-install'<br>
dpkg: error while cleaning up:<br>
new mythweb package post-removal script subprocess returned error
exit status 1<br>
Errors were encountered while processing:<br>
/tmp/apt-dpkg-install-b4hRYo/14-mythweb_2%3a31.0+fixes.202003051106.1460627~ubuntu18.04.1_all.deb<br>
E: Sub-process /usr/bin/dpkg returned an error code (1)<br></p></div></blockquote><div><br></div><div>Interesting, I'm using Ubuntu 19.10 (vs your 18.04) and I did not get the error, only a warning from dpkg on removal of the old package. </div><div><br></div></div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div class="gmail_quote">dpkg: warning: files list file for package 'mythweb' missing; assuming package has no files currently installed<br>(Reading database ... 300814 files and directories currently installed.)<br><div>Removing mythweb (2:31.0+fixes.202003030929.54a568d~ubuntu19.10.1) </div><div><br></div></div></blockquote>That being said, I removed a different version than you ('2:31.0+fixes.202003030929.54a568d" vs "2:31.0+fixes.202003051106.1460627"). Perhaps there's a new bug (or regression) in the latest packaging?<br></div></blockquote><div><br></div><div>Looking deeper into my command install, it looks like you're doing a reinstall somehow. The "Selecting previously unselected package mythweb." line gave me that hint. Here's my output log on the new mythweb install:</div><div><br></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div class="gmail_quote">Reading package lists... Done</div><div class="gmail_quote">Building dependency tree </div><div class="gmail_quote">Reading state information... Done</div><div class="gmail_quote">The following NEW packages will be installed:</div><div class="gmail_quote"> mythweb</div><div class="gmail_quote">0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.</div><div class="gmail_quote">Need to get 0 B/1,043 kB of archives.</div><div class="gmail_quote">After this operation, 4,216 kB of additional disk space will be used.</div><div class="gmail_quote">Preconfiguring packages ...</div><div class="gmail_quote">Selecting previously unselected package mythweb.</div><div class="gmail_quote">(Reading database ... 300815 files and directories currently installed.)</div><div class="gmail_quote">Preparing to unpack .../mythweb_2%3a31.0+fixes.202003051106.1460627~ubuntu19.10.1_all.deb ...</div><div class="gmail_quote">Unpacking mythweb (2:31.0+fixes.202003051106.1460627~ubuntu19.10.1) ...</div><div class="gmail_quote">Setting up mythweb (2:31.0+fixes.202003051106.1460627~ubuntu19.10.1) ...</div><div class="gmail_quote"><br></div><div class="gmail_quote">Configuration file '/etc/default/mythweb'</div><div class="gmail_quote"> ==> File on system created by you or by a script.</div><div class="gmail_quote"> ==> File also in package provided by package maintainer.</div><div class="gmail_quote"> What would you like to do about it ? Your options are:</div><div class="gmail_quote"> Y or I : install the package maintainer's version</div><div class="gmail_quote"> N or O : keep your currently-installed version</div><div class="gmail_quote"> D : show the differences between the versions</div><div class="gmail_quote"> Z : start a shell to examine the situation</div><div class="gmail_quote"> The default action is to keep your current version.</div><div class="gmail_quote"><div>*** mythweb (Y/I/N/O/D/Z) [default=N] ? </div><div><br></div></div></blockquote>I'm not quite sure what to make of this other than to believe that there's a difference in the 18.04 and 19.10 packaging system and there's probably a packaging bug to be fixed in 18.04 that does not exist in 19.10.</div>