![]() ![]() ![]() ![]() Here's an example of the above commands' output related to the packages in the example above: ~]# yum update -assumeno | grep -E 'dbus|java|unzip' The problem is that yum update -assumeno and yum list updates both output the list of packages in a totally distinct format than what yum update-to expects. So I'm trying to determine all the packages that have an update available for them on my server and prepare a command using yum update-to that will list exactly the packages and their versions to be updated. After validation, we'll schedule a change ticket for production and run that same/vetted yum update-to command (as opposed to the potentially non-deterministic & non-idempotent yum update command) on production at a later date. ![]() Before I update them on production, I want to update them on staging and verify that the changes don't break our server's applications. I want to update all the packages on my production server running CentOS7. How can I get a space-separated list of the packages with pending updates on CentOS7 in the format that is required for passing as an argument to the yum update-to command? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |