summaryrefslogtreecommitdiffstats
path: root/urpm/media.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/media.pm')
-rw-r--r--urpm/media.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index 9b3f3bc6..943f528a 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -1517,7 +1517,7 @@ sub _read_cachedir_pubkey {
$urpm->{log}(N("examining pubkey file of \"%s\"...", $medium->{name}));
my $_rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive', wait => $b_wait_lock);
- my $db = urpm::db_open_or_die($urpm, $urpm->{root}, 'rw');
+ my $db = urpm::db_open_or_die_($urpm, 'rw');
my %key_ids;
URPM::import_needed_pubkeys_from_file($db,