Skip to content

Instantly share code, notes, and snippets.

@estysdesu
Last active December 31, 2019 19:29
Show Gist options
  • Save estysdesu/9f3dc793533a745b0835f58d898e4e11 to your computer and use it in GitHub Desktop.
Save estysdesu/9f3dc793533a745b0835f58d898e4e11 to your computer and use it in GitHub Desktop.
[Debian: Apt Sources] #apt #sources

Update Apt Sources

  • sudo <editor> /etc/apt/sources.list (replace editor with nano, vim, or any other command line editor)
    • edit to match included sources.list file
  • apt update
  • apt upgrade
  • apt dist-upgrade
# /etc/apt/sources.list
deb http://deb.debian.org/debian testing main contrib non-free
deb-src http://deb.debian.org/debian testing main contrib non-free
deb http://security.debian.org testing-security main contrib non-free
deb-src http://security.debian.org testing-security main contrib non-free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment