diff --git a/travis.pl b/travis.pl index 988fb958d..61b11e433 100644 --- a/travis.pl +++ b/travis.pl @@ -339,7 +339,7 @@ sub install_xcat{ } } - my $cmd = "sudo apt-get install xcat --force-yes"; + my $cmd = "sudo apt-get install xcat --allow-remove-essential --allow-unauthenticated"; @output = runcmd("$cmd"); #print ">>>>>Dumper the output of '$cmd'\n"; #print Dumper \@output; @@ -448,7 +448,7 @@ sub check_syntax{ # Return code: #-------------------------------------------------------- sub run_fast_regression_test{ - my $cmd = "sudo apt-get install xcat-test --force-yes"; + my $cmd = "sudo apt-get install xcat-test --allow-remove-essential --allow-unauthenticated"; my @output = runcmd("$cmd"); if($::RUNCMD_RC){ print RED "[run_fast_regression_test] $cmd ....[Failed]\n";