RE: How to update a RHEL5 Satellite Server repo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It makes no difference if the repo has files that aren't on your clients - they're not going to get them just by doing a 'yum update'
 
Of course, they could get them with, 'yum install <x>', but that's the point.  You could also use mrepo to do this.

________________________________

From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of chrisb1961@xxxxxxxxxxx
Sent: Tuesday, April 22, 2008 9:56 AM
To: rpm-list@xxxxxxxxxx
Subject: How to update a RHEL5 Satellite Server repo


I have created an install server/yum update server one a centralized RHEL5 Server (5.1, kernel 2.6.18-53.1.13)
 
I am using apache2 on the server and http on the clients for both installing and updating.
 
This centralized install/update servers runs other aplications such as Nagios. Because of this is has many optional packages installed.
 
I populated my update repository by performing a new build on a client server then ran "yum -y --downloadonly --downloaddir=/var/www/htdocs/yum update". I then transerred the downloaded packages to the management server into /var/www/htdocs/yum. Lastly I ran "createrepo ." to create the repository.  On the clients I added a repo file in /etc/yum.repos.d/companyx.repo

[rhel-companyx]
name=Red Hat Enterprise Linux 5 - i386
baseurl=http://server1.companyx.com/yum
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-company
 
I ran yum update on the client server and it performed perfectly. 
 
I reliazed at that point I didn't have a method of keeping the yum update repo up to date. If I run yum -y --downloadonly --downloaddir=/var/www/htdocs/yum update  on the mangement server the repo will be populated with packages not installed on any of my clients. Maybe I need to create a repo for each client and somehow replicate the client RPM databases to the management server. Even if I do replicated the rpm db to the managment server  I don't see the oprion --dbpath in yum that rpm has so I don't know how to utilized the client rpmdb.
 
I am stuck and have to have this project done in a couple of days. I am under pressure !
 
Oh, and purchasing the RedHat Satellite Server product from RedHat is not an option for me.
 
Any and all help will be greatly appreciated.........
 
- --Thanks, Chris
 
 

 
 

-----BEGIN PGP SIGNATURE-----
Version: 9.6.3 (Build 3017)

wsFVAwUBSA3yMnJE2wkjIctBAQJX7g/9FuTybw+MinoyUxfedTagKYixaI8+9OcM
pU6f+kOmFj4Ix/aK1Z+LILjGjM7LnfttIxC0ykPSQCBMjuxuTBQ9c4kuLGz201xx
/2PZKdd6vFmpTgiTKQcA3F8DP/Vtu5BL3Ex52VdQStASmX/2fCvNj1WWiT73RwKi
kXD5o8fiJlon13YiR+hSvfDZPRZvR6J/nYy/jJxHKkneRfba+mIMzIigR3xCiUK+
vAKA6TeSHmtqCch7EKOmFKVuE24QbRL+j10ilBkHIkEiJ/sj+RdOaQAyUN5lMl2/
Qw55s0nZdC/feHonWqNJ/e+cBdXrfS2+e6UOOVxHdSKR5Qs1G/GHNkRmK0HaoNmS
2uI1uvyNmLuvI6IsmQRzgiaNw+NnvzQIyDAzenVJ9IY2HFKuJyXavDnCTf7hWGte
m+i7ujaCzHKd+w5B8moK8CB7sL8C05oK/rXnTd41MwbaV2Ukm0mZyon5hOjJfRIp
yoJPqWI02Oe+v/TM6CUntj8NiJyod+OQW3p7/M65/r3Kl8ZGx60fhuS1igzapSeP
AILXByjGDpC86BqzuvOMZCAh5p6gHz14O2QWlf0OtNFl69JC6kkH9uEM+xHsWW8z
UkNRpXJDDI3UWOxifsdOEG6bQYQjH8LDcOXvQscNfboQdzbygEKoNyrOqH6AYwCk
tOR958ViF1E=
=uZDz
-----END PGP SIGNATURE-----


______________________________________________________________________
This message contains information which may be confidential and/or privileged. Unless you are the intended recipient (or authorized to receive for the intended recipient), you may not read, use, copy or disclose to anyone the message or any information contained in the message. If you have received the message in error, please advise the sender by reply e-mail and delete the message and any attachment(s) thereto without retaining any copies.
______________________________________________________________________

Attachment: PGPexch.htm.pgp
Description: PGPexch.htm.pgp

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux