[Bug 647600] Re: package mysql-server-5.0 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1

Clint Byrum clint at fewbar.com
Sat Oct 2 02:14:57 BST 2010


Hello sivasle, thanks for taking the time to file this bug report and
help us make Ubuntu better!

It would appear that you are trying to downgrade from mysql 5.1 to 5.0,
which dpkg is refusing to do because it may cause problems given the
configuration files and data on disk. It may be confusing because you
actually did remove the mysql-server-5.1 package, but you didn't purge
it. So the data files and configuration files should still be on your
system.

If you have a good reason to use mysql 5.0 instead of 5.1, you'll want
to purge mysql-server-5.1 before installing 5.0. Try

Please note that this may ask you to delete all of the mysql config
files and data on disk, so make sure you backup your configuration and
data before running this:

sudo dpkg --purge mysql-server-core-5.1
sudo dpkg --purge mysql-server-5.1

And then install mysql-server-5.0.

Closing this bug as Invalid, as the package and software are both
working as they should.

** Changed in: mysql-dfsg-5.0 (Ubuntu)
       Status: New => Invalid

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



More information about the Ubuntu-server-bugs mailing list