From 159013326e13848ce53e3e36386665f2c9cf61d5 Mon Sep 17 00:00:00 2001 From: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Date: Thu, 5 Sep 2024 15:13:11 +0200 Subject: [PATCH] docs: document how to update ubuntu in dev-desktops --- service-catalog/dev-desktops/how-to-update-system.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/service-catalog/dev-desktops/how-to-update-system.md b/service-catalog/dev-desktops/how-to-update-system.md index 77ba520..833356b 100644 --- a/service-catalog/dev-desktops/how-to-update-system.md +++ b/service-catalog/dev-desktops/how-to-update-system.md @@ -29,3 +29,13 @@ are no longer needed: ```shell sudo apt autoremove ``` + +## Update Ubuntu + +To update the Ubuntu version: + +1. Update the packages as described above. +2. Run `sudo do-release-upgrade` to upgrade to the next LTS version. +3. The system should reboot automatically after the upgrade. +4. Run `sudo apt --fix-broken install` to fix any broken packages. +5. Apply the Ansible playbook again to ensure it still works