Package: mysql-server-5.0
Version: 5.0.27-1
Severity: serious

Hangs duing upgrade:


   The following packages have been kept back:
     emacs-snapshot-common mozilla mozilla-browser mozilla-mailnews mozilla-psm
   The following packages will be upgraded:
     mysql-server-5.0
   1 packages upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
   Need to get 0B/25.7MB of archives. After unpacking 32.8kB will be used.
   Do you want to continue? [Y/n/?]
   Reading package fields... Done
   Reading package status... Done
   Retrieving bug reports... Done
   Parsing Found/Fixed information... Done
   Reading changelogs... Done
   Preconfiguring packages ...
   Selecting previously deselected package mysql-server-5.0.
   (Reading database ... 237922 files and directories currently installed.)
   Preparing to replace mysql-server-5.0 5.0.27-1 (using 
.../mysql-server-5.0_5.0.27-2_amd64.deb) ...
   Stopping MySQL database server: mysqld.
   /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
   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.
   /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
   invoke-rc.d: initscript mysql, action "stop" failed.
   dpkg: error processing 
/var/cache/apt/archives/mysql-server-5.0_5.0.27-2_amd64.deb (--unpack):
    subprocess new pre-removal script returned error exit status 1
   Stopping MySQL database server: mysqld.
   /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
   invoke-rc.d: initscript mysql, action "stop" failed.
   Starting MySQL database server: mysqld.
   /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable
   invoke-rc.d: initscript mysql, action "start" failed.

If I press ^C, I get:

   dpkg: error while cleaning up:
    subprocess post-installation script killed by signal (Interrupt)
   Errors were encountered while processing:
    /var/cache/apt/archives/mysql-server-5.0_5.0.27-2_amd64.deb
   E: Sub-process /usr/bin/dpkg returned an error code (1)
   A package failed to install.  Trying to recover:
   dpkg: error processing mysql-server-5.0 (--configure):
    Package is in a very bad inconsistent state - you should
    reinstall it before attempting configuration.
   Errors were encountered while processing:
    mysql-server-5.0

I can't remove the package because I get the same error.

If I try to stop mysql:

   @twiglet:mozart 4Q> sudo /etc/init.d/mysql stop
   Stopping MySQL database server: mysqld.
   /etc/lsb-base-logging.sh: line 42: RUNLEVEL: unbound variable

k



-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mysql-server-5.0 depends on:
ii  adduser                     3.100        Add and remove users and groups
ii  debconf [debconf-2.0]       1.5.9        Debian configuration management sy
ii  libc6                       2.3.6.ds1-8  GNU C Library: Shared libraries
ii  libdbi-perl                 1.53-1       Perl5 database interface by Tim Bu
ii  libgcc1                     1:4.1.1-20   GCC support library
ii  libmysqlclient15off         5.0.27-2     mysql database client library
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libreadline5                5.2-1        GNU readline and history libraries
ii  libstdc++6                  4.1.1-20     The GNU Standard C++ Library v3
ii  libwrap0                    7.6.dbs-11   Wietse Venema's TCP wrappers libra
ii  lsb-base                    3.1-22       Linux Standard Base 3.1 init scrip
ii  mysql-client-5.0            5.0.27-2     mysql database client binaries
ii  mysql-common                5.0.27-2     mysql database common files (e.g. 
ii  passwd                      1:4.0.18.1-5 change and administer password and
ii  perl                        5.8.8-6.1    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:
ii  mailx            1:8.1.2-0.20050715cvs-1 A simple mail user agent

-- debconf information:
  mysql-server-5.0/really_downgrade: false
  mysql-server-5.0/start_on_boot: true
  mysql-server-5.0/nis_warning:
  mysql-server-5.0/postrm_remove_databases: false
  mysql-server-5.0/no_upgrade_with_isam_tables:
* mysql-server-5.0/mysql_install_db_notes:
  mysql-server-5.0/need_sarge_compat: false
  mysql-server/error_setting_password:
  mysql-server-5.0/mysql_update_hints1:
  mysql-server-5.0/need_sarge_compat_done: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to