From: Loic Dachary Date: Fri, 10 Apr 2015 07:26:14 +0000 (+0200) Subject: install-deps.sh: Debian GNU/Linux wheezy needs backports X-Git-Tag: v9.0.1~144^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F4327%2Fhead;p=ceph.git 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 --- 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