Как подключить стандартные репозитории Debian 9 Stretch

В каталоге настроек менеджера пакетов apt (по умолчанию /etc/apt) отредактируем файл sources.list с основной информацией о базовых репозиториях Debian 9 Stretch

# nano /etc/apt/sources.list
sources.list
#
# From https://wiki.debian.org/SourcesList
#
deb     http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
#
deb     http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
#
deb     http://security.debian.org/ stretch/updates main contrib non-free
deb-src http://security.debian.org/ stretch/updates main contrib non-free
#

После этого выполняем обновление кэша менеджера пакетов:

# apt-get update

Теперь можно будет устанавливать пакеты из подключённых репозиториев.


Проверено на следующих конфигурациях:

Версия ОС
Debian GNU/Linux Stretch 9.2.1

Автор первичной редакции:
Алексей Максимов
Время публикации: 19.06.2018 18:40