Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-18-2009, 02:26 PM   #1
LQ Newbie
Registered: Jan 2008
Posts: 27

Rep: Reputation: 15
Setting up YUM repository

I wanted to setup a YUM repository server in RHEL 5.0 and below are the steps which I performed:

1. Created a directory /var/ftp/pub and copied the Server folder from RHEL 5 installation CD to /var/ftp/pub.

2. Went to /etc/yum.repos.d and copied rhel-debuginfo.repo to Server.repo. Took backup of rhel-debuginfo.repo and deleted it from /etc/yum.repos.d.

3. edited the file Server.repo as follows:

name=Red Hat Enterprise Linux

4 Save it and quit

5. Ran yum clean all and yum update.

Now to check if the repositoy is workin I deleted ftp-0.17.33.fc6 using
rpm -e ftp-0.17.33.fc6. Now I went into the /var/ftp/pub/Server and ran the command yum install ftp-0.17.33.fc6 and below is what I get:

Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up install process.
Setting up repositories
No Repositories available to set up
Reading repository metadata in from local files
Parsing package install arguments
Examining ftp-0.17-33.fc6.i386.rpm: ftp-0.17-33.fc6.i386.rpm
marking ftp-0.17-33.fc6.i386.rpm to be installed
Setting up repositories
no repositories availabe to setup
reading repository metadata in from local files
Resolving dependencies
--->populating transaction set with selected packages.Please wait.
--->Package ftp.i386 0:0.17-33.fc6 set to updted
--->Running transaction check
Dependicies resolved

========================================================================Package Arch Version Repository Size

installing ftp i386 0.17-33.fc6 ftp-0.17-33.fc6.i386.rpm 84k

Transaction summary


Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)

Total download size: 84 k

Is this ok [y/n]:

I enter 'y' and below is what i get:

Downloading packages:

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY , key ID 37017186

Public key for ftp-0.17-33.fc6.i386.rpm is not installed

Please help me fix this.

Old 12-19-2009, 03:14 AM   #2
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Find the GnuPG key with ID 37017186 and install it?


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
yum Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. glowe Linux - Newbie 8 01-13-2016 10:55 PM
Yum Repository nitrohuffer2001 Linux - General 7 04-23-2013 03:23 AM
Redhat 5.1 Yum Repository vs Fedora x.x Yum Repository lead2gold Linux - Software 1 05-22-2008 02:19 PM
Setting Local DVDROM as yum Repository Mustafa^Qasim Linux - Newbie 1 05-03-2008 09:01 PM
Yum repository for 10.1 mijohnst SUSE / openSUSE 6 04-11-2006 08:42 AM > Forums > Linux Forums > Linux - Newbie

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

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