summaryrefslogtreecommitdiffstats
path: root/perl-install/install/steps.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/steps.pm')
-rw-r--r--perl-install/install/steps.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/install/steps.pm b/perl-install/install/steps.pm
index ca9281822..86421be43 100644
--- a/perl-install/install/steps.pm
+++ b/perl-install/install/steps.pm
@@ -258,6 +258,9 @@ sub selectSupplMedia { '' }
sub choosePackages {
my ($o, $o_compssListLevel) = @_;
+ #- clear the mirror cache before upgrading:
+ rm_rf("$::prefix/var/cache/urpmi/mirrors.cache");
+
#- now for upgrade, package that must be upgraded are
#- selected first, after is used the same scheme as install.