summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--urpm/bug_report.pm2
-rw-r--r--urpm/media.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/urpm/bug_report.pm b/urpm/bug_report.pm
index b01e9a94..05b34d0a 100644
--- a/urpm/bug_report.pm
+++ b/urpm/bug_report.pm
@@ -7,7 +7,7 @@ use urpm::msg;
sub rpmdb_to_synthesis {
my ($urpm, $synthesis) = @_;
- my $db = urpm::db_open_or_die($urpm, $urpm->{root});
+ my $db = urpm::db_open_or_die_($urpm);
my $sig_handler = sub { undef $db; exit 3 };
local $SIG{INT} = $sig_handler;
local $SIG{QUIT} = $sig_handler;
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,