[mythtv-users] failure on v31 mythplugins on clean install

Bill Meek keemllib at gmail.com
Sat Mar 7 20:24:43 UTC 2020


On 3/6/20 8:57 AM, James Abernathy wrote:
> 
>> On Mar 6, 2020, at 9:40 AM, Bill Meek <keemllib at gmail.com> wrote:
>>
>> On 3/6/20 5:35 AM, Jim Abernathy wrote:
>>> Since I had a problem upgrading mythweb on my development system again, I tried a fresh build. I wiped the hard drive and reinstalled Ubuntu 18.04.4 and then mythtv.
>>> However, when I got to mythplugins I got this error on mythweb:
>>> Selecting previously unselected package mythweb.
>>> Preparing to unpack .../117-mythweb_2%3a31.0+fixes.202003051106.1460627~ubuntu18.04.1_all.deb ...
>>> /var/lib/dpkg/tmp.ci/preinst: 7: /var/lib/dpkg/tmp.ci/preinst: php: not found
>>
>> ...
>>
>> php again. Last time you reported, php was there because
>> php -r 'echo PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION;'
>> worked. I'll comment more in the the related thread
>> this morning.
>>
>> php -r 'echo PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION;’ didn’t work this time on a clean system with no mythplugins installed.
> 
> I then installed php 7.2 and I could then install mythplugins correctly.
> 
> I can’t say I know why, but this worked.  Hopefully all this will get fixed at some point for a clean install of mythtv and mythplugins on Ubuntu 18.04

Spun up 18.04 today. php7.2 is installed OK. But, there's no entry for php in /etc/alternatives.

php7.2-cli.postinst has code that COULD installing alternatives. Haven't found a solution
yet. I was testing apt install mythweb though, not mythplugins.


-- 
Bill


More information about the mythtv-users mailing list