[Bug 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
** Attachment removed: VarLogDistupgradeSystemstatetargz.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665219/+files/VarLogDistupgradeSystemstatetargz.gz -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in Ubuntu. https://bugs.launchpad.net/bugs/653370 Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.1/+bug/653370/+subscriptions -- 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
[Expired for mysql-dfsg-5.1 (Ubuntu) because there has been no activity for 60 days.] ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Incomplete = Expired -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu. https://bugs.launchpad.net/bugs/653370 Title: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: -- 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
Thank you for opening this bug and helping make Ubuntu better. From the DistUpgradeTermLog: Installing new version of config file /etc/logrotate.d/mysql-server ... Warning: found usr.sbin.mysqld in /etc/apparmor.d/force-complain, forcing complain mode ^C ^Cdpkg: error processing mysql-server-5.1 (--configure): subprocess installed post-installation script killed by signal (Interrupt) As the upgrade process was killed by a ^C, there is nothing to be done by us, so closing INVALID (user cancelled upgrade). ** Changed in: mysql-dfsg-5.1 (Ubuntu) Importance: Undecided = Low ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: New = Invalid -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
Duh. It is a hang... I apologise. Looking at the logs now. ** Changed in: mysql-dfsg-5.1 (Ubuntu) Status: Invalid = Incomplete -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
I managed to finally complete the upgrade and believe I've found where the problem was. Part of the upgrade to Lucid Lynx included upgrading MySQL 5.0 to 5.1. I was given the choice of keeping the existing my.cnf or using the default. I wanted to keep my existing configuration. However, in doing so, the skip-bdb line was left enabled in the my.cnf file. This caused mysql to fail to restart properly, and caused AppArmour to hang. When I finally figured this out, I changed the my.cnf file and did a dpkg --configure -a which fixed the configuration and MySql and AppArmour worked properly. I am not sure what the best solution for this should be. Perhaps the AppArmour configuration should abort instead of hanging. Some sort of message about the configuration of MySql being screwed up might help as well. -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
I see this, in the daemon log: Oct 1 20:45:42 linux1 mysqld[28442]: 101001 20:45:42 [ERROR] /usr/sbin/mysqld: unknown option '--skip-bdb' Oct 1 20:45:42 linux1 mysqld[28442]: 101001 20:45:42 [ERROR] Aborting Oct 1 20:45:42 linux1 mysqld[28442]: Oct 1 20:45:42 linux1 mysqld[28442]: 101001 20:45:42 [Note] /usr/sbin/mysqld: Shutdown complete Oct 1 20:45:42 linux1 mysqld[28442]: Oct 1 20:45:42 linux1 mysqld[28442]: Oct 1 20:45:42 linux1 mysqld[28442]: Installation of system tables failed! Examine the logs in Oct 1 20:45:42 linux1 mysqld[28442]: /var/lib/mysql for more information. From the DistUpgradeAptLog, I see this: Setting up mysql-common (5.1.41-3ubuntu12.3) ... Configuration file `/etc/mysql/my.cnf' == Modified (by you or by a script) since installation. == Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : background this process to examine the situation The default action is to keep your current version. *** my.cnf (Y/I/N/O/D/Z) [default=N] ? .3_i386.deb) ... *** my.cnf (Y/I/N/O/D/Z) [default=N] ? n So you kept the old MySQL configuration. It happens that this configuration is not good anymore (and causes the error above). Can you please update your MySQL configuration, and run 'apt-get -f install'? -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
The logs show that MySQL was being configured at the moment you cancelled the upgrade -- so this does not seem to be an apparmour issue. OTOH, I agree that config changes should be more carefully screened. I am just not sure, right now, on how to do it. -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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 653370] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade:
** Attachment added: .etc.apparmor.d.usr.sbin.mysqld.txt https://bugs.launchpad.net/bugs/653370/+attachment/1665210/+files/.etc.apparmor.d.usr.sbin.mysqld.txt ** Attachment added: Dependencies.txt https://bugs.launchpad.net/bugs/653370/+attachment/1665211/+files/Dependencies.txt ** Attachment added: Logs.var.log.daemon.log.txt https://bugs.launchpad.net/bugs/653370/+attachment/1665212/+files/Logs.var.log.daemon.log.txt ** Attachment added: Logs.var.log.kern.log.txt https://bugs.launchpad.net/bugs/653370/+attachment/1665213/+files/Logs.var.log.kern.log.txt ** Attachment added: MySQLConf.etc.mysql.my.cnf.txt https://bugs.launchpad.net/bugs/653370/+attachment/1665214/+files/MySQLConf.etc.mysql.my.cnf.txt ** Attachment added: VarLogDistupgradeAptlog.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665215/+files/VarLogDistupgradeAptlog.gz ** Attachment added: VarLogDistupgradeApttermlog.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665216/+files/VarLogDistupgradeApttermlog.gz ** Attachment added: VarLogDistupgradeLspcitxt.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665217/+files/VarLogDistupgradeLspcitxt.gz ** Attachment added: VarLogDistupgradeMainlog.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665218/+files/VarLogDistupgradeMainlog.gz ** Attachment added: VarLogDistupgradeSystemstatetargz.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665219/+files/VarLogDistupgradeSystemstatetargz.gz ** Attachment added: VarLogDistupgradeTermlog.gz https://bugs.launchpad.net/bugs/653370/+attachment/1665220/+files/VarLogDistupgradeTermlog.gz -- package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: https://bugs.launchpad.net/bugs/653370 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