diff options
-rw-r--r-- | URPM/Resolve.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index ede8541..07c7a0d 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -1237,7 +1237,7 @@ sub resolve_requested__no_suggests_ { $pkg->set_flag_required; #- check if the package is not already installed before trying to use it, compute - #- obsoleted packages too. This is valable only for non source packages. + #- obsoleted packages too. This is valid only for non source packages. my %diff_provides_h; if ($pkg->arch ne 'src' && !$pkg->flag_disable_obsolete) { _unselect_package_deprecated_by($urpm, $db, $state, \%diff_provides_h, $pkg); @@ -2243,7 +2243,7 @@ sub _sort_by_dependencies__add_obsolete_edges { #- side-effects: none sub sort_by_dependencies { my ($urpm, $state, @list_unsorted) = @_; - @list_unsorted = sort { $a <=> $b } @list_unsorted; # sort by ids to be more reproductable + @list_unsorted = sort { $a <=> $b } @list_unsorted; # sort by ids to be more reproducible $urpm->{debug_URPM}("getting graph of dependencies for sorting") if $urpm->{debug_URPM}; my $edges = _sort_by_dependencies_get_graph($urpm, $state, \@list_unsorted); my $requires = reverse_multi_hash($edges); |