LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-16-2015, 09:51 AM   #1
LYC
Member
 
Registered: Jan 2014
Posts: 107

Rep: Reputation: Disabled
yum queries


Hi,

We have non-production and production servers. When there are patches to apply, the non-production servers will apply the patches first. After the applications are tested OK, then the patches will apply to the production servers. Usually there are 2 to 3 weeks gap between the patches being applied to non-production servers and production servers.

The 2 to 3 weeks gap, there might be new development to the patches. If this situation arises, the patches applied to non-production and production might be different if the command "yum update".

In order to achieve consistency by applying the same patches and the dependencies in different time to the servers, is there a way or command to download the patches and dependencies, and then "yum update" from these downloaded patches and dependencies?
 
Old 09-16-2015, 11:32 AM   #2
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,242
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Have you thought about creating your own repo and then applying know good patches to it and let the production machine update itself from there?
 
Old 09-16-2015, 06:12 PM   #3
LYC
Member
 
Registered: Jan 2014
Posts: 107

Original Poster
Rep: Reputation: Disabled
Can be explore, is it difficuit to set up and how to go about it?
 
Old 09-16-2015, 07:02 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://www.google.com/?gws_rd=ssl#q...tory&tbs=qdr:y
 
Old 09-17-2015, 02:54 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
set up a local repo

cent even set up a wiki for people
( there is a link on the cent page
this IS in there
https://wiki.centos.org/HowTos/CreateLocalRepos

or
For RHEL

this is even IN the install guide in the docs that are available to everyone
 
Old 09-18-2015, 02:03 AM   #6
LYC
Member
 
Registered: Jan 2014
Posts: 107

Original Poster
Rep: Reputation: Disabled
With this setup, let's say I would like to have an update for openssl, do I have to find out all the dependencies for openssl and download the dependencies separately ? or Only download the openssl package and all dependencies are already included?
 
Old 09-18-2015, 08:25 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,458

Rep: Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602Reputation: 2602
"yum" was invented to take care of dependencies

there has been no need to manually look for things for the last 8 years
 
Old 09-21-2015, 02:23 PM   #8
lazydog
Senior Member
 
Registered: Dec 2003
Location: The Key Stone State
Distribution: CentOS Sabayon and now Gentoo
Posts: 1,242
Blog Entries: 3

Rep: Reputation: 194Reputation: 194
Quote:
Originally Posted by John VV View Post
"yum" was invented to take care of dependencies

there has been no need to manually look for things for the last 8 years
This statement is both true and false at the same time.

True in the sense that as long as the dependencies are in a configured repo.
False in the sense that is the dependencies are not in the repo you need to find them.

So since the OP would be using his own repo he would need to ensure that all dependencies are within his repo.
 
  


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
queries cadb4u Linux - Newbie 1 08-18-2011 08:07 AM
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
problem after yum yum yum (delicious) alaios Fedora 3 01-14-2009 03:34 AM
***Queries for all of u***** LinuxRam Linux - General 6 08-02-2004 02:09 PM

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

All times are GMT -5. The time now is 04:00 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