From f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 4 Mar 2009 14:17:17 +0000 Subject: (install) make sure we don't try to reslect already selected packages by dropping packages->{state} --- perl-install/install/NEWS | 2 ++ perl-install/install/pkgs.pm | 2 ++ 2 files changed, 4 insertions(+) (limited to 'perl-install/install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index b67cb8c3a..81f5f7358 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,5 @@ +- make sure we don't try to reslect already selected packages + Version 12.2 - 3 March 2009 - only warn if a transaction failed (no more a fata error for auto diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index 4acb84ac9..677fdb4ab 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -686,6 +686,8 @@ sub install { log::l("closing install.log file"); close $LOG; + $packages->{state} = {}; + clean_rpmdb_shared_regions(); #- workaround librpm which is buggy when using librpm rooted and the just installed rooted library fs::loopback::save_boot($loop_boot); -- cgit v1.2.1