[sagemath] 01/02: Add --allow-downgrades to dpkg sbuild downgrade attempt

Ximin Luo infinity0 at debian.org
Sun Dec 18 13:16:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit e0656541eb4dfcd4af77338b94468a8e8a80ea83
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Dec 18 10:42:31 2016 +0100

    Add --allow-downgrades to dpkg sbuild downgrade attempt
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4ef80a4..7865165 100755
--- a/debian/rules
+++ b/debian/rules
@@ -284,7 +284,7 @@ release: ../sagemath_$(DEB_VERSION).dsc
 	  --chroot-setup-commands='echo deb https://debian-science.alioth.debian.org/apt sid-sage/ >> /etc/apt/sources.list' \
 	  --chroot-setup-commands='echo deb http://httpredir.debian.org/debian testing main >> /etc/apt/sources.list' \
 	  --chroot-setup-commands='apt-get update && apt-get -t sid-sage install -y python2.7=2.7.13~rc1-1.1 libpython2.7=2.7.13~rc1-1.1 python2.7-dev=2.7.13~rc1-1.1' \
-	  --chroot-setup-commands='apt-get -t testing install -y dpkg=1.18.15' \
+	  --chroot-setup-commands='apt-get -t testing install --allow-downgrades -y dpkg=1.18.15' \
 	  --chroot-setup-commands='{ for i in python2.7 python2.7-minimal libpython2.7-stdlib libpython2.7 python2.7-dev dpkg; do echo $$i hold; done; } | dpkg --set-selections' \
 	  --chroot-setup-commands='sed -i -e /sid-sage/d /etc/apt/sources.list && sed -i -e /testing/d /etc/apt/sources.list && apt-get update' \
 	  --build-dep-resolver=aspcud \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list