diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | urpm/parallel.pm | 2 | ||||
-rw-r--r-- | urpm/select.pm | 2 | ||||
-rwxr-xr-x | urpmq | 2 |
4 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- adapt to URPM-4.15 + Version 7.8.1 - 8 September 2012 - fix urpmq -h (mga#7390) diff --git a/urpm/parallel.pm b/urpm/parallel.pm index c6ec96f4..b3185267 100644 --- a/urpm/parallel.pm +++ b/urpm/parallel.pm @@ -235,7 +235,7 @@ sub _simple_resolve_dependencies { foreach (keys %$requested) { if (/\|/) { #- taken from URPM::Resolve to filter out choices, not complete though. - foreach ($urpm->find_candidate_packages_($_)) { + foreach ($urpm->find_candidate_packages($_)) { my ($best_requested, $best); foreach (@$_) { exists $state->{selected}{$_->id} and $best_requested = $_, last; diff --git a/urpm/select.pm b/urpm/select.pm index 0b5c7fb3..2273ffe1 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -359,7 +359,7 @@ sub select_replacepkgs { my $db = urpm::db_open_or_die_($urpm); foreach my $id (keys %$requested) { - my @pkgs = $urpm->find_candidate_packages_($id); + my @pkgs = $urpm->find_candidate_packages($id); if (my ($pkg) = grep { URPM::is_package_installed($db, $_) } @pkgs) { $urpm->{debug_URPM}("selecting replacepkg " . $pkg->fullname) if $urpm->{debug_URPM}; $pkg->set_flag_requested; @@ -313,7 +313,7 @@ if ($options{list_aliases}) { #- finally conflicts that will force a new upgrade or a remove. while (defined ($dep = shift @properties)) { #- take the best package for each choices of same name. - foreach ($urpm->find_candidate_packages_($dep)) { + foreach ($urpm->find_candidate_packages($dep)) { my ($best_requested, $best); foreach (@$_) { if ($best_requested || exists $requested{$_->id}) { |