[Bug 613195] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Hi Thierry, First, thanks for any help on this sticky problem you can give. Here's what I've done along with notes: I gave the command: sudo apt-get install --reinstall mysql-server-5.1 which results in: Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: tinyca mailx Recommended packages: libhtml-template-perl The following packages will be upgraded: mysql-server-5.1 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/7,008kB of archives. After this operation, 0B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 193134 files and directories currently installed.) Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.3 (using .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ... This refuses to time out, hangs completely and won't exit with ctrl+c, so a force quit is needed. I then opened another shell and tried: mad...@madmod-laptop:~$ sudo dpkg --configure -a dpkg: status database area is locked by another process So then I restarted the computer and opened a shell and tried: mad...@madmod-laptop:~$ sudo dpkg --configure -a This resulted in: dpkg: error processing mysql-server-5.1 (--configure): Package is in a very bad inconsistent state - you should reinstall it before attempting configuration. Errors were encountered while processing: mysql-server-5.1 But at least update-manager is back to working. -- package mysql-server-5.1 5.1.41-3ubuntu12.3 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/613195 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 613195] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Probably not. I've tried installing and removing but with the same stall point. sudo apt-get remove --purge mysql-server-5.1 was unsuccessful also. That command results in: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? I don't know where to go from here. -- package mysql-server-5.1 5.1.41-3ubuntu12.3 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/613195 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 613195] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
I paid a visit to Mark Rijckenberg's page https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure and went through the procedure step-by-step. The line: LANG=C;sudo apt-get --purge autoremove was unsuccessful with E: The package mysql-server-5.1 needs to be reinstalled, but I cant' find the archive for it. However, I continued on with the procedure until the next problem at sudo dpkg --configure -a where it complained about the bad state of mysql-server-5.1 and recommended reinstall. LANG=C;sudo apt-get -f install hangs completely. I then restarted the computer and gave it sudo dpkg --configure -a so that I could at least use update-manager for other packages. So now I'm back where I was with mysql-server-5.1 messed up. Luckly, I don't need my database 'MadMod09' to keep my business running and will have to do without it until I can get a real fix working. The rest of the computer with Ubuntu 10.04 LTS is working fine. Interestingly enough, mysql-server-5.1 took the update properly on my server, but I'm not using 'MadMod09' on my server as it's only used as a fileserver for our network. So the update from the repository is okay. -- package mysql-server-5.1 5.1.41-3ubuntu12.3 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/613195 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 613195] [NEW] package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
Public bug reported: dpkg: error processing mysql-server-5.1; however: Package mysql-server-5.1 is not configured yet. dpkg: error processing mysql-server (--configure): dependency problems - leaving unconfigured Processing triggers for libc-bin ... ldconfig deferred processing now taking place Errors were encountered while processing: mysql-server-5.1 mysql-server Preconfiguring packages ... Preconfiguring packages ... none (Reading database ... 193150 files and directories currently installed.) Preparing to replace mysql-server-5.1 5.1.41.3ubuntu12.3 (using .../mysql-server-5.1_5.1.41-3ubuntu12.6_i386.deb) ... (This was part of an update using Package Manager which completely stops at this point. I noticed a space in the last line in the mysql-server-5.1(here)5.1.41.3ubuntu12.3 though perhaps that's not an issue.) My system: Description:Ubuntu 10.04.1 LTS Release:10.04 ProblemType: Package DistroRelease: Ubuntu 10.04 Package: mysql-server-5.1 5.1.41-3ubuntu12.3 ProcVersionSignature: Ubuntu 2.6.32-24.38-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-24-generic i686 AptOrdering: mysql-server: Remove mysql-server-5.1: Remove Architecture: i386 Date: Tue Aug 3 16:41:06 2010 ErrorMessage: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. InstallationMedia: Ubuntu 10.04 LTS Lucid Lynx - Release i386 (20100429) Logs.var.log.daemon.log: MySQLConf.etc.mysql.conf.d.mysqld.safe.syslog.cnf: [mysqld_safe] syslog MySQLVarLibDirListing: ['MadMod09', 'mysql_upgrade_info', 'ibdata1', 'phpmyadmin', 'debian-5.1.flag', 'mysql', 'ib_logfile1', 'ib_logfile0'] SourcePackage: mysql-dfsg-5.1 Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal. ** Affects: mysql-dfsg-5.1 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 lucid -- package mysql-server-5.1 5.1.41-3ubuntu12.3 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/613195 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 613195] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: Package is in a very bad inconsistent state - you should reinstall it before attempting a removal.
** Attachment added: .etc.apparmor.d.usr.sbin.mysqld.txt http://launchpadlibrarian.net/53012552/.etc.apparmor.d.usr.sbin.mysqld.txt ** Attachment added: Dependencies.txt http://launchpadlibrarian.net/53012553/Dependencies.txt ** Attachment added: Df.txt http://launchpadlibrarian.net/53012554/Df.txt ** Attachment added: Dmesg.txt http://launchpadlibrarian.net/53012555/Dmesg.txt ** Attachment added: DpkgTerminalLog.txt http://launchpadlibrarian.net/53012556/DpkgTerminalLog.txt ** Attachment added: Logs.var.log.kern.log.txt http://launchpadlibrarian.net/53012557/Logs.var.log.kern.log.txt ** Attachment added: MySQLConf.etc.mysql.my.cnf.txt http://launchpadlibrarian.net/53012558/MySQLConf.etc.mysql.my.cnf.txt -- package mysql-server-5.1 5.1.41-3ubuntu12.3 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/613195 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs