diff options
-rwxr-xr-x | rpmdrake | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1496,7 +1496,6 @@ sub get_pkgs { }; - my $_lock = urpm::lock::urpmi_db($urpm); if (!$urpm) { $urpm ||= urpm->new; $urpm->{fatal} = $fatal_handler; @@ -1507,6 +1506,8 @@ sub get_pkgs { exec('edit-urpm-sources.pl'); } } + my $_lock = urpm::lock::urpmi_db($urpm); + sleep(10000); my $statedir = $urpm->{statedir}; @update_medias = grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}}; |