Package: mysql-server
Version: 4.0.18-5
Severity: important

Problem when upgrading to mysql-server 4.0.23 :

Preparing to replace mysql-server 4.0.18-5 (using 
.../mysql-server_4.0.23-1_i386.deb) ...
Stopping MySQL database server: mysqld.
ERROR: There's not enough space in /var/lib/mysql/
dpkg: error processing /var/cache/apt/archives/mysql-server_4.0.23-1_i386.deb 
(--unpack):
subprocess pre-installation script returned error exit status 1
Stopping MySQL database server: mysqld.
Errors were encountered while processing:
/var/cache/apt/archives/mysql-server_4.0.23-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

But there is enough space on the device : 

21/01 23:47 [EMAIL PROTECTED] ~% df
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda1     ext2   -198327320991k  1.0k  0.0k  43% /
/dev/sda3     ext2   -198344079482k  1.0k  0.0k   2% /boot
/dev/sda5     ext2   -377652607361k  1.0k  0.0k  13% /var
/dev/sda6     ext2   -98631054685k  1.0k  0.0k   1% /tmp
/dev/sda7     ext2   -599853446988k  1.0k  0.0k  58% /usr
/dev/sdb1     ext2   -1145365390273k  1.0k  0.0k  64% /home

Notice the funky output from the Size column ...

When lookin in the 'preinst' script from the package : 

# checking disc space
if LC_ALL=C df --portability $DATADIR/. | awk 'END { exit ($4>1000) }'; then
        db_stop
        echo "ERROR: There's not enough space in $DATADIR/" 1>&2
        exit 1 
fi

Ok so now :

22/01 0:33 [EMAIL PROTECTED] ~% df --portability /var/lib/mysql 
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/sda5     ext2    1.0k  1.0k  1.0k      13% /var


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.2.17
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages mysql-server depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf                     1.4.30.11    Debian configuration management sy
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libdbi-perl                 1.46-5       Perl5 database interface by Tim Bu
ii  libgcc1                     1:3.4.3-6    GCC support library
ii  libmysqlclient12            4.0.23-1     mysql database client library
ii  libssl0.9.7                 0.9.7e-2     SSL shared libraries
ii  libstdc++5                  1:3.3.5-5    The GNU Standard C++ Library v3
ii  libwrap0                    7.6.dbs-6    Wietse Venema's TCP wrappers libra
ii  mysql-client                4.0.23-1     mysql database client binaries
ii  passwd                      1:4.0.3-30.7 Change and administer password and
ii  perl                        5.8.4-5      Larry Wall's Practical Extraction 
ii  psmisc                      21.5-1       Utilities that use the proc filesy
ii  zlib1g                      1:1.2.2-3    compression library - runtime

-- debconf information:
  mysql-server/nis_warning:
  mysql-server/really_downgrade_from_41: false
  mysql-server/mysql_update_hints1:
  mysql-server/start_on_boot: true
  mysql-server/postrm_remove_databases: false
  mysql-server/postrm_remove_database: false
* mysql-server/mysql_install_db_notes:


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

Reply via email to