diff options
| author | neoclust <neoclust@mageia.org> | 2026-03-05 07:46:10 +0100 |
|---|---|---|
| committer | Papoteur <papoteur@mageia.org> | 2026-03-05 07:48:19 +0100 |
| commit | 9eead45beabdfd51f6cd9954bfd43c75e600e653 (patch) | |
| tree | 335c3666bc7f905858acb51a996231ab948f92bd /Rpmdrake | |
| parent | f769305cae4e23c4bb9a9040ef884ed053e3697d (diff) | |
| download | rpmdrake-master.tar rpmdrake-master.tar.gz rpmdrake-master.tar.bz2 rpmdrake-master.tar.xz rpmdrake-master.zip | |
stop using disabled backport media in case of update (upstreaming a patch used since 2023-01-04) (Papoteur)HEADmaster
Diffstat (limited to 'Rpmdrake')
| -rw-r--r-- | Rpmdrake/open_db.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index 90b5d982..ff4dad55 100644 --- a/Rpmdrake/open_db.pm +++ b/Rpmdrake/open_db.pm @@ -150,7 +150,10 @@ sub open_urpmi_db { my $urpm = fast_open_urpmi_db(); my $media = ref $::rpmdrake_options{media} ? join(',', @{$::rpmdrake_options{media}}) : ''; - my $searchmedia = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm)); + # 2023/01/04 : stop using disabled backport media in case of update + # my $searchmedia = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm)); + undef $searchmedia; + $urpm->{lock} = urpm::lock::urpmi_db($urpm, undef, wait => $urpm->{options}{wait_lock}) if !$::env; my $previous = $::rpmdrake_options{'previous-priority-upgrade'}; urpm::select::set_priority_upgrade_option($urpm, (ref $previous ? join(',', @$previous) : ())); |
