0

I am trying to upgrade security patches on production boxes. Need to know how can i plan this activity. I also need to make sure that in case something is wrong then how do i roll the updates.

  • It is unclear what you are doing / wanting . If you are writing your own patches , or you are downloading patches from somewhere and using something other then sudo apt-get update && sudo apt-get upgrade support will be likely limited. – Panther Mar 19 '15 at 11:34
  • Well i am using official ubuntu repo.I am looking for an option to install specific security update and Just in case anything goes wrong with any specific update ,I am looking for option to have a rollback to previous state. – Ravindra Yadav Mar 19 '15 at 12:08
  • 1
    Then you simply keep your system up to date and updates, including security patches, will be installed when they are available. You may also automate security only updates. http://askubuntu.com/questions/194/how-can-i-install-just-security-updates-from-the-command-line – Panther Mar 19 '15 at 12:10
  • I want to do it manually.Is there any option to do that. – Ravindra Yadav Mar 19 '15 at 12:18
  • sudo apt-get update && sudo apt-get upgrade – Panther Mar 19 '15 at 12:20
  • see also http://askubuntu.com/questions/152179/how-do-i-check-only-security-updates-from-the-command-line – Panther Mar 19 '15 at 12:39

1 Answers1

1

You do that by using common business practices:

  1. Read the Ubuntu Security notices
  2. Keep system back-ups of your system (you're definitely user type 4)
  3. Have a test system (virtual or not) to test updates before rolling them out
  4. Use secure passwords and don't re-use them.
  5. Install software intelligently and keep it updated as well.
  6. etc...
Fabby
  • 34,259
  • Don't thank me! ;-) If you like my answer, just click the little grey under the "0" now turning it into beautiful green. If you do not like my answer, click on the little grey down-arrow below the 0, and if you really like my answer, click on the little grey checkmark and the little up-arrow... If you have any further questions, go to http://askubuntu.com/questions/ask – Fabby Mar 24 '15 at 15:03