ltpitt
asked on
Update RedHat with a few packages exception
I have a challenge related to updating a RedHat server.
On this server several packages need NOT to be updated because of application dependencies.
For this reason when I update the server I do something along the line of:
1) Check if any available patch can be seen, if so save result to file: sudo yum check-update | awk '(NR >=4) {print $1;}' > /tmp/update_packages
2) Then I remove the "blacklisted" packages from /tmp/update_packages
3) Run yum update against the obtained file
While this procedure is ok what can happen if one of the update packages has one of the blacklisted ones as dependency is that also the blacklisted one will be updated, right?
Is there any other procedure that you can suggest for this kind of scenario?
Thanks for your time and help.
On this server several packages need NOT to be updated because of application dependencies.
For this reason when I update the server I do something along the line of:
1) Check if any available patch can be seen, if so save result to file: sudo yum check-update | awk '(NR >=4) {print $1;}' > /tmp/update_packages
2) Then I remove the "blacklisted" packages from /tmp/update_packages
3) Run yum update against the obtained file
While this procedure is ok what can happen if one of the update packages has one of the blacklisted ones as dependency is that also the blacklisted one will be updated, right?
Is there any other procedure that you can suggest for this kind of scenario?
Thanks for your time and help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad it helped :)
ASKER
Thanks!