From e8f5e89ca466b973f6323cf52716a713f7f6f71d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Minier?= Date: Sun, 4 Oct 2009 12:28:43 +0200 Subject: [PATCH] Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin keyring package, workaround for LP #442082. --- debian/changelog | 2 ++ livecd.sh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index e3f8b70e..7378ef42 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,6 +21,8 @@ livecd-rootfs (0.99) UNRELEASED; urgency=low backup is taken; this allows dropping the hack of reinstalling the keyring package at the end of the build. It might break apt-get update for UMR before the host keys are appended to the trusted keyring though. + * Remove ${ROOT}var/cache/apt/{,src}pkgcache.bin after installing the moblin + keyring package, workaround for LP #442082. -- Loïc Minier Thu, 24 Sep 2009 11:52:25 +0200 diff --git a/livecd.sh b/livecd.sh index ad69264a..851018be 100755 --- a/livecd.sh +++ b/livecd.sh @@ -395,6 +395,8 @@ Pin-Priority: 550 if [ "$FS" = "ubuntu-moblin-remix" ]; then chroot $ROOT apt-get update chroot $ROOT apt-get -y --force-yes install ubuntu-moblin-ppa-keyring + # workaround LP #442082 + rm -f ${ROOT}var/cache/apt/{,src}pkgcache.bin fi # In addition to the ones we got from apt, trust whatever the local system