Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active May 1, 2021 09:17
Show Gist options
  • Save zoonderkins/e0e28efa682526e82562cd8d85d39977 to your computer and use it in GitHub Desktop.
Save zoonderkins/e0e28efa682526e82562cd8d85d39977 to your computer and use it in GitHub Desktop.
Debian configure multiple apt source 2021

Debian udpate apt source to TESTING branch and header

Last udpate : 2021-05-01

Setup proper APT sources

## Setup unstable + stable 

## Unstable 
nano /etc/apt/sources.list

deb     https://cdn-aws.deb.debian.org/debian/    unstable main contrib non-free
deb-src https://cdn-aws.deb.debian.org/debian/    unstable main contrib non-free

deb     http://mirrors.linode.com/debian/    unstable main contrib non-free
deb-src http://mirrors.linode.com/debian/    unstable main contrib non-free

deb http://mirrors.linode.com/debian-security buster/updates main
deb-src http://mirrors.linode.com/debian-security buster/updates main

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

Setup testing sources

nano /etc/apt/sources.list.d/testing.list

deb     https://cdn-aws.deb.debian.org/debian/    testing main contrib non-free
deb-src https://cdn-aws.deb.debian.org/debian/    testing main contrib non-free

Setup experimental source

nano /etc/apt/sources.list.d/experimental.list

deb https://cdn-aws.deb.debian.org/debian experimental main

Setup stable source

nano /etc/apt/sources.list.d/stable.list

deb     https://cdn-aws.deb.debian.org/debian/    buster main contrib non-free
deb-src https://cdn-aws.deb.debian.org/debian/    buster main contrib non-free
deb     https://cdn-aws.deb.debian.org/debian/    stable main contrib non-free
deb-src https://cdn-aws.deb.debian.org/debian/    stable main contrib non-free

Do a apt full update

apt update
apt upgrade

apt full-upgrade
apt dist-upgrade

Install a file from specific branch

apt -t testing wireguard wireguard-dkms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment