Interesting user name, and welcome to the forum,...
How to edit the sources.list file on Debian================
1st hit :
https://wiki.debian.org/SourcesListThere also is this command :
- Code: Select all
man sources.list
It will give you the manual, which is full of details.
In a nut shell, it is simple enough.
To edit the sources.list file and add a new source/mirror to it, or change the
others,.
You must use "su", or "sudo", "gksudu", or something that gives you root privileges,..
'cd' to /etc/apt ,
then use any editor you like, but it is best to use vi or nano (in my opinion),
open the sources.list file, edit as desired, adding the additional mirror, etc.
The above links give more details and some examples of what the source lines
should look like.
When you have finished, and save the file, you do need to run
- Code: Select all
apt-get update
or
- Code: Select all
apt update
first, to update the sources.
Any way, that is how I edit mine, there may be other ways as well.