Skip to content

Instantly share code, notes, and snippets.

@mzpqnxow
Last active April 30, 2022 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mzpqnxow/689fc43b267eb76799a20fdf932713a7 to your computer and use it in GitHub Desktop.
Save mzpqnxow/689fc43b267eb76799a20fdf932713a7 to your computer and use it in GitHub Desktop.
EdgeRouter 1.x firmware APT source configurations (4/2022)
#
# APT Configuration for EdgeRouter/EdgeOS 2.x
#
# Vanilla APT configuration can be problematic since VyattaOS is a fork
# of Debian with enhancements, but is not aggressively kept up to date
# with Debian releases. Not all mirrors have "old" packages and not all
# mirrors have all architectures (e.g. very few have older MIPS architecture
# platforms
#
# - AG
#
# The configuration should look like this (roughly) and be listed using
# `show system packages`
#
# Each block can be created one parameter at a time, like this:
#
# set system packages repository stretch components "non-free contrib main"
# set system packages repository stretch description "Stretch MIPS"
# set system packages repository stretch distribution oldoldstable
# ...
#
#
# repository stretch {
# components "non-free contrib main"
# description "Stretch MIPS"
# distribution oldoldstable
# password ""
# url http://ftp.us.debian.org/debian/
# username ""
# }
# repository stretch-security {
# components main
# distribution oldoldstable/updates
# password ""
# url http://archive.debian.org/debian-security/
# username ""
# }
# repository stretch-updates {
# components "main contrib non-free"
# distribution oldoldstable-updates
# password ""
# url http://ftp.us.debian.org/debian/
# username ""
# }
# The /etc/apt/sources.list.d/*.list should have the following in aggregate:
# Main
deb http://ftp.us.debian.org/debian/ oldoldstable main contrib non-free
# Updates
deb http://ftp.us.debian.org/debian/ oldoldstable-updates main contrib non-free
# Security updates
deb [check-valid-until=no] http://archive.debian.org/debian-security oldoldstable/updates main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment