On 26/08/2019 20:57, Martin Gregorie wrote:
> On Mon, 26 Aug 2019 20:37:53 +0100, druck wrote:
>
>> On 26/08/2019 17:25, Martin Gregorie wrote:
>>> I thought my recent in-situ upgrade (Stretch -> Buster) went
>>> surprisingly well seeing that it was the first Raspbian attempt at
>>> in-situ upgrades. By and large it 'just worked' even though it took its
>>> time (but then so do Fedora in-situ upgrades and they've been doing
>>> them for the last 10 distro versions). But, you MUST have Stretch fully
>>> updated before attempting it
>>
>> Over the years I've in-situ upgraded from squeeze > wheezy > jessie >
>> stretch > buster, plus upgraded the Pi its running on from B (256M) > B
>> (512MB) > 2B > 3B > 3B+ > 4B. Just make sure its up to date on the
>> current version and fully backed up before you begin.
>>
> Yep, agreed, but the Stretch->Buster upgrade was rather different to
> simply editing a few files and running the standard update again like we
> did previously.
I didn't think it was any different than previous ones. Update the apt
sources, and do a full upgrade. There were a few obsolete packages that
could be removed afterwards, but that's common.
My main problem was some of images were getting low on space for storing
all the package upgrades, fixed by removing the swap file temporarily.
But I will need to re-jiggle partitions before the next upgrade.
I upgraded my dozen Pis to Buster just before getting a new Pi 4, then
moved the image from the Pi 3B+ to the Pi 4. The only thing needed
before the move was to do a rpi-update to get the new Pi 4 specific
files in to /boot. That's been necessary when moving up each Pi generation.
---druck