summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-02-20 15:52:25 +0000
committerFrancois Pons <fpons@mandriva.com>2003-02-20 15:52:25 +0000
commita3ceb8beb32a0d66db856808deaa1d5364c8b9af (patch)
treeaaae853057b48f1b934c975ba0692daea2105bd7 /urpm.pm
parentc7a3bffefde94f2c6a2c0f6bfbe1009c4d9a76fe (diff)
downloadurpmi-a3ceb8beb32a0d66db856808deaa1d5364c8b9af.tar
urpmi-a3ceb8beb32a0d66db856808deaa1d5364c8b9af.tar.gz
urpmi-a3ceb8beb32a0d66db856808deaa1d5364c8b9af.tar.bz2
urpmi-a3ceb8beb32a0d66db856808deaa1d5364c8b9af.tar.xz
urpmi-a3ceb8beb32a0d66db856808deaa1d5364c8b9af.zip
4.2-20mdk
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index 9712d528..e1b855ae 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1945,6 +1945,9 @@ sub search_packages {
sub resolve_dependencies {
my ($urpm, $state, $requested, %options) = @_;
+ #- needed for both parallel mode or simple mode.
+ require URPM::Resolve;
+
if ($options{install_src}) {
#- only src will be installed, so only update $state->{selected} according
#- to src status of files.
@@ -1967,8 +1970,6 @@ sub resolve_dependencies {
} else {
my $db;
- require URPM::Resolve;
-
if ($options{rpmdb}) {
$db = new URPM;
$db->parse_synthesis($options{rpmdb});