You have a deployment with five versions and want to rollback the last two versions. To do this, you must first roll back the latest deployment. Enter the following text at the prompt to roll back once and purge the last deployment:
rollbackdeployment -p Deploy_sales -t 1
Next, enter the following text to roll back the next to last deployment: