Skip to content

Instantly share code, notes, and snippets.

@janus57
Last active August 10, 2018 16:56
Show Gist options
  • Save janus57/791d470971d499fda6466233ea198668 to your computer and use it in GitHub Desktop.
Save janus57/791d470971d499fda6466233ea198668 to your computer and use it in GitHub Desktop.
Use default French mirror of Debian 8 (jessie) - main & contrib
#!/bin/bash
# Generator used : https://debgen.simplylinux.ch/
printf "#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS #
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://ftp.fr.debian.org/debian/ jessie main contrib
deb-src http://ftp.fr.debian.org/debian/ jessie main contrib
deb http://ftp.fr.debian.org/debian/ jessie-updates main contrib
deb-src http://ftp.fr.debian.org/debian/ jessie-updates main contrib
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/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