LinuxQuestions.org
Visit Jeremy's Blog.
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 04-19-2011, 12:12 PM   #1
vintage2010
Member
 
Registered: Nov 2010
Location: Ohio
Distribution: RHEL 5
Posts: 52

Rep: Reputation: 0
Local YUM Repository Issues


I have a local YUM repository setup to pull RHN updates from a server.

I'm using httpd and I can do everything but a YUM install or YUM update - YUM list works great.

This is the error I get when I run YUM Update

Loaded plugins: rhnplugins, security
This system is not registered with RHN
RHN support will be disabled
Skipping security plugin, no data
Setting up update process
No packages marked for update.

So how I turn off my client to think that it needs to be registered -- /etc/sysconfig?
AND if it can list all the packages from my server why is it not installing them?
 
Old 04-19-2011, 01:48 PM   #2
beanhead
LQ Newbie
 
Registered: Aug 2010
Location: MN USA
Distribution: fedora
Posts: 9
Blog Entries: 1

Rep: Reputation: 0
You have to go to the red hat site and register your computer.
Then you can get updates. I have run red hat and if your not going to pay for support you might as well run fedora instead.
 
Old 04-20-2011, 02:49 AM   #3
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
If this box is gonna serve as your local repo, then it has to be registered & connected to RHN to pull the update packages down.

Assuming you have a subscription. You can register the machine by running:
Code:
# rhn_register
 
Old 04-20-2011, 07:51 AM   #4
vintage2010
Member
 
Registered: Nov 2010
Location: Ohio
Distribution: RHEL 5
Posts: 52

Original Poster
Rep: Reputation: 0
I have the server registered with RHN. This server pulls all the downloads/updates. Once the updates are downloaded I put it back in my workgroup and have the clients pull the updates from the server.

When the client pulls whne I run the YUM "update" I get the following error --

Loaded plugins: rhnplugins, security
This system is not registered with RHN
RHN support will be disabled
Skipping security plugin, no data
Setting up update process
No packages marked for update.

I'm having the clients pull from /var/www/html/yum/rhel5 -- which a directory that I created in the server side
 
Old 04-20-2011, 08:41 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
The default repo files will pt at RHN; you need to change that (http://www.cyberciti.biz/tips/redhat...etup-repo.html or http://www.howtoforge.com/creating_a...ository_centos), or get the RHN PROXY server which does pretty much what you want http://docs.huihoo.com/redhat/RHNetw...ll-config.html
 
Old 04-21-2011, 05:03 AM   #6
ongte
Member
 
Registered: Jun 2009
Location: Penang, Malaysia
Distribution: Mageia, CentOS, Ubuntu
Posts: 468

Rep: Reputation: 72
How exactly did you setup the repository on the server? Did you run createrepo on the downloaded packages, then serve it thru httpd?
How is the yum on the clients configured?

You gotta have the .repo file setup right.
Here's how mine sorta looks like:
Code:
[updateserver]
name=Red Hat Enterprise Linux Update Server
baseurl=http://192.168.1.10/yum/rhel5
enabled=1
gpgcheck=0
 
  


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
want to set up local yum repository linmix Linux - Software 4 04-23-2013 03:42 AM
YUM Local Repository Problem vintage2010 Linux - Newbie 15 03-09-2011 01:53 PM
yum local repository rames2075 Linux - Enterprise 2 10-25-2008 08:16 AM
local yum repository tombolio Linux - Newbie 4 09-11-2008 07:28 PM
how can i add a local Folder on local Hard Disk as Yum Repository ?? vahid_p Fedora 4 02-22-2007 10:43 AM

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

All times are GMT -5. The time now is 12:18 PM.

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