diff options
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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}); |