aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-09-05 09:37:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-09-05 09:37:43 +0000
commit2d2ccb9dd2242189df7db74ad5b835b30928fe16 (patch)
tree0d669653017d5c233bc60f807a2fc8106ff69bb7 /URPM
parent0f8206e87e541ffeeaa6d78c372bbd6a17267696 (diff)
downloadperl-URPM-2d2ccb9dd2242189df7db74ad5b835b30928fe16.tar
perl-URPM-2d2ccb9dd2242189df7db74ad5b835b30928fe16.tar.gz
perl-URPM-2d2ccb9dd2242189df7db74ad5b835b30928fe16.tar.bz2
perl-URPM-2d2ccb9dd2242189df7db74ad5b835b30928fe16.tar.xz
perl-URPM-2d2ccb9dd2242189df7db74ad5b835b30928fe16.zip
add debug code
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 6820995..945697d 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -826,6 +826,8 @@ sub resolve_requested__no_suggests {
my ($n, $pkg) = ($dep->{name}, $dep->{pkg});
with_db_unsatisfied_requires($urpm, $db, $state, $n, sub {
my ($p, @l) = @_;
+ $urpm->{debug_URPM}($p->fullname . " is conflicting because of unsatisfied @l") if $urpm->{debug_URPM};
+
#- try if upgrading the package will be satisfying all the requires...
#- there is no need to avoid promoting epoch as the package examined is not
#- already installed.