From 7e495f7c032c5abc5a0d73eabcc5c468c836cbd8 Mon Sep 17 00:00:00 2001 From: Jacob Appelbaum Date: Thu, 18 Aug 2011 19:05:28 +0200 Subject: pin apt to stable --- packages/torouter-prep/configs/apt.conf | 1 + packages/torouter-prep/src/torouter_config.sh | 1 + 2 files changed, 2 insertions(+) create mode 100644 packages/torouter-prep/configs/apt.conf (limited to 'packages') diff --git a/packages/torouter-prep/configs/apt.conf b/packages/torouter-prep/configs/apt.conf new file mode 100644 index 0000000..4143a94 --- /dev/null +++ b/packages/torouter-prep/configs/apt.conf @@ -0,0 +1 @@ +APT::Default-Release "stable"; diff --git a/packages/torouter-prep/src/torouter_config.sh b/packages/torouter-prep/src/torouter_config.sh index 5344411..cec4606 100644 --- a/packages/torouter-prep/src/torouter_config.sh +++ b/packages/torouter-prep/src/torouter_config.sh @@ -36,6 +36,7 @@ cp $config_dir/sources.list /etc/apt/sources.list # We're creating this file to ensure we get updates cp $config_dir/apt-preferences.d-backports /etc/apt/preferences.d/backports +cp $config_dir/apt.conf /etc/apt/apt.conf apt-get -y update -- cgit v1.2.3