Junkman Posted September 27, 2022 Share Posted September 27, 2022 (edited) Hi, Armbian users. I wonder is it safe to run `do-release-upgrade` to upgrade my Armbian + Ubuntu system from `20.04` to `22.04`? ``` New release '22.04.1 LTS' available. Run 'do-release-upgrade' to upgrade to it. ``` Edited September 27, 2022 by Junkman 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted September 27, 2022 Share Posted September 27, 2022 From what I've read regarding this it seems safe if you freeze firmware packages beforehand. Those dist-upgrades are neither tested nor supported simply because Armbian does not have the resources to test those. Therefore if something goes wrong you are on your own. In any case create a backup of your system beforehand. 0 Quote Link to comment Share on other sites More sharing options...
Junkman Posted September 28, 2022 Author Share Posted September 28, 2022 (edited) > From what I've read regarding this it seems safe if you freeze firmware packages beforehand. Thanks for your reply. but how can I freeze the firmware packages before upgrading? ``` $ cat /etc/os-release NAME="Ubuntu" VERSION="20.04.5 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Armbian 22.08.2 Focal" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal $ apt search firmware | grep -w installed WARNING: apt does not have a stable CLI interface. Use with caution in scripts. armbian-firmware/focal,focal,now 22.08.2 all [installed] ``` Edited September 28, 2022 by Junkman 0 Quote Link to comment Share on other sites More sharing options...
Junkman Posted September 28, 2022 Author Share Posted September 28, 2022 Oh, I see. https://www.cyberciti.biz/faq/apt-get-hold-back-packages-command/ So I need to `sudo apt-mark hold armbian-firmware` before upgrading? 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted September 28, 2022 Share Posted September 28, 2022 Simply use armbian-config to freeze all packages involved 0 Quote Link to comment Share on other sites More sharing options...
Myron Posted September 28, 2022 Share Posted September 28, 2022 I didn't know about the process of freezing Armbian packages before performing a do-release-upgrade. Luckily it all worked and recently a firmware and kernel upgrade was applied and my SoC board is still working, but better to be safe than sorry. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.