diff options
-rwxr-xr-x | urpmi | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; } } |