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/NEWS | 3 +++ perl-install/install/steps_interactive.pm | 2 ++ 2 files changed, 5 insertions(+) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index e9b63b4b4..9abb80ef5 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,6 @@ +- clean_rpmdb_shared_regions before and after calling gurpmi.addmedia/gurpmi2 + in chroot + Version 11.52 - 23 September 2008 - auto-configure floppies (in /etc/modprobe.preload.d/floppy) 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