di@WJ-Laptop:~$ sudo apt-get install mythtv Reading package lists... Done Building dependency tree Reading state information... Done mythtv is already the newest version. The following packages were automatically installed and are no longer required: space-orbit-common pinball-data libsdl-mixer1.2 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up mythtv-database (0.20-0.2ubuntu2) ... Failed to connect to database: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at -e line 5, <> line 1. Failed to create database (incorrect admin username/password?) If you supplied incorrect information, try: dpkg-reconfigure --force mythtv-database dpkg: error processing mythtv-database (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mythtv: mythtv depends on mythtv-database (= 0.20-0.2ubuntu2); however: Package mythtv-database is not configured yet. dpkg: error processing mythtv (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mythtv-database mythtv E: Sub-process /usr/bin/dpkg returned an error code (1)