<div dir="ltr">[Whoops, upgrading from googlemail to gmail meant I could no longer post; reverted, reposted.]<br><div><br><div class="gmail_extra"><div>Thanks.<br><br>OK, so here's with all error messages included.<br>
<br>Trying
to re-install apparmor also still gives errors (below: not terribly
informative to my eyes). You can witness my failed attempts at removing
the stuff it complained about before reinstalling.<br>
<br></div>I have added blank lines between the individual commands for
readability and I have run the command you (Bill) suggested, 2nd one
down here.<br><br><br># apt-get remove --purge mysql-server<br>Reading package lists... Done<br>
Building dependency tree <br>Reading state information... Done<br>Package 'mysql-server' is not installed, so not removed<br>0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br>1 not fully installed or removed.<br>
After this operation, 0 B of additional disk space will be used.<br>Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<div class="im"><br>start: Job failed to start<br></div>invoke-rc.d: initscript mysql, action "start" failed.<br>
dpkg: error processing mysql-server-5.5 (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>Errors were encountered while processing:<br> mysql-server-5.5<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br><br># dpkg -l mysql-server mysql-server-5.5<br>Desired=Unknown/Install/<div>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 <none> (no description available)<br>
iF mysql-server-5 5.5.29-0ubun amd64 MySQL database server binaries an<br><br><br># apt-get install apparmor<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>
Suggested packages:<br> apparmor-profiles apparmor-docs apparmor-utils<br>The following NEW packages will be installed:<br> apparmor<br>0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br>1 not fully installed or removed.<br>
Need to get 369 kB of archives.<br>After this operation, 1,120 kB of additional disk space will be used.<br>Get:1 <a href="http://gb.archive.ubuntu.com/ubuntu/" target="_blank">http://gb.archive.ubuntu.com/ubuntu/</a> quantal/main apparmor amd64 2.8.0-0ubuntu5 [369 kB]<br>
Fetched 369 kB in 0s (1,674 kB/s)<br>Preconfiguring packages ...<br>Selecting previously unselected package apparmor.<br>(Reading database ... 322157 files and directories currently installed.)<br>Unpacking apparmor (from .../apparmor_2.8.0-0ubuntu5_amd64.deb) ...<br>
Processing triggers for man-db ...<br>Processing triggers for ureadahead ...<br>Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<div class="im"><br>start: Job failed to start<br></div>invoke-rc.d: initscript mysql, action "start" failed.<br>
dpkg: error processing mysql-server-5.5 (--configure):<br> subprocess installed post-installation script returned error exit status 1<br>Setting up apparmor (2.8.0-0ubuntu5) ...<br>No apport report written because MaxReports is reached already<br>
* Starting AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox<br>
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd<br> [ OK ]<br> * Reloading AppArmor profiles Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox<br>
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd<br> [ OK ]<br>Errors were encountered while processing:<br> mysql-server-5.5<br>E: Sub-process /usr/bin/dpkg returned an error code (1)<br>
<br><br># apt-get install mysql-server mysql-server-5.5 apparmor<br>Reading package lists... Done<br>Building dependency tree <br>Reading state information... Done<br>apparmor is already the newest version.<br>mysql-server-5.5 is already the newest version.<br>
The following NEW packages will be installed:<br> mysql-server<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/11.6 kB of archives.<br>After this operation, 116 kB of additional disk space will be used.<br>
Do you want to continue [Y/n]? <br>Selecting previously unselected package mysql-server.<br>(Reading database ... 322175 files and directories currently installed.)<br>Unpacking mysql-server (from .../mysql-server_5.5.29-0ubuntu0.12.10.1_all.deb) ...<br>
Setting up mysql-server-5.5 (5.5.29-0ubuntu0.12.10.1) ...<div class="im"><br>start: Job failed to start<br></div>invoke-rc.d: initscript mysql, action "start" 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>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)</div></div></div></div>