Page 1 of 1

[Solved] Trouble installing V30

Posted: Thu Mar 14, 2019 3:36 am
by 204015953JEZ
I am having trouble getting Mythtv up an running on Linux Ubuntu 18.04. I had V0.29 installed and I was configuring the application. Things were working, and then my Linux distro asked if I wanted to install an update - and it wiped out V0.29.

Now I am trying to install Mythtv V30 and It is saying that I do not have dependencies installed.

My System
Dell Inspiron AMD
Ubuntu 18.04.2 LTS

PPA: /mythbuntu/30/ubuntu bionic

Error Code - when trying sudo apt-get install mythtv

The following packages have unmet dependencies:
mythtv : Depends: mythtv-database but it is not going to be installed
Depends: mythtv-frontend but it is not going to be installed
Depends: mythtv-backend but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Any suggestions?
Regards

Re: Trouble installing V30

Posted: Thu Mar 14, 2019 2:56 pm
by wesnewell
http://www.iasptk.com/ubuntu-fix-broken ... -solution/
synaptic also has a selection to fix broken packages under the Edit menu.

Re: Trouble installing V30

Posted: Thu Mar 14, 2019 3:59 pm
by paulh
Sometimes doing a

Code: Select all

sudo apt-get dist-upgrade
beforehand is enough to clean things up and allow the install to go cleanly

Re: Trouble installing V30

Posted: Fri Mar 15, 2019 3:03 am
by 204015953JEZ
Thank you for the suggestions. I tried both, but I still ran into the same problem when trying "sudo apt-get install mythtv".

So I tried to install the dependancies it was saying were missing. I installed the following:
sudo apt-get install mythtv-common
sudo apt-get install mythtv-backend
sudo apt-get install mythtv-frontend
sudo apt-get install mythtv-database

Good News is that the GUI setup screens are available.

Bad News - the Database would not create when I ran "sudo dpkg-reconfigure mythtv-database"

Failed to connect to database (incorrect admin password)
ERROR 2003 (HY000): Can't connect to MySQL server on 'Localhost' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on 'Localhost' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on 'Localhost' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on 'Localhost' (111)
ERROR 2003 (HY000): Can't connect to MySQL server on 'Localhost' (111)
Failed to create or modify database (incorrect admin username/password?)
Try:
sudo dpkg-reconfigure mythtv-database


I am not sure how to change the admin username/password -- an suggestions?

thank you in advance for your help.

Re: Trouble installing V30

Posted: Fri Mar 15, 2019 10:46 pm
by bill6502
Never had the issue, but this may work:

sudo dpkg-reconfigure mysql-server-5.1 (or whatever your version and/or DB is.)

I believe the username/password in play here is in: sudo cat /etc/mysql/debian.cnf,
and that file has a warning to never touch the data in it.

Re: Trouble installing V30 (SOLVED)

Posted: Mon Mar 25, 2019 1:58 am
by 204015953JEZ
I solved issue by removing mysql and reinstalling mysql version 7.5 (not the newest one). I was then able to install mythbackend and configure the system.

Thanks to those who provided some advice.