LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-31-2006, 04:59 PM   #1
jbhanc0125
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
yum install mysql-devel.i386


I have a CentOS server running Ensim PRO Control Panel. Ensim requires MySQL so it is already installed.

I am trying to install the CPAN module DBD::mysql. The make fails and I have ascertained that it is due to mysql-devel not being installed.

I tried to install it using RPM but RPM complained:
[root admin]# rpm -i MySQL-devel-standard-4.1.12-0.rhel3.i386.rpm
warning: MySQL-devel-standard-4.1.12-0.rhel3.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5
file /usr/bin/mysql_config from install of MySQL-devel-standard-4.1.12-0.rhel3 conflicts with file from package mysql-4.1.12-3.RHEL4.1

I then decided that the server was probably built using yum so I tried and got this:
[root admin]# yum install mysql-devel.i386
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package mysql-devel.i386 0:4.1.12-3.RHEL4.1 set to be updated
--> Running transaction check
--> Processing Dependency: openssl-devel for package: mysql-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package openssl-devel.i586 0:0.9.7a-43.8 set to be updated
--> Running transaction check
--> Processing Dependency: zlib-devel for package: openssl-devel
--> Processing Dependency: openssl = 0.9.7a-43.8 for package: openssl-devel
--> Processing Dependency: krb5-devel for package: openssl-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package zlib-devel.i386 0:1.2.1.2-1.2 set to be updated
---> Package openssl.i686 0:0.9.7a-43.8 set to be updated
---> Package krb5-devel.i386 0:1.3.4-27 set to be updated
--> Running transaction check
--> Processing Dependency: krb5-libs = 1.3.4-27 for package: krb5-devel
--> Processing Dependency: e2fsprogs-devel for package: krb5-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package e2fsprogs-devel.i386 0:1.35-12.3.EL4 set to be updated
---> Package krb5-libs.i386 0:1.3.4-27 set to be updated
--> Running transaction check
--> Processing Dependency: krb5-libs = 1.3.4-12 for package: krb5-workstation
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package krb5-workstation.i386 0:1.3.4-27 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
mysql-devel i386 4.1.12-3.RHEL4.1 base 2.1 M
Installing for dependencies:
e2fsprogs-devel i386 1.35-12.3.EL4 base 479 k
krb5-devel i386 1.3.4-27 base 818 k
openssl-devel i586 0.9.7a-43.8 base 1.6 M
zlib-devel i386 1.2.1.2-1.2 base 89 k
Updating for dependencies:
krb5-libs i386 1.3.4-27 base 479 k
krb5-workstation i386 1.3.4-27 base 811 k
openssl i686 0.9.7a-43.8 base 1.1 M

Transaction Summary
=============================================================================
Install 5 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
Total download size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: V3 DSA signature: NOKEY, key ID 443e1821


Public key for krb5-workstation-1.3.4-27.i386.rpm is not installed

[root admin]#

yum seems to be doing what I need but is failing. Why? How do I fix it?
 
Old 04-01-2006, 10:25 AM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,190

Rep: Reputation: 159Reputation: 159
Quote:
Originally Posted by jbhanc0125
Public key for krb5-workstation-1.3.4-27.i386.rpm is not installed
Disable the ID checking in yum or install the key from the repo you're using.
 
Old 04-01-2006, 10:46 AM   #3
jbhanc0125
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Please Explain

Jens-

Thanks for responding but remember -> this is a newbie channel.

Please explain what you mean by and how to do either option.
 
Old 04-01-2006, 02:21 PM   #4
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,190

Rep: Reputation: 159Reputation: 159
Open /etc/yum.conf with your favourite text editor (as root).
Easy example:
gedit /etc/yum.conf

You'll see something like this:
Quote:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
Were it sais gpgcheck=1, change this to gpgcheck=0.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need help with yum install kernel-devel buckwheat12 Fedora 9 12-28-2006 02:16 PM
Need help to install mysql devel in Solaris 8 hkuha Solaris / OpenSolaris 3 02-22-2005 10:29 PM
install mysql-devel chr15t0 Slackware 10 02-08-2005 11:48 AM
does anybody know where I can get glibc-devel-2.3.2-5.i386.rpm. kelly_kong03 Linux - General 1 06-02-2004 11:59 AM
error installing gtk---devel-1.0.3-1.i386.rpm on FC1 ben_build#2.1.0 Linux - Newbie 1 04-26-2004 05:09 PM


All times are GMT -5. The time now is 12:47 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration