aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-updatebuildenv
diff options
context:
space:
mode:
authordancer <dancer>2002-02-09 15:37:29 +0000
committerdancer <dancer>2002-02-09 15:37:29 +0000
commitf08508856cbd7c3681cd23735224da753a02f7bf (patch)
tree8126d3e46e08c73aaba400b223f65e281b3a8b79 /pbuilder-updatebuildenv
parent3b100b7cab518735ccba3dda8ba90d62fe6f7092 (diff)
downloadpbuilder-f08508856cbd7c3681cd23735224da753a02f7bf.tar
pbuilder-f08508856cbd7c3681cd23735224da753a02f7bf.tar.gz
update, and bugfixes
Diffstat (limited to 'pbuilder-updatebuildenv')
-rwxr-xr-xpbuilder-updatebuildenv2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbuilder-updatebuildenv b/pbuilder-updatebuildenv
index 96d8418..41c8876 100755
--- a/pbuilder-updatebuildenv
+++ b/pbuilder-updatebuildenv
@@ -36,8 +36,10 @@ echo "Refreshing the base.tgz "
echo " -> upgrading packages"
$CHROOTEXEC /usr/bin/apt-get update
$CHROOTEXEC /usr/bin/dpkg --purge lilo
+recover_aptcache
$CHROOTEXEC /usr/bin/apt-get -y dist-upgrade
$CHROOTEXEC /usr/bin/apt-get -y install build-essential dpkg-dev apt $EXTRAPACKAGES
+save_aptcache
$CHROOTEXEC /usr/bin/apt-get clean
if [ -n "$HOOKDIR" ]; then