[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian stable - updates



Hi again,

so sorry to bother you kind people once more. It turns out I've got an additional question regarding  updates.

On https://www.debian.org/security/#keeping-secure under "Keeping your Debian system secure" it says:

"You can use apt to easily get the latest security updates. This requires a line such as deb http://security.debian.org/debian-security buster/updates main contrib non-free in your /etc/apt/sources.list file. Then execute apt-get update && apt-get upgrade"

I looked up  the respective file on my system and it looks like this:

1     #
2
3     # deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 xfce-CD Binary-1 20210327-10:42]/ buster main
4
5     #deb cdrom:[Debian GNU/Linux 10.9.0 _Buster_ - Official amd64 xfce-CD Binary-1 20210327-10:42]/ buster main
6
7     deb http://deb.debian.org/debian/ buster main
8     deb-src http://deb.debian.org/debian/ buster main
9
10   deb http://security.debian.org/debian-security buster/updates main
11   deb-src http://security.debian.org/debian-security buster/updates main
12
13   # buster-updates, previously known as 'volatile'
14   deb http://deb.debian.org/debian/ buster-updates main
15   deb-src http://deb.debian.org/debian/ buster-updates main
16
17   # This system was installed using small removable media
18   # (e.g. netinst, live or single CD). The matching "deb cdrom"
19   # entries were disabled at the end of the installation process.
20  # For information about how to configure apt package sources,
21  # see the sources.list(5) manual.

From the advice given at the debian page (see above) I gather I have to change the contents of line 10, right? As there's just "main" in it right now I'd have to add "contrib" and "non-free" I think.
But what about line 11? Would I have to do the same there as well?

Thanks a lot in advance for your help.
Many greetings.
Rosika


Reply to: