Stretch to Buster Upgrade

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
them
Posts: 2
Joined: Thu Aug 08, 2019 1:58 am

Stretch to Buster Upgrade

Post by them »

Hello,

Do i need to backup and re-flash with the new image to get the job done, or can i also wait for a dietpi-update that automates the transition?

Also if there is no automated transition with dietpi-update, by staying in Stretch will i still be getting dietpi version updates?

Thank you for clarifying this

User avatar
johnvick
Legend
Posts: 689
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: Stretch to Buster Upgrade

Post by johnvick »

As to the first question it will not happen automatically. Either start anew or clone your card and follow one of the Stretch -> Buster upgrade guides on the web. I did this on an Odroid C2 and it worked fine but no guarantees, hence trying it first on a cloned SD card.

I'm sure the Stretch version of DietPi will continue to be updated for a while but only @MichaIng can answer that question.

John

User avatar
MichaIng
Site Admin
Posts: 1959
Joined: Sat Nov 18, 2017 5:21 pm

Re: Stretch to Buster Upgrade

Post by MichaIng »

@them
It is generally not recommended to do distro (Debian) major version upgrades. I mean in most cases it works well, perhaps some manual config adjustments required but nothing urgent. But in rare cases issues CAN be much larger. For this reason no distro would ever automate this upgrade, nor support it, neither do we.

If you want to take the risk, see: viewtopic.php?p=18988#p18988

I will see if I can sum up all relevant information in our Wiki or here in a sticky thread + give some more details about which software titles would definitely require a reinstall due to distro specific packages/configs outside of what APT does.
We will neither officially support this, nor invest much time to do individual support if issues occur. However as many users will do it regardless, it makes sense to help with useful information to avoid them running into issues that are expected to occur in the first place.

them
Posts: 2
Joined: Thu Aug 08, 2019 1:58 am

Re: Stretch to Buster Upgrade

Post by them »

thank you for your replies @johnvick and @MichaIng

i ll try to do it after SDcloning cause nothing to lose anyway. If all go ok, will my system be back on track on the diepi-update Buster release channel?

Also good call for adding info in the Wiki and it is completely understandable this feature not to be supported, makes total sense.

User avatar
MichaIng
Site Admin
Posts: 1959
Joined: Sat Nov 18, 2017 5:21 pm

Re: Stretch to Buster Upgrade

Post by MichaIng »

@them
There is no dietpi-update Buster channel. Debian distro versions and DietPi versions are handled independently. The current DietPi v6.25 supports Debian Jessie, Stretch and Buster. Due to the recent official Debian Buster release, meaning it changed from testing to stable suite, the upcoming DietPi v6.26 supports Debian Stretch, Buster and Bullseye (new testing version).

The last two commands I provided via the link (alternatively a reboot) assure that DietPi scripts detect the system as being Debian Buster and properly do software installs and other steps in a Buster-compatible way.

rauldux
Posts: 1
Joined: Sun Oct 27, 2019 7:17 am

Re: Stretch to Buster Upgrade

Post by rauldux »

@MichaIng
I understand to install a fresh dietpi buster image from scratch, but afterwards do I realy have to setup, install and configure everything new then? I mean all the servers and services I have on my strech image. Is there not something like a migration tool available?

yaslaw
Posts: 4
Joined: Wed Jan 30, 2019 6:58 pm

Re: Stretch to Buster Upgrade

Post by yaslaw »

I followed instructions from the link @them posted, and upgraded my stretch to buster flawlessly.

simes_pep
Posts: 1
Joined: Sat Aug 24, 2019 7:12 pm

Re: Stretch to Buster Upgrade

Post by simes_pep »

I too was able to update my RPi2 from Stretch to Buster, with apt based update/upgrade

User avatar
WarHawk
Posts: 560
Joined: Thu Jul 20, 2017 7:55 am

Re: Stretch to Buster Upgrade

Post by WarHawk »

simes_pep wrote:
Mon Nov 04, 2019 7:34 am
I too was able to update my RPi2 from Stretch to Buster, with apt based update/upgrade
did you do the dist-upgrade option?

User avatar
MichaIng
Site Admin
Posts: 1959
Joined: Sat Nov 18, 2017 5:21 pm

Re: Stretch to Buster Upgrade

Post by MichaIng »

Without apt-get dist-upgrade/apt full-upgrade it wouldn'tbe possible ;).

I'm glad that it went well for so much users. Also from what I read around it seems to be much safer since Buster. I just remember Wheezy => Jessie which was a catastrophe in my case and Jessie => Stretch which as well left much setup/configs in the middle, where the old configs simply didn't match 100% to what is expected in Stretch. But it seems that with Buster devs are taking care more carefully the transition, package pre/postinst-wise.

Probably we can offer a script that does distro upgrades in the most careful way, including possibly necessary software reinstalls and placing some flag that we can track this on bug reports :?.

Post Reply