<div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 19, 2013 at 11:33 AM, Ian Clark <span dir="ltr">&lt;<a href="mailto:mrrooster@gmail.com" target="_blank">mrrooster@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 16 March 2013 16:38, UB40D &lt;<a href="mailto:ub40dd@googlemail.com">ub40dd@googlemail.com</a>&gt; wrote: </blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; ...there we go. Still not purged. Looks like I can&#39;t fully clean up the<br><div class="im">

&gt; system unless I also purge mythtv.<br>
&gt; How can I reinstall and revive mysql without disturbing mythtv?<br>
&gt;<br>
</div>dpkg -P --force-depends &lt;packages&gt; should remove a package with dependencies.<br>
<br>
(--force-depends turns dependency errors into warnings)<br></blockquote><div><br></div><div>Aha! Now we&#39;re cooking with gas! At last, this one worked! Thanks a million, Ian. <br></div></div><br># dpkg -l &quot;mysql*&quot;<br>
Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>||/ Name           Version      Architecture Description<br>
+++-==============-============-============-=================================<br>un  mysql-client   &lt;none&gt;                    (no description available)<br>un  mysql-client-4 &lt;none&gt;                    (no description available)<br>
un  mysql-client-5 &lt;none&gt;                    (no description available)<br>un  mysql-client-5 &lt;none&gt;                    (no description available)<br>pi  mysql-client-5 5.5.29-0ubun amd64        MySQL database client binaries<br>
un  mysql-client-c &lt;none&gt;                    (no description available)<br>pi  mysql-client-c 5.5.29-0ubun amd64        MySQL database core client binari<br>pi  mysql-common   5.5.29-0ubun all          MySQL database common files, e.g.<br>
un  mysql-common-4 &lt;none&gt;                    (no description available)<br>un  mysql-server   &lt;none&gt;                    (no description available)<br>un  mysql-server-5 &lt;none&gt;                    (no description available)<br>
un  mysql-server-c &lt;none&gt;                    (no description available)<br># dpkg -P --force-depends mysql-client-5.5 mysql-client-core-5.5 mysql-common<br>dpkg: mysql-client-core-5.5: dependency problems, but removing anyway as you requested:<br>
 mysql-client-5.5 depends on mysql-client-core-5.5.<br><br>(Reading database ... 322130 files and directories currently installed.)<br>Removing mysql-client-core-5.5 ...<br>dpkg: mysql-common: dependency problems, but removing anyway as you requested:<br>
 mysql-client-5.5 depends on mysql-common (&gt;= 5.5.29-0ubuntu0.12.10.1).<br> libmysqlclient18:amd64 depends on mysql-common (&gt;= 5.5.29-0ubuntu0.12.10.1).<br><br>Removing mysql-common ...<br>Purging configuration files for mysql-common ...<br>
dpkg: mysql-client-5.5: dependency problems, but removing anyway as you requested:<br> mythtv-common depends on mysql-client; however:<br>  Package mysql-client is not installed.<br>  Package mysql-client-5.5 which provides mysql-client is to be removed.<br>
<br>Removing mysql-client-5.5 ...<br>Processing triggers for man-db ...<br># dpkg -l &quot;mysql*&quot;<br>Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br>
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>||/ Name           Version      Architecture Description<br>+++-==============-============-============-=================================<br>un  mysql-client   &lt;none&gt;                    (no description available)<br>
un  mysql-common   &lt;none&gt;                    (no description available)<br>un  mysql-server   &lt;none&gt;                    (no description available)<br>un  mysql-server-5 &lt;none&gt;                    (no description available)<br>
# aptitude clean<br># aptitude autoclean<br>Freed 0 B of disk space                  <br># aptitude install mysql-client mysql-common mysql-server<br>The following NEW packages will be installed:<br>  mysql-client mysql-client-5.5{a} mysql-client-core-5.5{a} mysql-common <br>
  mysql-server mysql-server-5.5{a} mysql-server-core-5.5{a} <br>0 packages upgraded, 7 newly installed, 0 to remove and 35 not upgraded.<br>Need to get 25.1 MB of archives. After unpacking 90.5 MB will be used.<br>Do you want to continue? [Y/n/?] <br>
Get: 1 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-common all 5.5.29-0ubuntu0.12.10.1 [13.5 kB]<br>Get: 2 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-client-core-5.5 amd64 5.5.29-0ubuntu0.12.10.1 [1,936 kB]<br>
Get: 3 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-client-5.5 amd64 5.5.29-0ubuntu0.12.10.1 [8,306 kB]<br>Get: 4 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-server-core-5.5 amd64 5.5.29-0ubuntu0.12.10.1 [5,987 kB]<br>
Get: 5 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-server-5.5 amd64 5.5.29-0ubuntu0.12.10.1 [8,839 kB]<br>Get: 6 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-client all 5.5.29-0ubuntu0.12.10.1 [11.5 kB]<br>
Get: 7 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal-updates/main mysql-server all 5.5.29-0ubuntu0.12.10.1 [11.6 kB]<br>Fetched 25.1 MB in 6s (3,647 kB/s)                                              <br>
Preconfiguring packages ...<br>Selecting previously unselected package mysql-common.<br>(Reading database ... 322073 files and directories currently installed.)<br>Unpacking mysql-common (from .../mysql-common_5.5.29-0ubuntu0.12.10.1_all.deb) ...<br>
Selecting previously unselected package mysql-client-core-5.5.<br>Unpacking mysql-client-core-5.5 (from .../mysql-client-core-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...<br>Selecting previously unselected package mysql-client-5.5.<br>
Unpacking mysql-client-5.5 (from .../mysql-client-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...<br>Selecting previously unselected package mysql-server-core-5.5.<br>Unpacking mysql-server-core-5.5 (from .../mysql-server-core-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...<br>
Processing triggers for man-db ...<br>Setting up mysql-common (5.5.29-0ubuntu0.12.10.1) ...<br>Selecting previously unselected package mysql-server-5.5.<br>(Reading database ... 322221 files and directories currently installed.)<br>
Unpacking mysql-server-5.5 (from .../mysql-server-5.5_5.5.29-0ubuntu0.12.10.1_amd64.deb) ...<br>Selecting previously unselected package mysql-client.<br>Unpacking mysql-client (from .../mysql-client_5.5.29-0ubuntu0.12.10.1_all.deb) ...<br>
Selecting previously unselected package mysql-server.<br>Unpacking mysql-server (from .../mysql-server_5.5.29-0ubuntu0.12.10.1_all.deb) ...<br>Processing triggers for ureadahead ...<br>Processing triggers for man-db ...<br>
Setting up mysql-client-core-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>Setting up mysql-client-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>Setting up mysql-server-core-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>
mysql start/running, process 9349<br>Setting up mysql-client (5.5.29-0ubuntu0.12.10.1) ...<br>Processing triggers for ureadahead ...<br>Setting up mysql-server (5.5.29-0ubuntu0.12.10.1) ...<br>                                         <br>
Current status: 0 broken [-2].<br># dpkg -l &quot;mysql*&quot;<br>Desired=Unknown/Install/Remove/Purge/Hold<br>| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend<br>|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)<br>
||/ Name           Version      Architecture Description<br>+++-==============-============-============-=================================<br>ii  mysql-client   5.5.29-0ubun all          MySQL database client (metapackag<br>
un  mysql-client-4 &lt;none&gt;                    (no description available)<br>un  mysql-client-5 &lt;none&gt;                    (no description available)<br>un  mysql-client-5 &lt;none&gt;                    (no description available)<br>
ii  mysql-client-5 5.5.29-0ubun amd64        MySQL database client binaries<br>un  mysql-client-c &lt;none&gt;                    (no description available)<br>ii  mysql-client-c 5.5.29-0ubun amd64        MySQL database core client binari<br>
ii  mysql-common   5.5.29-0ubun all          MySQL database common files, e.g.<br>un  mysql-common-4 &lt;none&gt;                    (no description available)<br>ii  mysql-server   5.5.29-0ubun all          MySQL database server (metapackag<br>
un  mysql-server-4 &lt;none&gt;                    (no description available)<br>un  mysql-server-5 &lt;none&gt;                    (no description available)<br>un  mysql-server-5 &lt;none&gt;                    (no description available)<br>
ii  mysql-server-5 5.5.29-0ubun amd64        MySQL database server binaries an<br>un  mysql-server-c &lt;none&gt;                    (no description available)<br>un  mysql-server-c &lt;none&gt;                    (no description available)<br>
un  mysql-server-c &lt;none&gt;                    (no description available)<br>ii  mysql-server-c 5.5.29-0ubun amd64        MySQL database server binaries<br># dpkg -l &quot;mysql*&quot; | fgrep ii<br>ii  mysql-client                              5.5.29-0ubuntu0.12.10.1                        all          MySQL database client (metapackage depending on the latest version)<br>
ii  mysql-client-5.5                          5.5.29-0ubuntu0.12.10.1                        amd64        MySQL database client binaries<br>ii  mysql-client-core-5.5                     5.5.29-0ubuntu0.12.10.1                        amd64        MySQL database core client binaries<br>
ii  mysql-common                              5.5.29-0ubuntu0.12.10.1                        all          MySQL database common files, e.g. /etc/mysql/my.cnf<br>ii  mysql-server                              5.5.29-0ubuntu0.12.10.1                        all          MySQL database server (metapackage depending on the latest version)<br>
ii  mysql-server-5.5                          5.5.29-0ubuntu0.12.10.1                        amd64        MySQL database server binaries and system database setup<br>ii  mysql-server-core-5.5                     5.5.29-0ubuntu0.12.10.1                        amd64        MySQL database server binaries<br>
# <br># <br><br><br></div><div class="gmail_extra">Now the service is running, at last!<br></div><div class="gmail_extra">All that remains is to put mythconverg back where it was in var. I&#39;ll do that some other time so I don&#39;t have to interrupt halfway through if things don&#39;t go to plan.<br>
<br></div><div class="gmail_extra">But again THANKS A LOT Ian! (And Igor, whose commands I ran after that.)<br></div></div>