Skip to content

Instantly share code, notes, and snippets.

@janus57
Last active September 1, 2018 16:53
Show Gist options
  • Save janus57/bb24caddfda6f223e8364a6dbdd9b29d to your computer and use it in GitHub Desktop.
Save janus57/bb24caddfda6f223e8364a6dbdd9b29d to your computer and use it in GitHub Desktop.
Use default French mirror of Debian 9 (stretch) - main & contrib
#!/bin/bash
# Generator used : https://debgen.simplylinux.ch/
printf "#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://ftp.fr.debian.org/debian/ stretch main
deb http://ftp.fr.debian.org/debian/ stretch-updates main
deb http://security.debian.org/ stretch/updates main
" > /etc/apt/sources.list
#update list of available packages
apt update
# enables the usage of "https://…" in the /etc/apt/sources.list
apt install apt-transport-https ca-certificates curl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment