aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-createbuildenv
diff options
context:
space:
mode:
authordancer <dancer>2005-12-04 05:16:37 +0000
committerdancer <dancer>2005-12-04 05:16:37 +0000
commit5dbdf82ca9ae7ec6f11348ee788a398340c79464 (patch)
tree752311be19a8cc1ff7c5f62c44c2b04b575e0e37 /pbuilder-createbuildenv
parentacc4f8ccf72fb9aa095d5c912cb476ba60c0c52f (diff)
downloadpbuilder-5dbdf82ca9ae7ec6f11348ee788a398340c79464.tar
pbuilder-5dbdf82ca9ae7ec6f11348ee788a398340c79464.tar.gz
Revert to using --force-yes, since --allow-unauthenticated doesn't work with sarge
* Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missing --force-yes option", thanks to qfunk (Closes: #340715). Note: --allow-unauthenticated is probably a better option here, but apt-get in sarge does not support it, we will revisit it after etch.
Diffstat (limited to 'pbuilder-createbuildenv')
-rwxr-xr-xpbuilder-createbuildenv4
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-createbuildenv b/pbuilder-createbuildenv
index 067c82c..50b9236 100755
--- a/pbuilder-createbuildenv
+++ b/pbuilder-createbuildenv
@@ -84,8 +84,8 @@ if [ -n "$REMOVEPACKAGES" ]; then
$CHROOTEXEC /usr/bin/dpkg --purge $REMOVEPACKAGES
fi
recover_aptcache
-$CHROOTEXEC /usr/bin/apt-get -y --allow-unauthenticated dist-upgrade
-$CHROOTEXEC /usr/bin/apt-get -y --allow-unauthenticated install build-essential dpkg-dev apt $EXTRAPACKAGES
+$CHROOTEXEC /usr/bin/apt-get -y --force-yes dist-upgrade
+$CHROOTEXEC /usr/bin/apt-get -y --force-yes install build-essential dpkg-dev apt $EXTRAPACKAGES
save_aptcache
$CHROOTEXEC /usr/bin/apt-get clean