Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I hate rpm!!! Each time i install something it give troubles... See what i got when installing MySQL. It try to restart Mysql instead of installing it as clearly requested.
What am i doing wrong?? RH pretend that its now easier with rpms... hmmm!!
rpm -i MySQL-Max-4.0.0-2.i386.rpm --force
Giving mysqld a couple of seconds to restart
var/tmp/rpm-tmp.39347: /etc/rc.d/init.d/mysql: No such file or directoryIt simply do nothing at all!!!

you could always compile your own stuff. it's a bit of a pain until you get used to it - once you get used to it you will like it better.
as far as rpm goes.... why are you using the --force option? this sounds like you are missing dependencies which won't let the rpm run correctly, if so then you need to install whatever is missing first then run your rpm. also try rpm -ivh this will give you a little better picture of what's happening.
-russ

I'd try stopping MySQL before doing anything:
service mysqld stop
I would resort to --force only as a list ditch effort when nothing else works - actually only when I am REALLY trying to fix something that's broke.
If you have pre-requisites, get then and install them first.
I occaisionally use --nodeps or --replacefiles but only after I understand the implications.
G.

Mysql was not already installed... I used --force only in my second try (to see the error message again).
When i did rpm -i blablabla.rpm some parts have been installed, but there is some missing files... then rpm tried to restart mysql!!

It seems that it must assume that mysql is already installed, or at least in part. My theory is that the -2 in the filename is saying that it is RPM number 2 of a set, possibly a group of accessories or something. I haven't installed this program, nor have I seen this error before, but this is my theory. I would also try using a graphical rpm manager, which will show a description of the RPM, and maybe give you an idea of what the problem is. It's a shot in the dark, so take it as you please. Good Luck.
Greg

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |