Hello,
I researched the switch from Debian 8 to 9 and then 9 to 10.
Can tell me if the following prossedure is correct.
Update Debian 8 to Debian 10
The update will be done in 2 steps.
First step: switch from Debian 8 to Debian 9
Second step: switch from Debian 9 to Debian 10
1 - Debian 8 update
We update Debian 8
Command :
apt-get update apt-get upgrade apt-get dist-upgrade
2 - Modification of deposits
We modify the sources.list file and all the files contained in sources.list.d by modifying jessie by stretch.
As I am not comfortable with the sed command I will open each file with nano and edit them manually.
It’s longer but safer for me.
Command :
cd / etc / apt
nano soures.list
So before I have:
deb Index of /debian/ jessie main contrib non-free
deb-src Index of /debian/ jessie main contrib non-free
After I must have:
deb Index of /debian/ stretch main contrib non-free
deb-src Index of /debian/ stretch main contrib non-free
Do this on each line contained in the sources.list file.
Question:
How do I modify the sources of Virtualmin?
Currently the sources of Virtualmin are:
deb http: // XXXXXXX: XXXXXXX@software.virtualmin.com/debian/ virtualmin-jessie main
deb http: // XXXXXXX: XXXXXXX@software.virtualmin.com/debian/ virtualmin-universal main
Should I change them for:
deb Index of /vm/6/gpl/apt/dists/virtualmin-stretch main
deb Index of /vm/6/gpl/apt/dists/virtualmin-universal main
I saw this in this thread on the forum Upgrade Debian Jessie to Buster (10) - #6 by Joe
Command :
/etc/apt/soures.list.d
ls
nano on_each_file
Change jessie to stretch and save the change.
3 - Update of deposits:
We update the repositories according to the changes we have just made.
Command :
apt-get update
4 - We move to Debian 9
We are updating the packages to Debian version 9.
Command:
apt-get upgrade apt-get dist-upgrade
5 - We restart the server
We restart the server and check that we have successfully switched to Debian 9
Command:
cat / etc / os-release
6 - We check that everything is working
We review the different services and we test everything we can …
When everything is OK we go to Debian 10.
7 - Update to Debian 10
For the update to Debian 10 we take points 1 to 6 except that on point 2 we no longer replace jessie by sretch but stretch by buster.
Thank you in advance for your return.