I've noticed that the majority of Ubuntu help websites present apt commands in the following format:
sudo add-apt-repository ppa:[ppa-address]
sudo apt-get update
sudo apt-get install [application-name]
But I know that apt commands like this one work too:
sudo add-apt-repository ppa:[ppa-address] && sudo apt-get update && sudo apt-get install [application-name]
Is there a particular reason that most sites present in the first format? Are there known issues with chaining commands with &&, or to put it another way are there any benefits/drawbacks to using either method?
Further, other then loss of internet, are there any circumstances in which an apt command might fail?