Установка и настройка репозиториев Debian 13 (trixie)\ proxmox

1️ Очистить старые репозитории

find /etc/apt/ -type f \( -name "*.list" -o -name "*.sources" \) -exec rm -f {} \;

2️ Установить ключ Proxmox (обязательно)

Без этого репозиторий Proxmox работать не будет.

apt update
apt install -y curl gpg
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-trixie.gpg \
| gpg --dearmor -o /usr/share/keyrings/proxmox-archive-keyring.gpg

3️ Добавить репозиторий Proxmox (no-subscription)

cat << 'EOF' > /etc/apt/sources.list.d/proxmox.sources
Types: deb
URIs: http://download.proxmox.com/debian/pve
Suites: trixie
Components: pve-no-subscription
Signed-By: /usr/share/keyrings/proxmox-archive-keyring.gpg
EOF

4️ Добавить основные репозитории Debian 13

cat << 'EOF' > /etc/apt/sources.list
deb https://deb.debian.org/debian trixie main contrib non-free non-free-firmware
# deb-src https://deb.debian.org/debian trixie main contrib non-free non-free-firmware

deb https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
# deb-src https://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware

deb https://deb.debian.org/debian trixie-proposed-updates main contrib non-free non-free-firmware
# deb-src https://deb.debian.org/debian trixie-proposed-updates main contrib non-free non-free-firmware

deb https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware
# deb-src https://deb.debian.org/debian trixie-backports main contrib non-free non-free-firmware

deb https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
# deb-src https://security.debian.org/debian-security trixie-security main contrib non-free non-free-firmware
EOF

5️ Обновить списки пакетов

apt update


Комментарии

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *