Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Manually upgrading Armbian Focal -> Jammy on ODroid N2+

Featured Replies

Hello everyone,

 

Upgrading from distro isn't supported officially but I tried it anyways and thought I should share my findings. In short, it worked for me. Others have reported issues so maybe we can figure out what causes these issues.

My N2+ is fairly vanilla, so I didn't heavily modify it.

Running 5.10.x kernel since that is recommended for de N2+

 

Step 1. Fully upgrade your system on Focal


 

sudo apt-get update

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

Step 2. Shutdown you N2+ and make an image backup of your emmc using dd or Win32DiskImager in case something goes wrong

 

Step 3. Boot up your N2+ again, disable all 3rd-party applications and PPA and change the release your sources list.


 

sudo sed -i s/deb/#deb/ /etc/apt/sources.list.d/*.list

sudo sed -i s/focal/jammy/ /etc/apt/sources.list

 

Step 4. Update sources

 

sudo apt-get update

 

Step 5. This is were the tricky part starts, upgrading packages. Apt will ask to automatically restart services, allow this. Apt will also ask to replace configuration files, personally I kept all my configurations after manually checking them.


 

sudo apt-get upgrade

sudo apt-get dist-upgrade

 

Step 6. Reboot the device

 

And if everything works fine

 

Step 7. Re-enable 3rd party applications and PPA and change the release


 

sudo sed -i s/#deb/deb/ /etc/apt/sources.list.d/*.list

sudo sed -i s/focal/jammy/ /etc/apt/sources.list.d/*.list

sudo apt-get update

sudo apt-get dist-upgrade

 

Step 8. Do a last reboot and done, you should be on Jammy.

 

 

Remember manually upgrading like this is not officially supported by armbian!

Hi, 

I can confirm this works, had done this on many Debian machines many years back. Now on Armbian it worked fine  on my N2+ and a BananapiPro.

Many regards, Dieter

Does this work for an upgrade from Bullseye to Jammy on the Orange Pi PC 2 as well,

if I replace this line from step 3:

 

sudo sed -i s/focal/jammy/ /etc/apt/sources.list

 

With this one?

sudo sed -i s/bullseye/jammy/ /etc/apt/sources.list

 

I did this with a RockPro64 and it worked great. I had to edit one of the sources .list files additionally to change a focal to jammy, don't know why the sed didn't catch it. ZFS even stayed configured through the upgrade. I had to reenable the wireguard service though.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.