diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-25 08:51:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-25 08:51:06 +0000 |
commit | f74f9d78b6ef204b6c0f4cfeca0932d70892fe02 (patch) | |
tree | 1e54a91c8c9cf838ba9f34a52cfb771c132a5351 /perl-install/install/install2.pm | |
parent | 53f3b047d2cd22dab61c5c6c721cc268640828f1 (diff) | |
download | drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.gz drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.bz2 drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.tar.xz drakx-f74f9d78b6ef204b6c0f4cfeca0932d70892fe02.zip |
- generate /var/lib/rpm/installed-through-deps.list
(to initialize urpmi orphans)
- for this, we must ensure $packages (which is similar to urpmi's $urpm) has
field {root}
Diffstat (limited to 'perl-install/install/install2.pm')
-rw-r--r-- | perl-install/install/install2.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 6b928c8e1..be64e04cb 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -246,6 +246,10 @@ sub configureNetwork { #------------------------------------------------------------------------------ sub installUpdates { my ($auto) = @_; + + require urpm::orphans; + urpm::orphans::add_unrequested($o->{packages}, $o->{packages}{state}); + installStepsCall($o, $auto, 'installUpdates'); } #------------------------------------------------------------------------------ |