LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2005, 07:52 PM   #1
o2bwise
LQ Newbie
 
Registered: Oct 2005
Location: Uxbridge, MA United States
Distribution: CentOS 4.1
Posts: 4

Rep: Reputation: 0
Question rpm install question when including MD5


Hi,

I am not sure if this is a newbie topic or not, but here I am!

I am trying to install MySQL on my CentOS4.1 box.

I think I need to install the client file first.
File: MySQL-client-5.0.13.0.i386.rpm


I can't post the url, but I got it from somewhere in the MySQL site.

Anyway, the place where there is a mirror to a download also contains the following:
MD5: ecc75d6e377341d9b8363ffedcc650af

I never saw this before and read up a tad on it and realize it is some kind of checksum. Well, I don't really know what to do with it. Do I include it with an argument in my install command?

Anyway, I tried to install with:
# yum install MySQL-client-5.0.13.0.i386.rpm

and among other things, returned:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5
public key not available for MySQL-client-5.0.13-0.i386.rpm

Is this related to my not doing anything with the MD5 checksum? Or something else?

I am really at a loss. Can someone help?

Thanks In Advance!

o2
 
Old 10-10-2005, 08:14 PM   #2
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5
public key not available for MySQL-client-5.0.13-0.i386.rpm
Yum gets its packages from repositories and will automatically check the GPG signature on each package (the people who make packages sign them with their GPG signature). This is why you're getting that error - that package didn't come from any of the standard repositories for Centos so the signature can't be verified.

However if you trust mysql.com there's nothing wrong with installing software directly from them and verifying it first using md5. To do this:
Code:
md5sum MySQL-client-5.0.13-0.i386.rpm
and make sure the output is the same number as on the website.

The difference between the GPG checking and md5 checking is that the GPG checking verifies that the package has come from a particular person or organisation and has not been modified on the way. The md5 checking only verifies that it hasn't been modified. This makes sense because when you get software from a repository using yum that repository will be managed by a particular organisation (eg Centos.org for the main Centos packages) or person (eg. Dag Wieers for the commonly-used Dag repository http://dag.wieers.com/home-made/apt/). When you get stuff from mysql.com though you already know who its coming from - mysql.com - so you just need to check that it didn't get corrupted during the download.
 
Old 10-11-2005, 05:26 AM   #3
o2bwise
LQ Newbie
 
Registered: Oct 2005
Location: Uxbridge, MA United States
Distribution: CentOS 4.1
Posts: 4

Original Poster
Rep: Reputation: 0
tkedwards,

Many thanks!

Just to make sure. I guess this means I cannot install with yum, correct?

Just want to make sure.

o2
 
Old 10-11-2005, 06:09 AM   #4
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
You can install with yum but you'd be installing the mysql that comes with Centos, which is MySQL version 4. If you want 5 you'll probably need to install that file you downloaded. using the RPM command
 
Old 10-12-2005, 05:25 AM   #5
o2bwise
LQ Newbie
 
Registered: Oct 2005
Location: Uxbridge, MA United States
Distribution: CentOS 4.1
Posts: 4

Original Poster
Rep: Reputation: 0
Exclamation huh!

Wow!

I didn't know CentOS had MySQL. Man, I think I'll just use that. I wonder if it is listed as a package? Well, I'll hunt around to see if I already have it.

Thanks!

Tony
 
Old 10-12-2005, 05:52 AM   #6
o2bwise
LQ Newbie
 
Registered: Oct 2005
Location: Uxbridge, MA United States
Distribution: CentOS 4.1
Posts: 4

Original Poster
Rep: Reputation: 0
Question

Say tkedwards,

What is the command for installing CentOS MySQL with yum. I am not sure what the package is named or how to identify its name. If I understand it right, it has to be on one of my CentOS discs or already on my system.

Tony
 
Old 10-12-2005, 06:35 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Code:
#yum install mysql-server
 
Old 10-12-2005, 07:27 AM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
And for future reference
Code:
yum search program_i_want_to_install
should give you the package names. Also you should setup some of the extra repositories - dag wieers repo for example, you'll find a lot of useful software in there (google for 'Dag Wieers')
 
Old 10-12-2005, 07:57 AM   #9
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The commands below also search for packages available in yum repos.
Code:
$yum list | grep -i nameOfPackage
 
Old 12-14-2007, 07:40 AM   #10
Hexxed
LQ Newbie
 
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Thumbs up warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 5072e1f5

Thanks tkedwards I had the same problem as well.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM cpio: MD5 sum mismatch error louisb Linux - Enterprise 1 07-10-2005 01:38 PM
?????? on all CD's (including install) Tim_Foust Linux - Newbie 4 06-19-2004 06:38 PM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 09:39 PM
Istalling rpm INCLUDING dependencies via command line? rgerhards Linux - Software 1 10-08-2003 03:35 AM
Question about rpm install TransAmJugo Linux - General 4 08-15-2003 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration