summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/install.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm/install.pm b/urpm/install.pm
index 0df11dce..6a3e3770 100644
--- a/urpm/install.pm
+++ b/urpm/install.pm
@@ -30,7 +30,10 @@ sub prepare_transaction {
my ($_urpm, $set, $blists, $sources) = @_;
my @blists_subset = map {
- +{ %$_, list => _hash_intersect_list($_->{list}, $set->{upgrade}) };
+ +{ %$_,
+ list => _hash_intersect_list($_->{list}, $set->{upgrade}),
+ pkgs => _hash_intersect_list($_->{pkgs}, $set->{upgrade}),
+ };
} @$blists;
\@blists_subset, _hash_intersect_list($sources, $set->{upgrade});