aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-satisfydepends-aptitude
diff options
context:
space:
mode:
authorLoïc Minier <lool@dooz.org>2010-01-02 15:33:06 +0100
committerLoïc Minier <lool@dooz.org>2010-01-02 15:36:38 +0100
commit047b1efbfe6f14a71432e27baa7c55fe7819e219 (patch)
treecafdf42a51bfb3dc8be00171c71ddfa22eef24c0 /pbuilder-satisfydepends-aptitude
parent2a4fbaea3a1f86ab54f240f6b6d1cc1ac454ef95 (diff)
downloadpbuilder-047b1efbfe6f14a71432e27baa7c55fe7819e219.tar
pbuilder-047b1efbfe6f14a71432e27baa7c55fe7819e219.tar.gz
Only remove/install aptitude on create/update
Only install aptitude in pbuilder-createbuildenv or pbuilder-updatebuildenv, not in pbuilder-satisfydepends-aptitude, and only when $PBUILDERSATISFYDEPENDSCMD uses aptitude. Remove aptitude in pbuilder-createbuildenv and pbuilder-updatebuildenv otherwise; closes: #539578.
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-xpbuilder-satisfydepends-aptitude1
1 files changed, 0 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude
index 8e0c4e2..d685477 100755
--- a/pbuilder-satisfydepends-aptitude
+++ b/pbuilder-satisfydepends-aptitude
@@ -85,7 +85,6 @@ EOF
fi
$CHROOTEXEC sh -c "cat \"$BUILD_DEP_DEB_CONTROL\""
$CHROOTEXEC sh -c "dpkg-deb -b \"$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy\""
- $CHROOTEXEC apt-get -q -y --force-yes install aptitude
$CHROOTEXEC dpkg -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true
$CHROOTEXEC aptitude -y --without-recommends -o APT::Install-Recommends=false -o Aptitude::CmdLine::Ignore-Trust-Violations=true -o Aptitude::ProblemResolver::StepScore=100 install pbuilder-satisfydepends-dummy
# check whether the aptitude's resolver kept the package