summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/main_loop.pm2
-rw-r--r--urpm/select.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm
index 6e4820ab..b9c8bdc9 100644
--- a/urpm/main_loop.pm
+++ b/urpm/main_loop.pm
@@ -497,7 +497,7 @@ sub run {
my (@errors, @formatted_errors);
$exit_code = 0;
- urpm::select::migrate_forward_rpmdb_db_if_needed($urpm, $state);
+ urpm::select::migrate_forward_rpmdb_db_if_needed($urpm);
my $migrate_back_rpmdb_db_version =
$urpm->{root} && urpm::select::should_we_migrate_back_rpmdb_db_version($urpm, $state);
diff --git a/urpm/select.pm b/urpm/select.pm
index 57bde8aa..4e17f616 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -757,7 +757,7 @@ sub should_we_migrate_back_rpmdb_db_version {
}
sub migrate_forward_rpmdb_db_if_needed {
- my ($urpm, $state) = @_;
+ my ($urpm) = @_;
my ($pkg) = $urpm->packages_providing('rpm') or return;
my $rooted_rpm_version = version->new("v" . $pkg->version); # perl_checker: $self = revision