From 6678b4e4c77acdc6bb8fa92a90cfc9e8d5d9e5d5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Sep 2008 18:07:11 +0000 Subject: - clean_rpmdb_shared_regions before and after calling gurpmi.addmedia/gurpmi2 in chroot --- perl-install/install/steps_interactive.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'perl-install/install/steps_interactive.pm') diff --git a/perl-install/install/steps_interactive.pm b/perl-install/install/steps_interactive.pm index 7ab4b11e1..dce011f4f 100644 --- a/perl-install/install/steps_interactive.pm +++ b/perl-install/install/steps_interactive.pm @@ -758,10 +758,12 @@ Do you want to install the updates?")), #- bring all interface up for installing updates packages. install::interactive::upNetwork($o); + install::pkgs::clean_rpmdb_shared_regions(); if (any::urpmi_add_all_media($o, $o->{previous_release})) { my $binary = find { whereis_binary($_, $::prefix) } 'gurpmi2', 'urpmi' or return; run_program::rooted($::prefix, $binary, '--auto-select', '--update'); } + install::pkgs::clean_rpmdb_shared_regions(); #- not downing network, even ppp. We don't care much since it is the end of install :) } -- cgit v1.2.1