<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">Thanks Igor.<br><br>On Sun, Mar 10, 2013 at 12:01 AM, Igor Cicimov <span dir="ltr">&lt;<a href="mailto:icicimov@gmail.com" target="_blank">icicimov@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"><p dir="ltr">Run<br>
# dpkg -P mysql-server-5.5<br>
to completely remove the package. When told some package depends on it then include that one too in the above command. Then install all of them again.<br></p></blockquote><div><br>*************************<br></div><div>
Did that. The &quot;completely remove&quot; part worked without complaints; the &quot;install all of them again&quot; failed. See below.<br>*************************<br><br><br># dpkg -P mysql-server-5.5<br>(Reading database ... 322177 files and directories currently installed.)<br>
Removing mysql-server-5.5 ...<br>Purging configuration files for mysql-server-5.5 ...<br>Processing triggers for man-db ...<br>Processing triggers for ureadahead ...<br><br><br># dpkg -l mysql-server mysql-server-5.5 apparmor<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  apparmor       2.8.0-0ubunt amd64        User-space parser utility for App<br>iU  mysql-server   5.5.29-0ubun all          MySQL database server (metapackag<br>
un  mysql-server-5 &lt;none&gt;                    (no description available)<br><br># apt-get install mysql-server mysql-server-5.5<br>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>
mysql-server is already the newest version.<br>Suggested packages:<br>  tinyca mailx<br>The following NEW packages will be installed:<br>  mysql-server-5.5<br>0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br>
1 not fully installed or removed.<br>Need to get 0 B/8,839 kB of archives.<br>After this operation, 32.7 MB of additional disk space will be used.<br>Do you want to continue [Y/n]? <br>Preconfiguring packages ...<br>Selecting previously unselected package mysql-server-5.5.<br>
(Reading database ... 322093 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>Processing triggers for ureadahead ...<br>Processing triggers for man-db ...<br>
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>start: Job failed to start<br>invoke-rc.d: initscript mysql, action &quot;start&quot; failed.<br>dpkg: error processing mysql-server-5.5 (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>
dpkg: dependency problems prevent configuration of mysql-server:<br> mysql-server depends on mysql-server-5.5; however:<br>  Package mysql-server-5.5 is not configured yet.<br><br>dpkg: error processing mysql-server (--configure):<br>
 dependency problems - leaving unconfigured<br>Processing triggers for ureadahead ...<br>No apport report written because the error message indicates its a followup error from a previous failure.<br>                          Errors were encountered while processing:<br>
 mysql-server-5.5<br> mysql-server<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br><br>********************<br><div>So next I tried your second suggestion of reinstalling with 
aptitude (which itself wasn&#39;t there, ok, big deal). Even the process of 
installing aptitude complained about mysql-server and mysql-server-5.5, which I found weird! And then the reinstallation concluded with a mysterious Internal Error, No file name for mysql-server-5.5:amd64</div>********************<br>
</div><br><div><br># aptitude reinstall mysql-server-5.5<br>The program &#39;aptitude&#39; is currently not installed. You can install it by typing:<br>apt-get install aptitude<br><br># apt-get install aptitude<br>Reading package lists... Done<br>
Building dependency tree       <br>Reading state information... Done<br>The following extra packages will be installed:<br>  aptitude-common libcwidget3<br>Suggested packages:<br>  aptitude-doc-en aptitude-doc tasksel debtags libcwidget-dev<br>
The following NEW packages will be installed:<br>  aptitude aptitude-common libcwidget3<br>0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.<br>2 not fully installed or removed.<br>Need to get 2,459 kB of archives.<br>
After this operation, 10.2 MB of additional disk space 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/main aptitude-common all 0.6.8.1-2ubuntu1 [669 kB]<br>
Get:2 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal/main libcwidget3 amd64 0.5.16-3.4ubuntu1 [387 kB]<br>Get:3 <a href="http://gb.archive.ubuntu.com/ubuntu/">http://gb.archive.ubuntu.com/ubuntu/</a> quantal/main aptitude amd64 0.6.8.1-2ubuntu1 [1,404 kB]<br>
Fetched 2,459 kB in 0s (3,285 kB/s) <br>Selecting previously unselected package aptitude-common.<br>(Reading database ... 322178 files and directories currently installed.)<br>Unpacking aptitude-common (from .../aptitude-common_0.6.8.1-2ubuntu1_all.deb) ...<br>
Selecting previously unselected package libcwidget3.<br>Unpacking libcwidget3 (from .../libcwidget3_0.5.16-3.4ubuntu1_amd64.deb) ...<br>Selecting previously unselected package aptitude.<br>Unpacking aptitude (from .../aptitude_0.6.8.1-2ubuntu1_amd64.deb) ...<br>
Processing triggers for man-db ...<br>Processing triggers for menu ...<br>Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<br>start: Job failed to start<br>invoke-rc.d: initscript mysql, action &quot;start&quot; failed.<br>
dpkg: error processing mysql-server-5.5 (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>No apport report written because MaxReports is reached already<br>                                                              dpkg: dependency problems prevent configuration of mysql-server:<br>
 mysql-server depends on mysql-server-5.5; however:<br>  Package mysql-server-5.5 is not configured yet.<br><br>dpkg: error processing mysql-server (--configure):<br> dependency problems - leaving unconfigured<br>Setting up aptitude-common (0.6.8.1-2ubuntu1) ...<br>
No apport report written because MaxReports is reached already<br>                                                              Setting up libcwidget3 (0.5.16-3.4ubuntu1) ...<br>Setting up aptitude (0.6.8.1-2ubuntu1) ...<br>
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode<br>Processing triggers for libc-bin ...<br>ldconfig deferred processing now taking place<br>Processing triggers for menu ...<br>
Errors were encountered while processing:<br> mysql-server-5.5<br> mysql-server<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br><br># aptitude reinstall mysql-server-5.5<br>The following packages will be REINSTALLED:<br>
  mysql-server-5.5 <br>The following partially installed packages will be configured:<br>  mysql-server <br>0 packages upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.<br>Need to get 0 B of archives. After unpacking 0 B will be used.<br>
E: Internal Error, No file name for mysql-server-5.5:amd64<br>                                         <br></div></div><br><br>**************************<br></div><div class="gmail_extra">Then, combining both of your alternatives, I went back to removing, with the first method, both mysql-server and mysql-server.5.5. Seemed to work. Then I checked. And it strangely denied knowledge of mysql-server-5.5 (?!?!). An apt-get update didn&#39;t help either.<br>
**************************<br><br># dpkg -P mysql-server-5.5 mysql-server<br>(Reading database ... 322308 files and directories currently installed.)<br>Removing mysql-server-5.5 ...<br>Purging configuration files for mysql-server-5.5 ...<br>
Removing mysql-server ...<br>Processing triggers for man-db ...<br>Processing triggers for ureadahead ...<br><br># dpkg -l mysql-server mysql-server-5.5 <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-server   &lt;none&gt;                    (no description available)<br>
dpkg-query: no packages found matching mysql-server-5.5<br><br># apt-get update<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal InRelease<br>Ign <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security InRelease<br>
Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates InRelease<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports InRelease<br>Get:1 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security Release.gpg [933 B]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal Release.gpg       <br>Get:2 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security Release [49.6 kB]<br>Get:3 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates Release.gpg [933 B]<br>
Get:4 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports Release.gpg [933 B]<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal Release                    <br>
Get:5 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates Release [49.6 kB]           <br>Get:6 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/main Sources [34.8 kB]<br>
Get:7 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports Release [49.6 kB]         <br>Get:8 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/restricted Sources [14 B]    <br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/main Sources                 <br>Get:9 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/universe Sources [15.4 kB]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/restricted Sources<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/universe Sources             <br>
Get:10 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/multiverse Sources [700 B]<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/multiverse Sources            <br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/main amd64 Packages<br>Get:11 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/main amd64 Packages [93.1 kB]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/restricted amd64 Packages<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/universe amd64 Packages<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/multiverse amd64 Packages<br>Get:12 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/restricted amd64 Packages [14 B]<br>
Get:13 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/universe amd64 Packages [41.9 kB]<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/main i386 Packages             <br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/restricted i386 Packages       <br>Get:14 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/multiverse amd64 Packages [1,155 B]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/universe i386 Packages         <br>Get:15 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/main i386 Packages [92.6 kB]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/multiverse i386 Packages<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/main Translation-en_GB<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/main Translation-en            <br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/multiverse Translation-en_GB   <br>
Get:16 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/restricted i386 Packages [14 B]<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/multiverse Translation-en             <br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/restricted Translation-en_GB<br>Get:17 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/universe i386 Packages [42.5 kB]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/restricted Translation-en      <br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/universe Translation-en_GB     <br>
Get:18 <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/multiverse i386 Packages [1,397 B]<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal/universe Translation-en        <br>
Get:19 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/main Sources [82.0 kB]<br>Get:20 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/restricted Sources [1,302 B]<br>
Get:21 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/universe Sources [79.7 kB] <br>Hit <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/main Translation-en<br>
Get:22 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/multiverse Sources [2,932 B]<br>Hit <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/multiverse Translation-en      <br>
Hit <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/restricted Translation-en<br>Get:23 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/main amd64 Packages [213 kB]<br>
Hit <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/universe Translation-en<br>Get:24 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/restricted amd64 Packages [3,048 B]<br>
Get:25 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/universe amd64 Packages [170 kB]<br>Get:26 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/multiverse amd64 Packages [7,938 B]<br>
Get:27 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/main i386 Packages [211 kB]<br>Get:28 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/restricted i386 Packages [3,067 B]<br>
Get:29 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/universe i386 Packages [171 kB]<br>Get:30 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/multiverse i386 Packages [8,109 B]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/main Translation-en           <br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/multiverse Translation-en<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/restricted Translation-en<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/universe Translation-en<br>
Ign <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/main Translation-en_GB<br>Ign <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/multiverse Translation-en_GB<br>
Ign <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/restricted Translation-en_GB<br>Ign <a href="http://security.ubuntu.com">http://security.ubuntu.com</a> quantal-security/universe Translation-en_GB<br>
Get:31 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/main Sources [14 B]<br>Get:32 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/restricted Sources [14 B]<br>
Get:33 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/universe Sources [7,750 B]<br>Get:34 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/multiverse Sources [781 B]<br>
Get:35 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/main amd64 Packages [14 B]<br>Get:36 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/restricted amd64 Packages [14 B]<br>
Get:37 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/universe amd64 Packages [11.6 kB]<br>Get:38 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/multiverse amd64 Packages [1,118 B]<br>
Get:39 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/main i386 Packages [14 B]<br>Get:40 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/restricted i386 Packages [14 B]<br>
Get:41 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/universe i386 Packages [12.4 kB]<br>Get:42 <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/multiverse i386 Packages [1,118 B]<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/main Translation-en<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/multiverse Translation-en<br>
Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/restricted Translation-en<br>Hit <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/universe Translation-en<br>
Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/main Translation-en_GB<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/multiverse Translation-en_GB<br>
Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/restricted Translation-en_GB<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-updates/universe Translation-en_GB<br>
Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/main Translation-en_GB<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/multiverse Translation-en_GB<br>
Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/restricted Translation-en_GB<br>Ign <a href="http://gb.archive.ubuntu.com">http://gb.archive.ubuntu.com</a> quantal-backports/universe Translation-en_GB<br>
Fetched 1,464 kB in 1s (753 kB/s)<br>Reading package lists... Done<br><br># dpkg -l mysql-server mysql-server-5.5 <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-server   &lt;none&gt;                    (no description available)<br>
dpkg-query: no packages found matching mysql-server-5.5<br><br><br>***************************<br></div><div class="gmail_extra">What&#39;s wrong here? Surely mysql-server-5.5 exists for amd64, since it was working until last week on this system... Anything else I can try?<br>
***************************<br></div></div>