From 3ab13e6451ced156ca65219f146fc9acc6479e6e Mon Sep 17 00:00:00 2001 From: Loic Dachary Date: Fri, 10 Apr 2015 09:26:14 +0200 Subject: [PATCH] install-deps.sh: Debian GNU/Linux wheezy needs backports It is not enough for the backports to be available, they also need to be explicitly allowed to take precedence whenever a package is installed indirectly. This is causing problems with libp11-kit-dev pulled by libcurl4-gnutls-dev. Signed-off-by: Loic Dachary --- install-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index c741425b4c36..6fea6bdd182b 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -48,10 +48,11 @@ Ubuntu|Debian|Devuan) case $(lsb_release -sc) in squeeze|wheezy) packages=$(echo $packages | perl -pe 's/[-\w]*babeltrace[-\w]*//g') + backports="-t $(lsb_release -sc)-backports" ;; esac packages=$(echo $packages) # change newlines into spaces - $SUDO bash -c "DEBIAN_FRONTEND=noninteractive apt-get install -y $packages" + $SUDO bash -c "DEBIAN_FRONTEND=noninteractive apt-get install $backports -y $packages" ;; CentOS|Fedora|RedHatEnterpriseServer) case $(lsb_release -si) in -- 2.47.3