summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 545215f1a..fde155b26 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -1016,7 +1016,7 @@ sub install_urpmi {
delete $packages->{rpmdb};
#- import pubkey in rpmdb.
- my $db = pkgs::rpmDbOpenForInstall();
+ my $db = pkgs::open_rpm_db_rw();
$packages->parse_pubkeys(db => $db);
foreach my $medium (@mediums) {
$packages->import_needed_pubkeys($medium->{pubkey}, db => $db, callback => sub {