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.net>wrote:

> 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 should
>  reinstall it before attempting a removal.
> ErrorMessage: Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
> InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
> LiveMediaBuild: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
> Logs.var.log.daemon.log:
>
> Logs.var.log.kern.log: Oct 12 11:16:26 dannyx-laptop kernel: [ 1634.196183]
> type=1505 audit(1286907386.820:14):  operation="profile_load" pid=1043
> name="/usr/sbin/mysqld"
> MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> MySQLVarLibDirListing: ['ib_logfile0', 'debian-5.1.flag', 'ib_logfile1',
> 'mysql', 'ibdata1']
> SourcePackage: mysql-dfsg-5.1
> Title: 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.
> modified.conffile..etc.logcheck.ignore.d.paranoid.mysql.server.5.1:
>
> modified.conffile..etc.logcheck.ignore.d.server.mysql.server.5.1:
>
> modified.conffile..etc.logcheck.ignore.d.workstation.mysql.server.5.1:
>
> modified.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf:
>
> modified.conffile..etc.mysql.debian.start:
>
> mtime.conffile..etc.logcheck.ignore.d.paranoid.mysql.server.5.1:
> 2009-10-07T08:44:31
> mtime.conffile..etc.logcheck.ignore.d.server.mysql.server.5.1:
> 2009-10-07T08:44:31
> mtime.conffile..etc.logcheck.ignore.d.workstation.mysql.server.5.1:
> 2009-10-07T08:44:31
> mtime.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf:
> 2009-10-07T08:43:38
> mtime.conffile..etc.mysql.debian.start: 2009-10-07T08:44:09
>
> To unsubscribe from this bug, go to:
>
> https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/659400/+subscribe
>


-- 
< dannyX >

-- 
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 member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to