diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 14:17:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-03-04 14:17:17 +0000 |
commit | f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0 (patch) | |
tree | 529230147f9e1c2ba9eab7aa10add2c494d9f26b /perl-install | |
parent | 29d693fc023ab422d5003c279f93fa94a82a0324 (diff) | |
download | drakx-f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0.tar drakx-f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0.tar.gz drakx-f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0.tar.bz2 drakx-f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0.tar.xz drakx-f2be9b4a323b9b95970fd8d3ba5d1552d3bb66c0.zip |
(install) make sure we don't try to reslect already selected packages
by dropping packages->{state}
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/NEWS | 2 | ||||
-rw-r--r-- | perl-install/install/pkgs.pm | 2 |
2 files changed, 4 insertions, 0 deletions
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); |