aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 0c18dbb..b5ce035 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -23,6 +23,7 @@ sub min { my $n = shift; $_ < $n and $n = $_ foreach @_; $n }
sub find_candidate_packages {
my ($urpm, $dep, %options) = @_;
my %packages;
+ $options{nopromoteepoch} = 1 unless defined $options{nopromoteepoch};
foreach (split /\|/, $dep) {
if (/^\d+$/) {
@@ -184,6 +185,7 @@ sub sort_package_result { $b->compare_pkg($a) || $a->id <=> $b->id }
sub unsatisfied_requires {
my ($urpm, $db, $state, $pkg, %options) = @_;
my %properties;
+ $options{nopromoteepoch} = 1 unless defined $options{nopromoteepoch};
#- all requires should be satisfied according to selected packages or installed packages,
#- or the package itself.