[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

apt/dpkg database error



Hello all,

I have tried to remove mysql-server, but dpkg said
that there was an error, and i should reinstall it,
then try again to remove it. When I do, i get:

(Reading database ... 44897 files and directories
currently installed.)
Preparing to replace mysql-server 3.23.25-4 (using
.../mysql-server_3.23.25-4_alpha.deb) ...
dpkg: warning - old pre-removal script returned error
exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing
/var/cache/apt/archives/mysql-server_3.23.25-4_alpha.deb
(--unpack):
 subprocess new pre-removal script returned error exit
status 1
/usr/bin/mysql_install_db: line 369:  1351
Segmentation fault   (core dumped) $execdir/mysql
$defaults --bootstrap --skip-grant-tables
--basedir=/usr --datadir=$ldata "$@"  <<END_OF_DATA
use mysql;
$c_d
$i_d

$c_h
$i_h

$c_u
$i_u

$c_f
$i_f

$c_t
$c_c
END_OF_DATA

dpkg: error while cleaning up:
 subprocess post-installation script returned error
exit status 1
Errors were encountered while processing:

/var/cache/apt/archives/mysql-server_3.23.25-4_alpha.deb
E: Sub-process /usr/bin/dpkg returned an error code
(!)

If anyone can help, I would greatly appreciate it

Robert

__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/



Reply to: