From 452cefee145c44a03a39805ce10e342ca2bd8be1 Mon Sep 17 00:00:00 2001 From: dancer Date: Sat, 1 Mar 2003 13:51:31 +0000 Subject: commit --- pbuilder-satisfydepends | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pbuilder-satisfydepends') diff --git a/pbuilder-satisfydepends b/pbuilder-satisfydepends index 4bc299d..2370a43 100644 --- a/pbuilder-satisfydepends +++ b/pbuilder-satisfydepends @@ -110,6 +110,10 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} SATISFIED="yes" INSTALLPKGLIST="${INSTALLPKGLIST} ${CURRENTREALPKGNAME}" else + echo " -> Cannot install ${CURRENTREALPKGNAME}; apt errors follow:" + if $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${CURRENTREALPKGNAME}; then + : + fi # package could not be found. -- looking for alternative. PROVIDED="" checkbuilddep_provides ${CURRENTREALPKGNAME} @@ -122,7 +126,9 @@ tolower($0) ~ /^'"${BD_REGEXP}"':/ {p=1} else # show the error for diagnostic purposes echo " -> Cannot install $PROVIDED; apt errors follow:" - $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${PROVIDED} + if $CHROOTEXEC /usr/bin/apt-get -s install ${INSTALLPKGLIST} ${PROVIDED}; then + : + fi fi fi fi -- cgit v1.2.3