Opened 5 years ago

Closed 4 years ago

#12918 closed Bug Report - General (Invalid)

!!NoTrans: You are missing a php extension for mysql interaction. Please install php-mysqli or similar!!

Reported by: dvjunk@… Owned by:
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.28.0
Severity: medium Keywords: php, mysql
Cc: Ticket locked: no


A few days ago I upgraded through the Software Updater app to the "new" 16.04 release of Ubuntu. It took several hours and I had to interact with the install several times. I didn't notice any erors during the install, but I have several issues now. The frontend and backend are running, although the backend didn't record a few shows the first day or two, it is recording now. When I try to access the backend remotely through the mythweb interface I get a page which shows the error: error string: !NoTrans: You are missing a php extension for mysql interaction. Please install php-mysqli or similar!! filename: /usr/share/mythtv/mythweb/includes/php_version_check.php If I run: sudo apt-get install php-mysqli or sudo apt-get install php-mysql I get: dpkg: unrecoverable fatal error, aborting: files list file for package 'sgml-data' is missing final newline E: Sub-process /usr/bin/dpkg returned an error code (2)

I have tried: sudo apt autoremove sudo apt-get update followed by sudo apt-get upgrade which returns the same error

sudo apt-get install --purge sgml-data which returns the same error

and maybe a few others.

I was also getting a warning mentioning 50unattended-upgrades.ucf-old so I moved it to a different folder from /etc/apt/apt.conf.d and I don't get that warning anymore. 50unattended-upgrades was one of the interactions with the install process and I chose to use the developer (I think) version during the install.

I also tried re-running Software Updater and it lists 8 updates but I get an error when I try to install. The updates do include PHP bindings and Python for Mythtv.

As you can probably tell I am not an Ubuntu/Myth? expert, so I hope I have provided enough info for someone to help me resolve this.

I love using my MythTV box, but times like this are frustrating.

Thanks, Don

Attachments (1)

php_mysql_error.txt (3.0 KB) - added by dvjunk@… 5 years ago.
Mythweb error

Download all attachments as: .zip

Change History (3)

Changed 5 years ago by dvjunk@…

Attachment: php_mysql_error.txt added

Mythweb error

comment:1 Changed 5 years ago by Peter Bennett

This looks like you are having Ubuntu package management issues. It does not look like a MythTV bug. You would do better to ask for assistance in the mailing list or forum for MythTV, or an Ubuntu forum.

comment:2 Changed 4 years ago by paulh

Resolution: Invalid
Status: newclosed
Note: See TracTickets for help on using tickets.