[debian-mysql] Bug#458213: mysql-server-5.0: fails to upgrade

Witold Baryluk baryluk at smp.if.uj.edu.pl
Sat Dec 29 15:29:35 UTC 2007

Package: mysql-server-5.0
Version: 5.0.32-7etch1
Severity: important

root at webserver:/home2/baryluk# LC_ALL=C apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  apache2 apache2-mpm-prefork apache2-utils apache2.2-common libnss-ldap
  libpam-cracklib libpam-modules libpq4 libss2 libuuid1 locales
  mysql-server-5.0 nscd
13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/32.0MB of archives.
After unpacking 326kB of additional disk space will be used.
Do you want to continue [Y/n]?
Preconfiguring packages ...
Setting up libpam0g (0.79-5) ...

(Reading database ... 31623 files and directories currently installed.)
Preparing to replace mysql-server-5.0 5.0.32-7etch1 (using .../mysql-server-5.0_5.0.32-7etch3_i386.deb) ...
Stopping MySQL database server: mysqld.
Stopping MySQL database server: mysqld.
cp: cannot overwrite directory `/var/lib/mysql-upgrade/DATADIR.link/mysql' with non-directory
dpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.0.32-7etch3_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld.
Checking for corrupt, not cleanly closed and upgrade needing tables..
Preparing to replace libpam-modules 0.79-4 (using .../libpam-modules_0.79-5_i386.deb) ...
Unpacking replacement libpam-modules ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
root at webserver:/home2/baryluk#

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-xen-686
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)

Versions of packages mysql-server-5.0 depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debconf [debconf-2.0]  1.5.11etch1       Debian configuration management sy
ii  libc6                  2.3.6.ds1-13etch4 GNU C Library: Shared libraries
ii  libdbi-perl            1.53-1etch1       Perl5 database interface by Tim Bu
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libmysqlclient15off    5.0.32-7etch3     mysql database client library
ii  libncurses5            5.5-5             Shared libraries for terminal hand
ii  libreadline5           5.2-2             GNU readline and history libraries
ii  libstdc++6             4.1.1-21          The GNU Standard C++ Library v3
ii  libwrap0               7.6.dbs-13        Wietse Venema's TCP wrappers libra
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  mysql-client-5.0       5.0.32-7etch3     mysql database client binaries
ii  mysql-common           5.0.32-7etch3     mysql database common files (e.g. 
ii  passwd                 1:      change and administer password and
ii  perl                   5.8.8-7etch1      Larry Wall's Practical Extraction 
ii  psmisc                 22.3-1            Utilities that use the proc filesy
ii  zlib1g                 1:1.2.3-13        compression library - runtime

Versions of packages mysql-server-5.0 recommends:
pn  mailx                         <none>     (no description available)

-- debconf information:
  mysql-server-5.0/really_downgrade: false
* mysql-server-5.0/need_sarge_compat: false
  mysql-server-5.0/start_on_boot: true
  mysql-server-5.0/postrm_remove_databases: false
  mysql-server-5.0/need_sarge_compat_done: true

More information about the pkg-mysql-maint mailing list