aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-03 01:56:48 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-03 01:56:48 +0000
commit008330b17aaeb276f899978bf494734aec97a553 (patch)
tree64803bcdc6017d19a058c4bda80ce9eb326665cb
parent081fea123f9e252a38234530f231b7f06c895f34 (diff)
downloadrpmdrake-008330b17aaeb276f899978bf494734aec97a553.tar
rpmdrake-008330b17aaeb276f899978bf494734aec97a553.tar.gz
rpmdrake-008330b17aaeb276f899978bf494734aec97a553.tar.bz2
rpmdrake-008330b17aaeb276f899978bf494734aec97a553.tar.xz
rpmdrake-008330b17aaeb276f899978bf494734aec97a553.zip
Another work-around for evil bug #9941 -- this time with a fudge factor.
Don't try to select more than 2000 packages at once.
-rwxr-xr-xrpmdrake1
1 files changed, 1 insertions, 0 deletions
diff --git a/rpmdrake b/rpmdrake
index 7683583d..2ab02551 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -515,6 +515,7 @@ or you already installed all of them."));
@nodes = grep { exists $pkgs->{$_} } @nodes
or return;
return if @nodes == keys %$pkgs; #- avoid selecting every package
+ return if @nodes > 2000; #- avoid selecting too many packages at once
my $new_state = !$pkgs->{$nodes[0]}{selected};
my @nodes_with_deps;