MySQL 4.1 to MySQL 5.0.77

daveyw

Verified User
Joined
Jan 5, 2008
Messages
700
Location
/dev/null
Hello,

I'm trying to 'upgrade' MySQL but i'm having problems.

error: %pre(MySQL-server-5.0.77-0.i386) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MySQL-server-5.0.77-0
done
/usr/bin/mysqlcheck: unknown option '--fix-db-names'

Also, everything except MySQL-server has been upgraded to 5.0.77
MySQL-devel-5.0.77-0
MySQL-server-4.1.22-0
MySQL-client-5.0.77-0
MySQL-shared-5.0.77-0

Its on a Fedora 5, i386 server.
 
Last edited:
Code:
rpm -e MySQL-server-4.1.22-0 --nodeps
cd /usr/local/directadmin/custombuild
./build update
./build mysql
 
I'm upgrading MySQL and 1 server hangs with upgrading

Found /usr/local/directadmin/custombuild/mysql/MySQL-client-5.0.77-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-devel-5.0.77-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-server-5.0.77-0.i386.rpm
Found /usr/local/directadmin/custombuild/mysql/MySQL-shared-5.0.77-0.i386.rpm
Stopping mysqld ...
Killing mysqld with pid 18639
Wait for mysqld to exit.... done
Upgrading MySQL 4.1 to 5.0
warning: waiting for transaction lock
I've waited for 30 minutes but still the same.. also restarted the ./build mysql without any succes
** And yes i'm fully root **

Does anybody know this problem?
 
Last edited:
Please post an output of:
Code:
ps aux | grep rpm
ps aux | grep up2date
ps aux | grep yum
 
Code:
root@XXXXXX:~# ps aux | grep rpm
root     12460  0.0  0.0  3728  656 pts/1    S+   13:51   0:00 grep rpm
root@XXXXXX:~# ps aux | grep up2date
root     12478  0.0  0.0  3728  656 pts/1    S+   13:51   0:00 grep up2date
root@XXXXXX:~# ps aux | grep yum
root     12495  0.0  0.0  3728  656 pts/1    S+   13:51   0:00 grep yum
root@XXXXXX:~#

As you can see, nothing.
 
Back
Top