summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index a0d811a6..745494c9 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -70,6 +70,7 @@ sub _download_packages {
join("\n", map { " $_->[0]" } @missing))
. "\n" .
N("You may need to update your urpmi database.");
+ $urpm->{nb_install} -= scalar @missing;
}
if (@bad) {
push @msgs, N("Installation failed, bad rpms:\n%s",