[Bug 617678] Re: package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Clint Byrum clint at fewbar.com
Fri Aug 20 06:02:57 BST 2010


Kayode, thanks for continuing to try to solve this issue.

The databases are stored in /var/lib/mysql

To back it up, do

sudo tar -czf backup-mysql.tar.gz -C /var/lib mysql

If the tarball of those database files is small enough, you can attach
it here, and I will send the crash bug upstream to mysql, as regardless
of what caused this, mysql should not crash so hard no matter what data
is in the database.

If (after backing up) you run

apt-get remove mysql-server-core-5.1
dpkg --purge mysql-server-5.1

That should remove the database files completely.

Then on install of the package, it should create a new blank database
directory and start mysqld properly.

-- 
package mysql-server-5.1 5.1.41-3ubuntu12.3 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/617678
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-dfsg-5.1 in ubuntu.



More information about the Ubuntu-server-bugs mailing list