summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm.pm b/urpm.pm
index 1c543a56..f4999bf2 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -87,6 +87,8 @@ sub file_from_local_url {
sub db_open_or_die {
my ($urpm, $root, $b_write_perm) = @_;
+ $urpm->{debug}("opening rpmdb (root=$root, write=$b_write_perm)");
+
my $db = URPM::DB::open($root, $b_write_perm || 0)
or $urpm->{fatal}(9, N("unable to open rpmdb"));