Stop execution when installing packages fails, part 2.