summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS1
-rw-r--r--perl-install/install/any.pm4
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 50023252e..24f92f38d 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- fix upgrade with rpm-4.10.0
- really fix build with brltty-4.3
Version 14.27 - 7 June 2012
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 433181f76..2208d84e4 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -314,6 +314,10 @@ sub setPackages {
require install::pkgs;
{
+ #- clean shared regions very early
+ # (configure_media will open rpmdb for listing existing pubkeys,
+ # which may fail when rpm version mistmatches between drakx & chrooted env)
+ install::pkgs::clean_rpmdb_shared_regions();
$o->{packages} = install::pkgs::empty_packages($o->{keep_unrequested_dependencies});
my $media = $o->{media} || [ { type => 'media_cfg', url => 'drakx://media' } ];