1832009 Members
2851 Online
110034 Solutions
New Discussion

RPM's

 
Kyle D. Harris
Regular Advisor

RPM's

I have downloaded 7 mysql RPM's. Is there a certain order you have to install them.

First i did "rpm -i MySQL-bench-4.0.17-0.i386.rpm" and i get a warning about a V3 DSA signature: NOKEY, key id 5072e1f5 ... Then i get 2 failed dependencies saying MySQL-client is needed by MySQL-bench ... Anybody have any ideas? Thanks
15 REPLIES 15
Paul Cross_1
Respected Contributor

Re: RPM's

you only have the benchmark/test suite rpm, you need MySQL-server-4.0.17-0.i386.rpm and MySQL-client-4.0.17-0.i386.rpm. then do:
rpm -Uvh mysql*

should work.
Kyle D. Harris
Regular Advisor

Re: RPM's

I have them all. I just started to install the bench one first... Didn't know there was a order. Do you actually do the libraries first? Thanks.

Kyle
Bruce Copeland
Trusted Contributor

Re: RPM's

I find it easier to just do something like rpm -i mysql*, or if you have several rpms that don't have any common filename syntax, you can put them all in a temporary folder with nothing else, and then do rpm -i *. Then rpm will be able to figure out the order it wants. You'll still get the warning about V3 DSA signature, unless you set up to check rpm signatures. I don't (as long as I'm getting the rpm(s) from a trusted site).

Bruce
Jerome Henry
Honored Contributor

Re: RPM's

Hi Kyle,

100% agree with Bruce :
rpm -ivh mysql*
It will also solve the problem where a needs b and b needs a...

rpm -whatrequires package name will get you the list and order, but why bother ?...
hth

J
You can lean only on what resists you...
Kyle D. Harris
Regular Advisor

Re: RPM's

How long do rpm's take to install/update... Is more then 10 min so far common?
Bruce Copeland
Trusted Contributor

Re: RPM's

Well it depends slightly on what the rpm has to do during installation, but I can't ever recall anything that took more than a minute even with 30 Mbytes of rpm files (e.g. xfree86).

Bruce
Kyle D. Harris
Regular Advisor

Re: RPM's

hmm so far it's been about 10 min since i re-tried the command and still no prompt back yet. It's about 7 Rpm's it's installing.. or is supposed to be!
Jerome Henry
Honored Contributor

Re: RPM's

That's why I like 'vh' options.. they let you check the install process percentage...
10 mn could be possible, but trying on my 2.4 Ghz took for the same packages aroung 4 mn...

J
You can lean only on what resists you...
Kyle D. Harris
Regular Advisor

Re: RPM's

i just tried it with the -ivh options... how do you check the percentages?
Claudio Cilloni
Honored Contributor

Re: RPM's

Are you running Redhat 9? Sometimes happens that the rpm system hangs. I don't know why, and I still haven't solved this problem. Reboot your machine, and retry the rpm -ivh command. Should work.

hth,
Claudio
Martin P.J. Zinser
Honored Contributor

Re: RPM's

Hello,

what you really need is the server and the client part. Bench really is only required if you want to benchmark your own system and compare how well e.g. Oracle does against MySQL.

10 min for the installation seems to be too long. Try to install server alone and see how this works. Then go on with client and the rest.

Greetings, Martin
Bruce Copeland
Trusted Contributor

Re: RPM's

Percentages and hatchmarks should show up on the screen fairly soon after you start. If you're not getting to that stage, something funky is going on. Do you know for sure that a (possibly more recent) version of mysql wasn't already installed? If you use the rpm -i to install, rpm will attempt to install even if there's actually more recent packages already installed. That can sometimes cause pretty big headaches. Usually you still get some type of feedback from the rpm program, but I can imagine where things could get confused and cause rpm to hang. I always do rpm -q package-name or rpm -qa | grep package-base-name (in your case probably 'mysql') before I install or update to find out for sure what is already on the system.

Another headache with mysql is that some older packages were called MySQL, whereas newer ones are named mysql. I recall finding both MySQL and mysql installed on one of my servers after upgrading from RH 7.2 to RH 8. That happened during the RedHat installation itself. I don't know what would occur if you tried the same thing directly using the rpm program. The RH installers often turn off quite a bit of dependency checking during the installation of rpm packages.

Bruce
Paul Cross_1
Respected Contributor

Re: RPM's

The reason I use rpm -Uvh mysql* is exactly so that rpm worries about dependencies, not me. I use the -U just in case there is a previous version installed (rpm will upgrade with -U, fail with -i). i use -vh for progress report with hashes...
Kyle D. Harris
Regular Advisor

Re: RPM's

Claudio, yes it is indeed hanging on that command. I'll try rebooting. Thanks.
Kyle D. Harris
Regular Advisor

Re: RPM's

I got a Perl-DBI is needed by Mysql-bench dependency but i removed the Bench since i probly won't even need it and the rest of the install was Golden... Thanks for the help Guys!

Kyle