From 9eead45beabdfd51f6cd9954bfd43c75e600e653 Mon Sep 17 00:00:00 2001 From: neoclust Date: Thu, 5 Mar 2026 07:46:10 +0100 Subject: stop using disabled backport media in case of update (upstreaming a patch used since 2023-01-04) (Papoteur) --- Rpmdrake/open_db.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) : ())); -- cgit v1.2.1