Ванильные cat /etc/apt/sources.list для Дебиан

Автор SerW, 16 августа 2025, 22:54:47

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

SerW

`/etc/apt/sources.list` сразу после установки Дебиан 13 Гном:
dragonserw@debian-pn41:~$ cat /etc/apt/sources.list # https://debianforum.ru/index.php/topic,17015.msg129257.html#msg129257
#deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 DVD Binary-1 with firmware 20250809-11:21]/ trixie contrib main non-free-firmware

deb http://ftp.ru.debian.org/debian/ trixie main non-free-firmware
deb-src http://ftp.ru.debian.org/debian/ trixie main non-free-firmware

deb http://security.debian.org/debian-security trixie-security main non-free-firmware
deb-src http://security.debian.org/debian-security trixie-security main non-free-firmware

# trixie-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://ftp.ru.debian.org/debian/ trixie-updates main non-free-firmware
deb-src http://ftp.ru.debian.org/debian/ trixie-updates main non-free-firmware

# This system was installed using removable media other than
# CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
# The matching "deb cdrom" entries were disabled at the end
# of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
dragonserw@debian-pn41:~$

Лично мне всегда нужен репозиторий `contrib`, и поэтому мой `/etc/apt/sources.list` выглядит так:
dragonserw@debian-pn41:~$ cat /etc/apt/sources.list # https://debianforum.ru/index.php/topic,18516.0.html
#deb cdrom:[Debian GNU/Linux 13.0.0 _Trixie_ - Official amd64 DVD Binary-1 with firmware 20250809-11:21]/ trixie contrib main non-free-firmware

deb http://ftp.ru.debian.org/debian/ trixie main contrib non-free-firmware
deb-src http://ftp.ru.debian.org/debian/ trixie main contrib non-free-firmware

deb http://security.debian.org/debian-security trixie-security main contrib non-free-firmware
deb-src http://security.debian.org/debian-security trixie-security main contrib non-free-firmware

# trixie-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://ftp.ru.debian.org/debian/ trixie-updates main contrib non-free-firmware
deb-src http://ftp.ru.debian.org/debian/ trixie-updates main contrib non-free-firmware

# This system was installed using removable media other than
# CD/DVD/BD (e.g. USB stick, SD card, ISO image file).
# The matching "deb cdrom" entries were disabled at the end
# of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
dragonserw@debian-pn41:~$

Предлагаю тем, у кого более старые версии Дебиан, добавить в этот тред ваши list'ы.
Сергей Швайко » DragonSerW
Мое Авито, рейтинг = 4,8 * 43: «on-topic.ru»

koshak83

#1
В будующем sources.list и его название и расположение изменится в соответствии со стандартом DEB822. У меня на Unstable пару дней назад уже прилетело принудительное обновление по этому поводу.
Теперь расположение репозитория перехало в etc/apt/sources.list.d/ а файл sources.list изменил название на debian.sources
Формат DEB822 выглядит так:
# Modernized from /etc/apt/sources.list
Types: deb
URIs: https://deb.debian.org/debian/
Suites: unstable
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
Конституция СССР 1977 года.
Всесоюзный референдум о сохранении СССР 1991 года: Да- 76.4%, Нет- 21.7%, Признаны недействительными- 1.9%, Явка избирателей- 80.0%.

yoric

Вот опять делать им нечего, чешется у бездельников в дурных мозгах. Не депутаты чай, чтоб бурную деятельность изображать.