aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-03-05 11:52:34 +0000
committerThierry Vignaud <tv@mandriva.org>2007-03-05 11:52:34 +0000
commit7bca4b20bce9b35fc0d124f3db2784afdfef8eb2 (patch)
tree805b064b638e2b32f43b39330b6eeea9e0fc1551
parent50f6dc64bd5dff2892da335a854db3a37433625b (diff)
downloadrpmdrake-7bca4b20bce9b35fc0d124f3db2784afdfef8eb2.tar
rpmdrake-7bca4b20bce9b35fc0d124f3db2784afdfef8eb2.tar.gz
rpmdrake-7bca4b20bce9b35fc0d124f3db2784afdfef8eb2.tar.bz2
rpmdrake-7bca4b20bce9b35fc0d124f3db2784afdfef8eb2.tar.xz
rpmdrake-7bca4b20bce9b35fc0d124f3db2784afdfef8eb2.zip
(perform_installation) unlock the rpm database too
-rwxr-xr-xRpmdrake/pkg.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 96fb94e1..cbb4deb3 100755
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -457,7 +457,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
my $lock = urpm::lock::urpmi_db($urpm);
- my $_rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive');
+ my $rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive');
my $state = $urpm->{rpmdrake_state};
my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm,
$state->{selected},
@@ -689,6 +689,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
undef $lock;
+ undef $rpm_lock;
if (@rpms_install || @rpms_upgrade || @to_remove) {
if (@missing_errors) {
interactive_msg(