Sorry, it didn't work... here's the terminal result:
dan...@dannyx-laptop:~$ sudo apt-get install --reinstall mysql-server
[sudo] password for dannyx:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server-5.1 : Depends: mysql-server-core-5.1 (= 5.1.49-1ubuntu8) but
5.1.41-3ubuntu12.1 is to be installed
mysql-server-core-5.1 : Conflicts: mysql-server-5.0
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
a solution).
dan...@dannyx-laptop:~$ sudo dpkg --configure -a
dan...@dannyx-laptop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
python-alsaaudio libfreebob0 libsm-dev libgtkhtml3.8-15 kdelibs4c2a
libgsf-gnome-1-114 librpmbuild0 libice-dev libqt4-assistant
libgoffice-0-common libtaskmanager4a x11proto-xext-dev libatk1.0-dev
python-beaker x11proto-kb-dev wine-gecko libjasper-dev libxcb-shm0-dev
libcvaux1 x11proto-xinerama-dev libpango1.0-dev libgtksourceview1.0-0
x11proto-render-dev lsb-graphics kdelibs-data lsb-desktop libxerces-c28
python-numeric libxi-dev libgps19 python-sqlalchemy librpmio0 klipper
librpm0 libxrender-dev libknotificationitem1 liblualib50
python-sqlalchemy-ext libxalan110 libcairo2-dev libcvaux-dev libass3
ksysguard kde-icons-oxygen libexiv2-5 libxdmcp-dev libsysfs-dev
libdirectfb-extra libawn0 python-gtksourceview libprocesscore4a libdvbpsi5
liblzma0 libfontconfig1-dev libmysqlclient15off libdirectfb-dev
x11proto-composite-dev xtrans-dev libprocessui4a libx264-67
x11proto-core-dev libxcursor-dev libqt4-webkit libawn-extras0 libqt4-gui
libcelt0 cvs libavahi-qt3-1 libqtassistantclient4 x11proto-randr-dev
python-sip4 x11proto-damage-dev gtk2-ex-formfactory-perl
libxcb-render-util0-dev systemsettings libgtk2.0-dev libavformat-dev kdm
libxext-dev libgtksourceview-common libjline-java lsb libxdamage-dev
libao2
libsolidcontrol4a x11proto-input-dev libffado1 python-pysqlite2
libfreetype6-dev libhighgui-dev x11proto-fixes-dev libcv1
libpthread-stubs0-dev libgoffice-0-4 anyevent-perl libxau-dev
libwebkit1.0-cil libpoppler-qt4-3 libiso9660-5 libpthread-stubs0
kinfocenter
libxcomposite-dev libming0 libhighgui1 libavcodec-dev libxml++2.6-2
libxrandr-dev libexpat1-dev rhino khelpcenter4 libcairo-gobject2 libdb4.6
libmodplug0c2 libpixman-1-dev libxft-dev libx11-dev libkunitconversion4
libxcb-render0-dev liblua50 libxfixes-dev python-nautilusburn sqlite3
libsox1a libxcb1-dev libnautilus-burn4 libxinerama-dev
libgdk-pixbuf2.0-dev
libebml0 libmpcdec3 libmatroska0 libnetcdf4 lsb-cxx libfaad0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
mysql-server-5.1 mysql-server-core-5.1
Suggested packages:
tinyca
The following packages will be upgraded:
mysql-server-5.1 mysql-server-core-5.1
2 upgraded, 0 newly installed, 0 to remove and 77 not upgraded.
1 not fully installed or removed.
Need to get 0B/11.6MB of archives.
After this operation, 135kB disk space will be freed.
Do you want to continue [Y/n]? Y
Preconfiguring packages ...
dpkg: error processing mysql-server-5.1 (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
mysql-server-5.1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Thank you,
Daniel
On Thu, Oct 14, 2010 at 7:12 AM, James Page
659...@bugs.launchpad.netwrote:
Please could you try forcing a re-install of the mysql-dfsg-5.1 package
using the following commands:
sudo apt-get install --reinstall mysql-server
sudo dpkg --configure -a
sudo apt-get -f install
This should resolve the first installation failure and put the
installation back into a consistent state.
** Changed in: mysql-dfsg-5.1 (Ubuntu)
Status: New = Incomplete
--
package mysql-server-5.1 5.1.41-3ubuntu12 failed to install/upgrade:
Package is in a very bad inconsistent state - you should reinstall it
before attempting a removal.
https://bugs.launchpad.net/bugs/659400
You received this bug notification because you are a direct subscriber
of the bug.
Status in “mysql-dfsg-5.1” package in Ubuntu: Incomplete
Bug description:
.
ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: mysql-server-5.1 5.1.41-3ubuntu12
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
NonfreeKernelModules: fglrx
AptOrdering:
mysql-server-5.1: Remove
mysql-client-5.1: Remove
Architecture: i386
Date: Tue Oct 12 11:32:42 2010
DpkgTerminalLog:
Log started: 2010-10-12 11:32:42
dpkg: error processing mysql-server-5.1 (--remove):
Package is in a very bad inconsistent state - you