LinuxQuestions.org
Review your favorite Linux distribution.
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 04-05-2012, 11:35 AM   #1
morad_dba
LQ Newbie
 
Registered: Jun 2010
Posts: 18

Rep: Reputation: 0
yum in RedHat 6


Dear all,

I configured yum. My configuration in /etc/yum.repos.d/server.repo is as follows

[server]
name=server
baseurl=file:///u01/Packages
metadata_expire=-1
gpgcheck=0
cost=500
enabled=1

When i attempt to install a rpm like

yum install yum compat-db*

The server returns errors as

Public key for compat-db* is not installed.

What can i do?

Please help me...

Thanks in advance..

Regards,
Morad.

Last edited by morad_dba; 04-05-2012 at 11:40 AM.
 
Old 04-05-2012, 12:41 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
Run the following as root:

Code:
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
 
1 members found this post helpful.
  


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
Problem with yum on RedHat 6 redhat6user Linux - Software 14 03-19-2012 08:57 PM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 12:25 PM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 09:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 01:56 PM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 03:19 PM


All times are GMT -5. The time now is 03:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration