diff options
author | Loïc Minier <lool@dooz.org> | 2007-04-12 13:12:42 +0200 |
---|---|---|
committer | Loïc Minier <lool@dooz.org> | 2007-04-12 13:12:42 +0200 |
commit | d54af004659f6ae6b1aa72cd5841b6adf60c1ed6 (patch) | |
tree | 3656ccee029c4398e8ff5598541cd684327bfca4 /pbuilder-satisfydepends-aptitude | |
parent | 4a3531d57e087302c27754010752604102f2ebdb (diff) | |
download | pbuilder-d54af004659f6ae6b1aa72cd5841b6adf60c1ed6.tar pbuilder-d54af004659f6ae6b1aa72cd5841b6adf60c1ed6.tar.gz |
* Pass "-o Aptitude::ProblemResolver::StepScore=100" to aptitude, as discussed
with Daniel Burrows to help aptitude resolve dependencies when experimental
is in the sources.list
Diffstat (limited to 'pbuilder-satisfydepends-aptitude')
-rwxr-xr-x | pbuilder-satisfydepends-aptitude | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbuilder-satisfydepends-aptitude b/pbuilder-satisfydepends-aptitude index c0ae0ad..092e046 100755 --- a/pbuilder-satisfydepends-aptitude +++ b/pbuilder-satisfydepends-aptitude @@ -86,7 +86,7 @@ EOF $CHROOTEXEC sh -c "dpkg-deb -b \"$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy\"" $CHROOTEXEC apt-get -y --force-yes install aptitude $CHROOTEXEC dpkg -i "$BUILD_DEP_DEB_DIR/pbuilder-satisfydepends-dummy.deb" || true - $CHROOTEXEC aptitude -y -o Aptitude::CmdLine::Ignore-Trust-Violations=true install pbuilder-satisfydepends-dummy + $CHROOTEXEC aptitude -y -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 if ! $CHROOTEXEC dpkg -l pbuilder-satisfydepends-dummy 2>/dev/null | grep -q ^ii; then echo "Aptitude couldn't satisfy the build dependencies" |