AlBundy33
Posts: 7
Joined: Mon Jun 24, 2019 4:42 pm

Upgrade from stretch to buster possible?

Mon Jun 24, 2019 4:50 pm

I currently have a Raspberry PI 3 (not B+) with installed raspbian lite (stretch).

Is it possible to savely upgrad to buster?

Do I have more steps to do than
# be sure to be up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# now updated files in /etc/apt/sources.list from stretch to buster
# upgrade to buster
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

As soon as the Pi 4 is available on amazon I will order one. :-)
--> Hopefully I can put the sd-card from my Pi 3 to the new one.

Al

fruitoftheloom
Posts: 20934
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Upgrade from stretch to buster possible?

Mon Jun 24, 2019 5:00 pm

AlBundy33 wrote:
Mon Jun 24, 2019 4:50 pm
I currently have a Raspberry PI 3 (not B+) with installed raspbian lite (stretch).

Is it possible to savely upgrad to buster?

Do I have more steps to do than
# be sure to be up-to-date
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
# now updated files in /etc/apt/sources.list from stretch to buster
# upgrade to buster
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade

As soon as the Pi 4 is available on amazon I will order one. :-)
--> Hopefully I can put the sd-card from my Pi 3 to the new one.

Al

sources.list.d/raspi.list

needs to be changed to Buster as well, though it has been recommended to start with a fresh install.

Code: Select all

sudo apt update
sudo apt full-upgrade
Retired disgracefully.....

gordon77
Posts: 4242
Joined: Sun Aug 05, 2012 3:12 pm

Re: Upgrade from stretch to buster possible?

Mon Jun 24, 2019 5:12 pm

This is what the Pi4 blog item says about buster..

Some advice for those who are keen to get going with Raspbian Buster right away: we strongly recommend you download a new image, rather than upgrading an existing card. This ensures that you’re starting with a clean, working Buster system. If you really, really want to try upgrading, make a backup first

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 378
Joined: Fri Dec 26, 2014 11:02 am

Re: Upgrade from stretch to buster possible?

Mon Jun 24, 2019 5:24 pm

There will be some advice on migrating from stretch to buster in tomorrow's blog post.

We don't support it - we recommend starting with a clean image - but there are some instructions you can try at your own risk.

AlBundy33
Posts: 7
Joined: Mon Jun 24, 2019 4:42 pm

Re: Upgrade from stretch to buster possible?

Mon Jun 24, 2019 7:00 pm

I'll make an backup and try the upgrade.
Starting with a clean image is not really an option because I had to reconfigure plex, tvheadend, pihole and so on. :-/

AlBundy33
Posts: 7
Joined: Mon Jun 24, 2019 4:42 pm

Re: Upgrade from stretch to buster possible?

Mon Jun 24, 2019 10:51 pm

After several apt upgrade/dist-upgrade it seems that butcher is running now.

I just hat to modify the lighthttpd.conf for pihole because lighthttpd changed a filename in the latest release.

After that I've tried to run rpi-update that gave me a warning that the boot partition is too small for the pi 4 (60MB) and recommends 256.MB
So I've tried to resize the partition on my pc to 256 MB with gparted.
I don't know why but now by boot Partition has 255mb and there is 1mb free space between boot and data Partition.

But rpi-update worked and so it seems I'm up-to-date now.

Now I need a pi 4. :-)

User avatar
soslug
Posts: 41
Joined: Mon May 21, 2012 12:31 pm
Location: Southend on Sea
Contact: Website Yahoo Messenger

Re: Upgrade from stretch to buster possible?

Wed Jun 26, 2019 7:06 am

I have just upgrade my Raspberry Pi 3 from stretch to buster for the most part without issue.

This is the only issue I had after an upgrade

sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
PARTSIZE:44979712
Partition size 42M may not be sufficient for new Pi4 files
This could result in a system that will not boot.
256M FAT partition is recommended. Ensure you have a backup if continuing.
Would you like to proceed? (y/N)

I said No on this occasion as it was likely I would not be able to boot the device after.

These are the commands used

grep -rl stretch /etc/apt/ | sudo xargs sed -i 's/stretch/buster/g'
sudo apt update && sudo apt dist-upgrade -yy && sudo apt full-upgrade

sudo reboot

then reconfigure through

raspi-config

In here in needed to set my auto login for desktop

You should also note the upgrade was to stretch desktop-lite with scratch and python added prior to distribution upgrade. Still all seems to have gone well.
IPFreely, to weed the network demons that dwell in them their Windows!

fruitoftheloom
Posts: 20934
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Upgrade from stretch to buster possible?

Wed Jun 26, 2019 7:13 am

soslug wrote:
Wed Jun 26, 2019 7:06 am
I have just upgrade my Raspberry Pi 3 from stretch to buster for the most part without issue.

This is the only issue I had after an upgrade

sudo rpi-update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
*** Performing self-update
*** Relaunching after update
*** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
PARTSIZE:44979712
Partition size 42M may not be sufficient for new Pi4 files
This could result in a system that will not boot.
256M FAT partition is recommended. Ensure you have a backup if continuing.
Would you like to proceed? (y/N)

I said No on this occasion as it was likely I would not be able to boot the device after.

These are the commands used

grep -rl stretch /etc/apt/ | sudo xargs sed -i 's/stretch/buster/g'
sudo apt update && sudo apt dist-upgrade -yy && sudo apt full-upgrade

sudo reboot

then reconfigure through

raspi-config

In here in needed to set my auto login for desktop

You should also note the upgrade was to stretch desktop-lite with scratch and python added prior to distribution upgrade. Still all seems to have gone well.

The steps for going from Stretch to Buster are now in the Buster Blog:

https://www.raspberrypi.org/blog/buster ... -raspbian/
Retired disgracefully.....

Return to “Raspbian”