summaryrefslogtreecommitdiffstats
path: root/packaging/installer/install-required-packages.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/installer/install-required-packages.sh')
-rwxr-xr-xpackaging/installer/install-required-packages.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/installer/install-required-packages.sh b/packaging/installer/install-required-packages.sh
index 8c8a3a8804..5156ae56dc 100755
--- a/packaging/installer/install-required-packages.sh
+++ b/packaging/installer/install-required-packages.sh
@@ -1280,6 +1280,12 @@ install_apt_get() {
echo >&2 "NOTE: Running apt-get update and updating your APT caches ..."
if [ "${version}" = 8 ]; then
echo >&2 "WARNING: You seem to be on Debian 8 (jessie) which is old enough we have to disable Check-Valid-Until checks"
+ echo >&2 "We also have to enable the jessie-backports repository"
+ if prompt "Is this okay?"; then
+ echo "deb http://archive.debian.org/debian/ jessie-backports main contrib non-free" \
+ >> /etc/apt/sources.list.d/99-archived.list
+ fi
+ apt-get update -o Acquire::Check-Valid-Until=false
run ${sudo} apt-get "${apt_opts[@]}" -o Acquire::Check-Valid-Until=false update
else
run ${sudo} apt-get "${apt_opts[@]}" update