[debian-mysql] Bug#492016: mysql upgrade problem
Zsombor BOLYÓCZKI
zsombor at tuxworx.hu
Wed Jul 23 08:42:50 UTC 2008
Package: mysql-server-5.0
Version: [5.0.32-7etch5] (5.0.32-7etch6 Debian-Security:4.0/stable)
System: Debian Etch
I think there is a bug in mysql configuration scripts.
I regurarly use "apt-get upgrade -s" and "apt-get upgrade" to keep my server up to date.
This morning I did the same to upgrade my mysql server.
After "apt-get upgrade" I got the following messages:
-----------------------
Preconfiguring packages ...
Can't exec "/tmp/mysql-server-5.0.config.280121": Permission denied at
/usr/share/perl/5.8/IPC/Open3.pm line 168.
open2: exec of /tmp/mysql-server-5.0.config.280121 configure 5.0.32-7etch5 failed at
/usr/share/perl5/Debconf/ConfModule.pm line 58
mysql-server-5.0 failed to preconfigure, with exit status 9
(Reading database ... 27825 files and directories currently installed.)
Preparing to replace mysql-common 5.0.32-7etch5 (using .../mysql-common_5.0.32-7etch6_all.deb) ...
Unpacking replacement mysql-common ...
Preparing to replace libmysqlclient15off 5.0.32-7etch5 (using
.../libmysqlclient15off_5.0.32-7etch6_amd64.deb) ...
Unpacking replacement libmysqlclient15off ...
Preparing to replace mysql-client-5.0 5.0.32-7etch5 (using
.../mysql-client-5.0_5.0.32-7etch6_amd64.deb) ...
Unpacking replacement mysql-client-5.0 ...
Setting up mysql-common (5.0.32-7etch6) ...
(Reading database ... 27825 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.32-7etch5 (using
.../mysql-server-5.0_5.0.32-7etch6_amd64.deb) ...
Stopping MySQL database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
Stopping MySQL database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch6_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Stopping MySQL database server: mysqld failed!
invoke-rc.d: initscript mysql, action "stop" failed.
Starting MySQL database server: mysqld already running.
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'debian-sys-maint'@'localhost' (using password: YES)'
Preparing to replace libgd2-xpm 2.0.33-5.2 (using .../libgd2-xpm_2.0.33-5.2etch1_amd64.deb) ...
Unpacking replacement libgd2-xpm ...
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-----------------------
As it can be seen in the 2nd line, the /tmp is mounted with noexec flag so the upgrade failed.
At the moment the mysql server seems to be all right but we count on some unexpected problems.
Thank you.
More information about the pkg-mysql-maint
mailing list