[mythtv-users] Mythtv v31 update failure
Bill Meek
keemllib at gmail.com
Fri Mar 6 16:27:57 UTC 2020
On 3/6/20 7:59 AM, Tim Pletcher wrote:
> On Fri, Mar 6, 2020 at 5:30 AM James Abernathy <jfabernathy at gmail.com <mailto:jfabernathy at gmail.com>> wrote:
>
> just ran an update this morning on v31 and I got a failure on mythweb again after I got it fixed the other day. the reset of mythtv updated
> to 2:31.0+fixes.202003051106.1460627~ubuntu18.04.1
> console log:
> Removing mythweb (2:31.0+fixes.202003030929.54a568d~ubuntu18.04.1) ...
> /var/lib/dpkg/info/mythweb.postrm: 34: /var/lib/dpkg/info/mythweb.postrm: Syntax error: newline unexpected (expecting ")")
> dpkg: error processing package mythweb (--remove):
> installed mythweb package post-removal script subprocess returned error exit status 2
> Errors were encountered while processing:
> mythweb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I received the same error today on my 18.04 installation with 31/fixes.
>
> There is still an errant ;; in line 31 of the file /var/lib/dpkg/info/mythweb.postrm. I edited this file to comment out the offending line.
> After doing so, 'apt get upgrade' will upgrade mythweb without issue.
I'm off to a meeting, will look at this later.
Just checked and the fix to remove the ;; is still in place in MythTV's packaging tree.
That's for master and v31. I can't explain why it doesn't appear for everyone.
As to the 'php: not found' error, the php-mythtv package is required in the control
file. Need to know if php (not php5) is included in that (it appears not, or it's
getting installed after I try to use it.)
The intent of the php test is to install 'max_input_vars = 10000', which wasn't being
put in the right place. php -r 'echo PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION;’
--
Bill
More information about the mythtv-users
mailing list