Computing.Net > Forums > Linux > Problem using RPM to install stuff

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Problem using RPM to install stuff

Reply to Message Icon

Name: danny
Date: December 12, 2001 at 13:34:23 Pacific
Comment:

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 directory

It simply do nothing at all!!!




Sponsored Link
Ads by Google

Response Number 1
Name: russ
Date: December 12, 2001 at 15:02:15 Pacific
Reply:

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


0

Response Number 2
Name: Guy Allard
Date: December 12, 2001 at 18:15:22 Pacific
Reply:

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.


0

Response Number 3
Name: danny
Date: December 13, 2001 at 07:10:03 Pacific
Reply:

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!!



0

Response Number 4
Name: Greg
Date: December 13, 2001 at 09:15:13 Pacific
Reply:

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


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Problem using RPM to install stuff

Trying to install samba, getting Fa www.computing.net/answers/linux/trying-to-install-samba-getting-fa/20352.html

Which RPMs to install www.computing.net/answers/linux/which-rpms-to-install/26052.html

The best way to install KDE 2.1? www.computing.net/answers/linux/the-best-way-to-install-kde-21/3128.html