summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xurpmi5
1 files changed, 5 insertions, 0 deletions
diff --git a/urpmi b/urpmi
index 130a705d..02e55d6e 100755
--- a/urpmi
+++ b/urpmi
@@ -718,6 +718,11 @@ if ($nok) {
} elsif (@names || @src_names || @files || @src_files || $auto_select) {
if (@{$state->{transaction} || []} == 0 && @ask_unselect == 0) {
message(N("The package(s) are already installed")) if $verbose >= 0;
+ if ($verbose >= 0 && !$auto_select) {
+ my @packages = map { $urpm->{depslist}[$_]->name } keys %requested;
+ my @guessed = difference2(\@packages, \(@names, @src_names));
+ message(N("The following package names were assumed : %s", join ", ", @guessed)) if @guessed;
+ }
$exit_code = 15 if our $expect_install;
}
}