summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xgurpmi24
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index c91f4e7c..9554a9b2 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- gurpmi:
o reuse common shared code of urpmi/rpmdrake
+ o unlock RPM & URPMI dbs locks as soon as possible like rpmdrake
- urpmi
o when using --urpmi-root, load <root>/etc/rpm/macros
o enable GUIes to display already installed & not installable RPMs
diff --git a/gurpmi2 b/gurpmi2
index 1e147b68..972c3fe7 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -280,6 +280,8 @@ sub do_install_3 () {
sync();
},
completed => sub {
+ $urpmi_lock->unlock;
+ $rpm_lock->unlock;
$vbox = Gtk2::VBox->new(0, 5);
$progress_label = Gtk2::Label->new('-');
my $sw = create_scrolled_window($progress_label);
@@ -311,7 +313,5 @@ sub do_install_3 () {
trans => $callback_inst,
}
);
- $urpmi_lock->unlock;
- $rpm_lock->unlock;
urpm::removable::try_umounting_removables($urpm);
}