Mageia Bugzilla – Attachment 13091 Details for
Bug 28539
Full network install fails on both MGA8 and Cauldron with custom local repository
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
allow to retry downloading packages up to 3 times
0001-Retry-downloading-packages-in-case-of-error-mga-2853.patch (text/plain), 1.29 KB, created by
Thierry Vignaud
on 2022-01-19 01:20:53 CET
(
hide
)
Description:
allow to retry downloading packages up to 3 times
Filename:
MIME Type:
Creator:
Thierry Vignaud
Created:
2022-01-19 01:20:53 CET
Size:
1.29 KB
patch
obsolete
>From b17061da2eaa00a37a25957ad35c86f485c694e5 Mon Sep 17 00:00:00 2001 >From: Thierry Vignaud <thierry.vignaud@gmail.com> >Date: Wed, 19 Jan 2022 01:18:38 +0100 >Subject: [PATCH] Retry downloading packages in case of error (mga#28539) > >--- > perl-install/install/NEWS | 3 +++ > perl-install/install/pkgs.pm | 1 + > 2 files changed, 4 insertions(+) > >diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS >index e98557b67..dae03054d 100644 >--- a/perl-install/install/NEWS >+++ b/perl-install/install/NEWS >@@ -1,3 +1,6 @@ >+- package installation: >+ o retry downloading packages in case of error (mga#28539) >+ > Version 18.48 - 17 January 2022 > > - Enable to alter default downloader (mga#28539) >diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm >index 0dbd38751..b095d8d41 100644 >--- a/perl-install/install/pkgs.pm >+++ b/perl-install/install/pkgs.pm >@@ -420,6 +420,7 @@ sub empty_packages { > urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'}; > $::force = 1; > $packages->{options}{ignoresize} = 1; >+ $packages->{options}{retry} = 3; > $packages->{options}{downloader} = $::o->{options}{downloader}; > # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: > $packages->{options}{'priority-upgrade'} = undef; >-- >2.34.1 >
From b17061da2eaa00a37a25957ad35c86f485c694e5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud <thierry.vignaud@gmail.com> Date: Wed, 19 Jan 2022 01:18:38 +0100 Subject: [PATCH] Retry downloading packages in case of error (mga#28539) --- perl-install/install/NEWS | 3 +++ perl-install/install/pkgs.pm | 1 + 2 files changed, 4 insertions(+) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index e98557b67..dae03054d 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- package installation: + o retry downloading packages in case of error (mga#28539) + Version 18.48 - 17 January 2022 - Enable to alter default downloader (mga#28539) diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 0dbd38751..b095d8d41 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -420,6 +420,7 @@ sub empty_packages { urpm::set_tune_rpm($packages, $::o->{'tune-rpm'}) if $::o->{'tune-rpm'}; $::force = 1; $packages->{options}{ignoresize} = 1; + $packages->{options}{retry} = 3; $packages->{options}{downloader} = $::o->{options}{downloader}; # prevent priority upgrade (redundant for now as $urpm->{root} implies disabling it: $packages->{options}{'priority-upgrade'} = undef; -- 2.34.1
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28539
:
12425
|
12429
|
12430
|
13087
|
13088
|
13089
| 13091