aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rwxr-xr-xRpmdrake/pkg.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 5a95efd8..d5911fc8 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -647,6 +647,19 @@ my $j;
++$urpm->{logger_id};
push @errors, @l;
}
+ } else {
+ interactive_msg(N("Error"),
+ N("Installation failed:") . "\n" . join("\n", map { "\t$_" } @l) . "\n\n" .
+ N("Try installation without checking dependencies? (y/N) "),
+ yesno => 1
+ ) or ++$nok, next;
+ $urpm->{log}("starting installing packages without deps");
+ @l = urpm::install::install($urpm,
+ $to_remove,
+ \%transaction_sources_install, \%transaction_sources,
+ nodeps => 1,
+ %install_options_common,
+ );
}
}
}