RE: How to update a RHEL5 Satellite Server repo
[email protected] Tue, 22 Apr 2008 15:04:32 +0000
| Newsgroups | gmane.linux.redhat.rpm.general |
|---|---|
| Message-ID | <042220081504.17786.480DFE8000075A0D0000457A2200761064CEC0C7CE0D9C079D080C@comcast.net> |
Jon, Well that is what I thought. I ran into a big problem after running "yum -y --downloadonly --downloaddir=/var/www/htdocs/yum update" on the management server then performing a yum update on of my test clients. Both of the test clients wouldn't complete the start process. They would hang on the startup of various and different services. I so far have been unable to get either of the systems to boot (even in single user) so I don't have much to go on. I did notice that the update did install a new kernel 2.6.18-8.el5 from 2.6.18-53.1.14.el5. I cannot boot from either kernel. --Thanks, Chris -------------- Original message -------------- From: "Stanley, Jon" <[email protected]> > -----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 ', but that's the point. > You could also use mrepo to do this. > > ________________________________ > > From: [email protected] [mailto:[email protected]] On Behalf > Of [email protected] > Sent: Tuesday, April 22, 2008 9:56 AM > To: [email protected] > 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. > ______________________________________________________________________ _______________________________________________ Rpm-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rpm-list
(unnamed)
(message/rfc822, 5.3 KB) - not displayed