[Bug 262244] [NEW] Post-installation script error reinstalling mysql

João Pinto joao.pinto at getdeb.net
Thu Aug 28 13:40:41 BST 2008

Public bug reported:

Binary package hint: mysql-server-5.0

How to reproduce the problem:
Remove mysql-server with:
sudo apt-get remove --purge mysql-server-5
sudo rm -rf /etc/mysql
sudo apt-get install mysql-server-5.0
After this operation, 86.1MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously deselected package mysql-server-5.0.
(Reading database ... 165059 files and directories currently installed.)
Unpacking mysql-server-5.0 (from .../mysql-server-5.0_5.0.51a-3ubuntu5.1_i386.deb) ...
Setting up mysql-server-5.0 (5.0.51a-3ubuntu5.1) ...
 * Stopping MySQL database server mysqld                                 [ OK ] 
/var/lib/dpkg/info/mysql-server-5.0.postinst: line 143: /etc/mysql/conf.d/old_passwords.cnf: No such file or directory
dpkg: error processing mysql-server-5.0 (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

** Affects: mysql-dfsg-5.0 (Ubuntu)
     Importance: Undecided
         Status: New

Post-installation script error reinstalling mysql
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