Bug#586428: Please clear the apt cache
- To: Petter Reinholdtsen <pere@hungry.com>, 586428@bugs.debian.org
- Subject: Bug#586428: Please clear the apt cache
- From: Martin Michlmayr <tbm@cyrius.com>
- Date: Wed, 21 Jul 2010 20:24:37 +0100
- Message-id: <[🔎] 20100721192436.GA25111@jirafa.cyrius.com>
- Reply-to: Martin Michlmayr <tbm@cyrius.com>, 586428@bugs.debian.org
- In-reply-to: <2fliq5dhacn.fsf@login2.uio.no>
- References: <20100619132059.GN1573@jirafa.cyrius.com> <AANLkTingUNp0TV4O_MlFBeYcOgehLH5djpFxoaMaUjIu@mail.gmail.com> <20100620093717.GB3718@jirafa.cyrius.com> <AANLkTilssVjbkdUFl96gHhDOycDJyAOZK8VkXIp2m2M8@mail.gmail.com> <2flpqzlhksc.fsf@login2.uio.no> <AANLkTinUm9fsH8Kl_9dreD_60rPDnYSLf0WU77HXYrYT__31594.2567577169$1277051961$gmane$org@mail.gmail.com> <2fliq5dhacn.fsf@login2.uio.no>
* Petter Reinholdtsen <pere@hungry.com> [2010-06-20 19:39]:
> Yes, assuming it is done right after debootstrap, and before the extra
> packages (like the kernel) is done. The extra packages will be useful
> to cache for the LTSP chroot building.
I didn't hear any objections to this approach. Petter, can you please
test the following patch to make sure it doesn't break LTSP (it
shouldn't). If you confirm, I'll commit it.
Index: bootstrap-base.postinst
===================================================================
--- bootstrap-base.postinst (revision 64063)
+++ bootstrap-base.postinst (working copy)
@@ -131,6 +131,8 @@
exit_error base-installer/debootstrap-failed
fi
+ in-target apt-get clean
+
# Progress bar is now stepped to 100
}
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: