R-A wrote: ↑
Mon Jun 25, 2018 10:57 am
Can one easily upgrade to the next version, without having to download the ISO and reinstall the microSD card everytime?
I want to use Raspberry "in the wild", where remote access via SSH and VPN is the only access. Thus, upgrading the OS would be rather difficult.
This is the information from the Raspberry Pi Foundation when Raspbian Stretch was released.
Scroll down to the section headed How to get Raspbian Stretch
Note that they say, regarding upgrading:
Don't do it.
If you do it, it may not work.
If you still insist, do it this way:
To upgrade, first modify the files /etc/apt/sources.list and /etc/apt/sources.list.d/raspi.list. In both files, change every occurrence of the word ‘jessie’ to ‘stretch’. (Both files will require sudo to edit.)
Then open a terminal window and execute
sudo apt-get update
sudo apt-get -y dist-upgrade
Answer ‘yes’ to any prompts. There may also be a point at which the install pauses while a page of information is shown on the screen – hold the ‘space’ key to scroll through all of this and then hit ‘q’ to continue.
I heeded the first piece of advice, so I have never done this. But I assume that the Raspberry Pi Foundation probably know how to configure their own OS. And after this length of time someone would have pointed out any errors...
Edit: subsequently added - on re-reading I see I have referred to upgrading from the previous
version to the current
version. That may not be what you meant by the next