dev-null Posted May 7, 2022 Posted May 7, 2022 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! 0 Quote
Dieter Posted August 31, 2022 Posted August 31, 2022 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 0 Quote
Fancied5140 Posted September 3, 2022 Posted September 3, 2022 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 0 Quote
Werner Posted September 3, 2022 Posted September 3, 2022 20 minutes ago, Fancied5140 said: Does this work for an upgrade from Bullseye to Jammy on the Orange Pi PC 2 as well, No because Bullseye is Debian and Jammy is Ubuntu. While both using deb packages they are incompatible userspaces. So this "upgrade" is impossible. 0 Quote
Fancied5140 Posted September 3, 2022 Posted September 3, 2022 Alright, thanks for clearing this up :) 0 Quote
mongui89 Posted October 24, 2022 Posted October 24, 2022 I confirm that on a PC2 it has worked correctly. Thank you 0 Quote
slowhawkeclipse Posted November 16, 2022 Posted November 16, 2022 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. 0 Quote
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.