From 5a7b9cf61cabef9bcc321dcb2c8301b42e40af15 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 5 Jan 2015 17:27:52 +0100 Subject: chroot-installations: enable apt debug options - thanks to David Kalnischkies for the patch (see #774614) --- bin/chroot-installation.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index 9e154e5a..76e6df4e 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -51,6 +51,14 @@ mount /proc -t proc /proc echo -e '#!/bin/sh\nexit 101' > /usr/sbin/policy-rc.d chmod +x /usr/sbin/policy-rc.d echo 'Acquire::http::Proxy "http://localhost:3128";' > /etc/apt/apt.conf.d/80proxy +cat > /etc/apt/apt.conf.d/80debug << APTEOF +# solution calculation +Debug::pkgDepCache::Marker "true"; +Debug::pkgDepCache::AutoInstall "true"; +Debug::pkgProblemResolver "true"; +# installation order +Debug::pkgPackageManager "true"; +APTEOF echo "deb-src $MIRROR $1 main" >> /etc/apt/sources.list apt-get update set +x -- cgit v1.2.3-70-g09d2