[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Incomplete => Confirmed ** Summary changed: - package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. + package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: upgrade hanged. mysql refuses to stop in pre-removal script. -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: upgrade hanged. mysql refuses to stop in pre-removal script. https://bugs.launchpad.net/bugs/589297 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
[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
I was able to complete installation eventually. Reboot was required. Package removals, re-installations, killall -9 stop, total removal of /var/lib/mysql. Sorry for the lack of detailed notes. Problems seemed to happen more when re-installing when /var/lib/mysql was already present. -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. https://bugs.launchpad.net/bugs/589297 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
[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
Thanks Jean-Baptiste, but I have same problem as Ben. When I try: $ sudo apt-get install --reinstall mysql-server-5.1 It's always stop without return just after: Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.1_amd64.deb) ... It's seems that the problem appears during the pre-removal process, I manually did a: $ sudo /etc/init.d/mysql stop // and not a: $ sudo stop mysql And I after I did: $ sudo dpkg --purge --force-all mysql-server-5.1 And now It's OK -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. https://bugs.launchpad.net/bugs/589297 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
[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
Same hang here. Installation is hung. $ uname -a Linux bubbles 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:28:05 UTC 2010 x86_64 GNU/Linux $ sudo apt-get install --reinstall mysql-server-5.1 [sudo] password for stoltz: Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0B/7,103kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 165988 files and directories currently installed.) Preparing to replace mysql-server-5.1 5.1.41-3ubuntu12.1 (using .../mysql-server-5.1_5.1.41-3ubuntu12.1_amd64.deb) ... ^Z $ jobs -l [1]+ 16265 Stopped sudo apt-get install --reinstall mysql-server-5.1 $ bg $ pstree -p 16265 -l apt-get(16265)───dpkg(16294)───frontend(16303)───mysql-server-5.(16311)───stop(16312) -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. https://bugs.launchpad.net/bugs/589297 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
[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
Thanks for your report. This error occurs when a previous installation of the package has been interrupted. As suggested in the error message try reinstalling the package before removing it. Open a terminal and run: $ sudo apt-get install --reinstall mysql-server-5.1 Then try to remove it again. If it fixes your issue, set the status of this report to 'invalid' Thanks in advance. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New => Incomplete -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. https://bugs.launchpad.net/bugs/589297 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
[Bug 589297] Re: package mysql-server-5.1 5.1 .41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer.
** Attachment added: ".etc.apparmor.d.usr.sbin.mysqld.txt" http://launchpadlibrarian.net/49618015/.etc.apparmor.d.usr.sbin.mysqld.txt ** Attachment added: "Dependencies.txt" http://launchpadlibrarian.net/49618016/Dependencies.txt ** Attachment added: "Df.txt" http://launchpadlibrarian.net/49618017/Df.txt ** Attachment added: "Dmesg.txt" http://launchpadlibrarian.net/49618018/Dmesg.txt ** Attachment added: "DpkgTerminalLog.txt" http://launchpadlibrarian.net/49618019/DpkgTerminalLog.txt ** Attachment added: "Logs.var.log.kern.log.txt" http://launchpadlibrarian.net/49618020/Logs.var.log.kern.log.txt ** Attachment added: "MySQLConf.etc.mysql.my.cnf.txt" http://launchpadlibrarian.net/49618021/MySQLConf.etc.mysql.my.cnf.txt ** Attachment added: "modified.conffile..etc.init.mysql.conf.txt" http://launchpadlibrarian.net/49618022/modified.conffile..etc.init.mysql.conf.txt -- package mysql-server-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: Le paquet est dans un état incohérent - vous devriez le réinstaller avant d'essayer de le supprimer. https://bugs.launchpad.net/bugs/589297 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