Aptitude outputs on an attempt (after the orginal failure) to reinstall mythtv-database : E Internal error, no file name for mythtv-database:amd64.
Based on a ubuntu solution for another file with this type of "no file name" error suggests downloading the deb file and installing that http://ubuntuforums.org/showthread.php?t=2074362 .
I have not tried that as aptitude does seem to have the .deb name as it should be.
The terminal output when trying to install both mythtv-database and mythtv:
Code: Select all
failed to perform requested operation on package. Trying to recover: Setting up mythtv-database (0.27.0+fixes20140403-dmo1) ... Failed to connect to database: Can't connect to MySQL server on '10.0.0.50' (111) at -e line 5, <> line 1. Failed to connect to database: Can't connect to MySQL server on '10.0.0.50' (111) at -e line 5, <> line 1. dpkg: error processing package mythtv-database (--configure): subprocess installed post-installation script returned error exit status 255 dpkg: dependency problems prevent configuration of mythtv: mythtv depends on mythtv-database (>= 0.27.0+fixes20140403-dmo1); however: Package mythtv-database is not configured yet.
I checked all 6(!) of the config.xml files and while one originally did not have it, all now do have the password, although a couple of these files have UDN and USN configuration options set while others do not.
Code: Select all
/var/lib/mythtv/.mythtv/config.xml /etc/mythtv/config.xml /root/.mythtv/config.xml /var/lib/mythtv/.mythtv/config.xml /home/username/.mythtv/config.xml /data/mythtv/config.xml
Another thread http://www.gossamer-threads.com/lists/m ... ers/529396 suggests editing /var/lib/dpkg/info/mythtv-database.postinst directly to include the password.
I do not have much experience with script files but treading lightly:
I changed the line mythtv_password="therealpassword", but did not change the admin_password as I was unsure if that is the root sql password or the mythtv password.
I see line 44 of that file is MYTHSQL=/usr/share/mythtv/mythsql
If the final "mythsql" in that line is a file or a directory I do not have either. A 'sql' directory has been installed there through by past mythtv install scripts. I did change that line to read MYTHSQL=/usr/share/mythtv/sql but that did not fix the connection to the database errors.
Any recommendations on what to do next?