summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/main_loop.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index ec8683b4..5b68c70d 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- decrease total package count when some files are missing
+
Version 7.3 - 24 August 2012
- only search for README.urpmi files in doc files (needs URPM >= 4.13)
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",