Jump to content

Recommended Posts

Posted

I just installed armbian buster on my NAS (odroid HC2). Everything works perfectly.

 

However, as debian bullseye has become stable and I expect this to happen for armbian also in the near future, I am thinking about how to do the upgrade. This is mainly because all my other boxes run bullseye and administration becomes a lot easier if all systems run the same version. In addition, I will have to do the update anyways at some point in time and therefor I want do it when armbian bullseye becomes stable.

 

Reading through the forum I found out it is not supported. However, I am using debian now since woody and have done a lot of upgrades since then, I think I will try it for armbian also (of course after making a full backup).

 

I already read that i should do a freeze in armbian-config (disable kernel upgrades). Having done this, can I just start upgrading to bullseye the debian way (as it is described in the bullseye release notes). And after finishing this I would disable the freeze, which would allow the kernel update also? 

 

Any thoughts on this procedure? Anything else I have to do and that would be different to vanilla debian?

 

Regards,

Jürgen

Posted
vor 14 Stunden schrieb T-6:

I would just make a backup of the SD card and try.

 

Please report back about your experience ;)

That is my plan. But I was hoping that somebody would share his experience. I do not believe nobody tried this before. I am still unsure how to deal with the kernel. What I will try is freezing it, doing the upgrade/dist-upgrade and the unfreeze the kernel and do a kernel upgrade.

 

As armbian bullseye is not yet stable I will wait until it is. And report how it worked after the upgrade. Hope it works because installing and configuring everything was a lot of work and I don't want to do this with every new debian release.

 

Jürgen

Posted

I did the upgrade from Buster to Bullseye. 

 

As far as steps:

- Backup

- apt update & full-upgrade

- Disable /etc/apt/sources.list.d/armbian.list all entries to stop armbian from upgrading

- Use normal debian upgrade steps -> Change release in /etc/apt/sources.list 

- apt update & full-upgrade

- Restart, validate working system

- Update /etc/apt/sources.list.d/armbian.list with new release (buster->bullseye)

- apt update & full-upgrade

- Should be done. 

 

Take extra care for some new/renamed packages. armbian-bsp-cli-<BOARD> is new. Older armbian-root-* packages dont exist anymore (I think).

 

For me this worked flawless, you might have to fix some dependency problems, and make sure at least some working version of armbian-image-* armbian-dtb-* is installed before rebooting.

Posted

I now did the update to bullseye. Worked without problem like described by Heisath. Here is what I did in detail:

 

# apt update
# apt upgrade
# nano /etc/apt/sources.list.d/armbian.list    ->  comment out the armbian repo

# nano /etc/apt/sources.list                           ->  change from buster to bullseye

# apt update
# apt upgrade --without-new-pkgs
# apt full-upgrade
# reboot

 

# nano /etc/apt/sources.list.d/armbian.list   -> reenable armbian repo
# apt update
# apt upgrade

 

 

Zitat

make sure at least some working version of armbian-image-* armbian-dtb-* is installed before rebooting.

 

On my system it was not "armbian-image-* but "linux-image-current-odroidxu4".

 

What took me some time is checking the changes in conf-files. Armbian did some changes and when installing a new version I was asked whether I want to use the new (bullseye) version or the existing ones (armbian changed buster). Normally I want to have a  mix: The new config file (there might be some new options), but with all the changes that had been applied to the old one (mostly done by armbian). Would be easier if armbian would mark all the needed changes.

 

But now its done. everything works.

 

jba

 

 

 

Posted

In /etc/apt/sources.list
i had to change

deb http://security.debian.org/ bullseye/updates main contrib non-free

to

deb http://security.debian.org/debian-security bullseye-security main contrib non-free

 

is it correct?
the boot still say buster:
 

lab1@192.168.0.14's password:
  ___  ____  _   ____   ____
 / _ \|  _ \(_) |  _ \ / ___|
| | | | |_) | | | |_) | |
| |_| |  __/| | |  __/| |___
 \___/|_|   |_| |_|    \____|

Welcome to Armbian 21.02.3 Buster with Linux 5.10.60-sunxi

System load:   65%              Up time:       0 min
Memory usage:  16% of 967M      IP:            192.168.0.14
CPU temp:      49°C             Usage of /:    27% of 15G

 

but htop correctly report bullseye

 

Posted

In my (bullseye) sources.list I have

 

deb http://security.debian.org/ bullseye-security main contrib non-free
 

This works. I cannot tell if your line also works. If its wrong, apt should tell you.

 

Strange that your system still says its buster. Did you do all the steps as described in my post? Any error messages?

 

Whats in /etc/debian version?

 

jba

Posted
1 hour ago, jba said:

Strange that your system still says its buster.

Armbian rootfs package might still be on Buster which could cause this.

Posted
On 12/19/2021 at 5:18 PM, jba said:

I now did the update to bullseye. Worked without problem like described by Heisath. Here is what I did in detail:

 

# apt update
# apt upgrade
# nano /etc/apt/sources.list.d/armbian.list    ->  comment out the armbian repo

# nano /etc/apt/sources.list                           ->  change from buster to bullseye

# apt update
# apt upgrade --without-new-pkgs
# apt full-upgrade
# reboot

 

# nano /etc/apt/sources.list.d/armbian.list   -> reenable armbian repo
# apt update
# apt upgrade

 

jba

 

 

 

 

Now that the Jammy image is out - how to upgrade it from Bullseye to this?

I guess that we should updtae in armbian repo from bullseye to jammy

but looking at the sources.list - the repos there (http://ftp.debian.org/debian/dists/) doesn't contain any jammy versions.

 

Any tips on that?

 

Posted
3 hours ago, GuyKhmel said:

Now that the Jammy image is out - how to upgrade it from Bullseye to this?

You don't. Ubuntu and Debian base are incompatible.

Posted
On 2/2/2022 at 2:40 PM, Lamerjack said:

the boot still say buster:
 

lab1@192.168.0.14's password:
  ___  ____  _   ____   ____
 / _ \|  _ \(_) |  _ \ / ___|
| | | | |_) | | | |_) | |
| |_| |  __/| | |  __/| |___
 \___/|_|   |_| |_|    \____|

Welcome to Armbian 21.02.3 Buster with Linux 5.10.60-sunxi

System load:   65%              Up time:       0 min
Memory usage:  16% of 967M      IP:            192.168.0.14
CPU temp:      49°C             Usage of /:    27% of 15G

 

but htop correctly report bullseye

 


Just sharing my experience when upgrading from Buster to Bullseye on an Orange Pi Zero: I had the same issue with the message of the day still displaying "Buster".
I had to remove the following package:
 

apt remove linux-buster-root-current-orangepizero

 

then install this one

apt install armbian-bsp-cli-orangepizero

 

Posted
On 12/19/2021 at 4:18 PM, jba said:

I now did the update to bullseye. Worked without problem like described by Heisath. Here is what I did in detail:

 

# apt update
# apt upgrade
# nano /etc/apt/sources.list.d/armbian.list    ->  comment out the armbian repo

# nano /etc/apt/sources.list                           ->  change from buster to bullseye

# apt update
# apt upgrade --without-new-pkgs
# apt full-upgrade
# reboot

 

# nano /etc/apt/sources.list.d/armbian.list   -> reenable armbian repo
# apt update
# apt upgrade

 

 

 

On my system it was not "armbian-image-* but "linux-image-current-odroidxu4".

 

What took me some time is checking the changes in conf-files. Armbian did some changes and when installing a new version I was asked whether I want to use the new (bullseye) version or the existing ones (armbian changed buster). Normally I want to have a  mix: The new config file (there might be some new options), but with all the changes that had been applied to the old one (mostly done by armbian). Would be easier if armbian would mark all the needed changes.

 

But now its done. everything works.

 

jba

 

 

 

 

Holidays are here.. So i was thinking i going to upgrade my N2

 

I did this part like you say

Only no luck @ all.

 nano 4.8                                                        /etc/apt/sources.list
deb http://ports.ubuntu.com/ bullseye main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ focal main restricted universe multiverse

deb http://ports.ubuntu.com/ bullseye-security main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ focal-security main restricted universe multiverse

deb http://ports.ubuntu.com/ bullseye-updates main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ focal-updates main restricted universe multiverse

deb http://ports.ubuntu.com/ bullseye-backports main restricted universe multiverse
#deb-src http://ports.ubuntu.com/ focal-backports main restricted universe multiverse

 

I googled some thing

Looks there is ubuntu in stead of armbian?

I came from focal...

 

Only what do i need tho chage without brick my N2?

And i do have a working bullseye on my N2:-)

 

I did this trick by my Xu-4 and is working fine.

 

Some error  in dutch 😞 

pi@odroidn2:~$ sudo apt full-upgrade
Pakketlijsten worden ingelezen... Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen... Klaar
Opwaardering wordt doorgerekend... Klaar
0 opgewaardeerd, 0 nieuw geïnstalleerd, 0 te verwijderen en 0 niet opgewaardeerd.
pi@odroidn2:~$ sudo nano /etc/apt/sources.list
pi@odroidn2:~$ sudo apt-get update
Genegeerd:1 http://ports.ubuntu.com bullseye InRelease
Genegeerd:2 http://ports.ubuntu.com bullseye-security InRelease
Genegeerd:3 http://ports.ubuntu.com bullseye-updates InRelease
Genegeerd:4 http://ports.ubuntu.com bullseye-backports InRelease
Fout:5 http://ports.ubuntu.com bullseye Release
  404  Not Found [IP: 185.125.190.36 80]
Geraakt:6 https://packages.grafana.com/oss/deb stable InRelease
Fout:7 http://ports.ubuntu.com bullseye-security Release
  404  Not Found [IP: 185.125.190.36 80]
Fout:8 http://ports.ubuntu.com bullseye-updates Release
  404  Not Found [IP: 185.125.190.36 80]
Geraakt:9 https://repos.influxdata.com/debian focal InRelease
Fout:10 http://ports.ubuntu.com bullseye-backports Release
  404  Not Found [IP: 185.125.190.36 80]
Geraakt:11 https://deb.nodesource.com/node_14.x focal InRelease
Pakketlijsten worden ingelezen... Klaar
E: De pakketbron 'http://ports.ubuntu.com bullseye Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.
E: De pakketbron 'http://ports.ubuntu.com bullseye-security Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.
E: De pakketbron 'http://ports.ubuntu.com bullseye-updates Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.
E: De pakketbron 'http://ports.ubuntu.com bullseye-backports Release' heeft geen Release-bestand.
N: Bijwerken van de pakketlijst uit een dergelijke pakketbron kan niet veilig gebeuren en is daarom standaard uitgezet.
N: Zie de man-pagina apt-secure(8) voor details over het aanmaken van een pakketbron en over de configuratie langs gebruikerskant.

 

Hope some can help this windows dombo..

 

Like to hear.

 

 

Posted
22.11.2021 в 14:40, Heisath сказал:

Backup

- apt update & full-upgrade

- Disable /etc/apt/sources.list.d/armbian.list all entries to stop armbian from upgrading

- Use normal debian upgrade steps -> Change release in /etc/apt/sources.list 

- apt update & full-upgrade

- Restart, validate working system

- Update /etc/apt/sources.list.d/armbian.list with new release (buster->bullseye)

- apt update & full-upgrade

- Should be done. 

This works like a charm

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