Debian 10 Buster SourcesList

Ehsan Nazim
The Blog of Ehsan Nazim
2 min readJul 17, 2019

--

Photo Courtesy: Alex Makas [CC BY-SA (https://creativecommons.org/licenses/by-sa/4.0)]

I use Debian’s contrib and non-free repositories for Wi-Fi drivers, etc. Sometimes I use updated version of a package from the Debian’s Backports repository. So my SourcesList for Debian 10 Buster looks like the following:

deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb http://deb.debian.org/debian buster-backports main contrib non-free
  1. Open a terminal and type the following in it:
mousepad /etc/apt/sources.list

Mousepad is a text editor. The command mentioned above means I’m opening the SourcesList file using a text editor called Mousepad. Always remember to use the package name of the text editor in these use cases. The package name of the Mousepad text editor is mousepad. You can use any text editor you like for this purpose. Just replace mousepad in the aforementioned command with the text editor you like. For example, if you want to use gedit, then your command should look like this:

gedit /etc/apt/sources.list

2. Executing the above command will open SourcesList file. Now select every line in that file and delete them.

--

--

Ehsan Nazim
The Blog of Ehsan Nazim

Helping you do more and be more with one article at a time.