diff options
author | dancer <dancer> | 2005-12-04 04:36:28 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-12-04 04:36:28 +0000 |
commit | c083f6c7fc979dc0a9cb45e687e56360621d4cf5 (patch) | |
tree | d9f1022ca700985326b97673a60ec5ac5ff3c497 /pbuilder-satisfydepends | |
parent | 99fe31b0e9686d8502e70f80d710f555cf19e5d8 (diff) | |
download | pbuilder-c083f6c7fc979dc0a9cb45e687e56360621d4cf5.tar pbuilder-c083f6c7fc979dc0a9cb45e687e56360621d4cf5.tar.gz |
* Bug fix: "/usr/share/doc/pbuilder/examples/B90linda missing
--allow-unauthenticated option", thanks to qfunk (Closes: #340715).
- fixed other scripts to use --allow-unauthenticated option rather than --force-yes.
* debconf compatibility level 4
Diffstat (limited to 'pbuilder-satisfydepends')
-rw-r--r-- | pbuilder-satisfydepends | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index 5da4315..0ca3fb8 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -147,10 +147,10 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} # now actually install the packages echo " -> Installing ${INSTALLPKGLIST}" - if ! $CHROOTEXEC apt-get -y --force-yes install ${INSTALLPKGLIST}; then + if ! $CHROOTEXEC apt-get -y --allow-unauthenticated install ${INSTALLPKGLIST}; then echo " -> Trying to fix apt error" # Work around an apt bug which causes configure to fail. - if $CHROOTEXEC dpkg --configure --pending && $CHROOTEXEC apt-get -y --force-yes install ${INSTALLPKGLIST}; then + if $CHROOTEXEC dpkg --configure --pending && $CHROOTEXEC apt-get -y --allow-unauthenticated install ${INSTALLPKGLIST}; then echo " -> Apt bug workaround succeeded" elif [ "$CONTINUE_FAIL" != "yes" ]; then echo "E: Unrecoverable error installing build-dependencies." >&2 |