From 7bca4b20bce9b35fc0d124f3db2784afdfef8eb2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 5 Mar 2007 11:52:34 +0000 Subject: (perform_installation) unlock the rpm database too --- Rpmdrake/pkg.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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( -- cgit v1.2.1