Jump to content

Is it safe to run `do-release-upgrade` for Armbian 22.08.2 Focal?


Recommended Posts

Posted (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 by Junkman
Posted

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.

Posted (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 by Junkman
Posted

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.

 

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines