summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-08-05 12:12:25 +0000
committerFrancois Pons <fpons@mandriva.com>2003-08-05 12:12:25 +0000
commite79671ae6ad163a987cab22b472fda44e7ba8faa (patch)
treeea4edf24ddf8a6fe885428575ecbaa8667c86a4f /perl-install
parentab1ca37cd7fc3710e9ea8564a33b6640cc16cb72 (diff)
downloaddrakx-backup-do-not-use-e79671ae6ad163a987cab22b472fda44e7ba8faa.tar
drakx-backup-do-not-use-e79671ae6ad163a987cab22b472fda44e7ba8faa.tar.gz
drakx-backup-do-not-use-e79671ae6ad163a987cab22b472fda44e7ba8faa.tar.bz2
drakx-backup-do-not-use-e79671ae6ad163a987cab22b472fda44e7ba8faa.tar.xz
drakx-backup-do-not-use-e79671ae6ad163a987cab22b472fda44e7ba8faa.zip
fixed otherOnly for package selection not correctly updated (according to
changes in perl-URPM).
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index a13cfbf82..a806cb7ab 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -252,7 +252,6 @@ sub selectPackage {
#- when value is true, may be selected when value is false (this
#- is only used for unselection, not selection)
my $state = $packages->{state} ||= {};
- $state->{selected} = {};
my @l = $packages->resolve_requested($packages->{rpmdb}, $state, packageRequest($packages, $pkg) || {},
callback_choices => \&packageCallbackChoices);
@@ -997,7 +996,7 @@ sub install($$$;$$) {
foreach @transToInstall;
}
- $trans->order or die "error ordering package list: " . c::rpmErrorString();
+ #$trans->order or die "error ordering package list: " . c::rpmErrorString();
$trans->set_script_fd(fileno $LOG);
log::l("rpm transactions start");