From e827f5094ed4b833cfc1c06c736c130521d6d226 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 5 Oct 2015 22:31:57 +0000 Subject: updatebuildenv: also explicitely install 2 de-facto dependencies of debdelta which are only in recommends Those 2 are real deps, as debdelta-upgrade won't work without them, though the maintainer thinks otherwise: https://bugs.debian.org/545831 Install them manually (since using --install-recommends would install way too much stuff), and then mark them as automatically installed, so they will be removed by the `apt-get autoremove` thing once debdelta's gone (but won't before because debdelta references them someway). Gbp-Dch: Ignore --- pbuilder-updatebuildenv | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'pbuilder-updatebuildenv') diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv index 4f5a292..4171da1 100755 --- a/pbuilder-updatebuildenv +++ b/pbuilder-updatebuildenv @@ -59,7 +59,7 @@ else fi if [ "$DEBDELTA" = "yes" ]; then - EXTRAPACKAGES="$EXTRAPACKAGES debdelta" + EXTRAPACKAGES="$EXTRAPACKAGES debdelta python-apt xdelta3" else EXTRAPACKAGES="$EXTRAPACKAGES debdelta-" fi @@ -96,6 +96,11 @@ $CHROOTEXEC /usr/bin/apt-get -q -y "${APTGETOPT[@]}" install \ build-essential \ dpkg-dev \ $EXTRAPACKAGES +# debdelta dependencies are broken (#545831) +if [ "$DEBDELTA" = "yes" ]; then + $CHROOTEXEC apt-mark auto python-apt xdelta3 +fi + save_aptcache add_additional_aptkeyrings -- cgit v1.2.3