diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-06-11 19:09:08 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-06-11 19:09:08 +0000 |
commit | 6be51805c7819e7fc3369b22d6425160571405e3 (patch) | |
tree | f379ac1d8599c8c7d0ae57dd38326e48867546d8 /perl-install/install | |
parent | a0d1b345c4e84f18cf8f0914b89014d2583d85e1 (diff) | |
download | drakx-backup-do-not-use-6be51805c7819e7fc3369b22d6425160571405e3.tar drakx-backup-do-not-use-6be51805c7819e7fc3369b22d6425160571405e3.tar.gz drakx-backup-do-not-use-6be51805c7819e7fc3369b22d6425160571405e3.tar.bz2 drakx-backup-do-not-use-6be51805c7819e7fc3369b22d6425160571405e3.tar.xz drakx-backup-do-not-use-6be51805c7819e7fc3369b22d6425160571405e3.zip |
(setPackages) call clean_rpmdb_shared_regions() early thus fixing upgrade with rpm-4.10.0:
"error: db5 error (-30969) from dbenv->open: BDB0091 DB_VERSION_MISMATCH: Database environment version mismatch
error: cannot open Packages index using db5 - (-30969)
error: cannot open Packages database in /mnt/var/lib/rpm/"
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/install/any.pm | 4 |
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' } ]; |