From 29da1520437fc3edfe9b53b7e07441af91d2b1ad Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Mon, 7 Oct 2013 15:07:35 +0100 Subject: [PATCH setup] Fix selecting of package dependencies in unattended mode Signed-off-by: Jon TURNEY --- prereq.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/prereq.cc b/prereq.cc index 675bdfe..a46ca7e 100644 --- a/prereq.cc +++ b/prereq.cc @@ -150,9 +150,10 @@ PrereqPage::OnUnattended () if (unattended_mode == chooseronly) return -1; - // in unattended mode, carry on to download/install - // (this can only happen if there some kind of problem with dependencies, as all required dependencies - // should be selected automatically by the chooser page in unattended mode, so we should never get here) + // in unattended mode, add the missing requirements, then carry on to download/install + PrereqChecker p; + p.selectMissing (); + return whatNext(); } -- 1.8.3.4