-1

Why in Debian, you must manually edit your /etc/apt/source.list in order to receive LTS updates as explained in the official Debian LTS Wiki?

Why it's not like Ubuntu where LTS updates arrive without the need of this manual change on /etc/apt/source.list?

this is the an original /etc/apt/source.list after the install

deb http://deb.debian.org/debian buster main
deb-src http://deb.debian.org/debian buster main

deb http://deb.debian.org/debian-security buster/updates main
deb-src http://deb.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian buster-updates main
deb-src http://deb.debian.org/debian buster-updates main

and this is the one from official Debian LTS Wiki

deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free

deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
nulll
  • 235
  • 2
  • 5
  • 3
    Where does it say you have to make a manual edit? It even says "Note that if you already follow security.debian.org (and you should), this should mostly be a noop" – muru Jul 31 '23 at 16:01
  • @muru I have updated my question showing differences from post install `source.list` and LTS required one. My english level it's not enough to understand the "noop" phrase from the wiki. I also remember from previous Debian releases that this manual edit of `source.list` was required. – nulll Jul 31 '23 at 16:12

1 Answers1

5

Debian LTS doesn’t require editing sources.list. The differences in your examples are the added contrib and non-free sections, which are only needed if you require packages from those sections; in such cases, sources.list would already contain the relevant entries. They are not enabled by default, which is why your post-installation sources.list file doesn’t contain them.

Stephen Kitt
  • 411,918
  • 54
  • 1,065
  • 1,164