From 8143a8d74e4c7fedd7320575d47ed78aa4066437 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 17 Mar 2013 17:56:15 -0700 Subject: work around #703146 --- bin/chroot-installation.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index f8d10c3f..4fb26f8a 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -63,6 +63,8 @@ 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 echo "deb-src $MIRROR $1 main contrib non-free" >> /etc/apt/sources.list +# work around #703146 +rm /var/lib/apt/lists/*Release apt-get update EOF } @@ -88,6 +90,8 @@ prepare_upgrade2() { cat >> $CTMPFILE <<-EOF echo "deb $MIRROR $1 main contrib non-free" > /etc/apt/sources.list $SCRIPT_HEADER +# work around #703146 +rm /var/lib/apt/lists/*Release apt-get update apt-get -y upgrade apt-get -y dist-upgrade -- cgit v1.2.3-54-g00ecf