Seventy-seven people died when a military aircraft crashed in Algeria on Tuesday and just one survived, the defence ministry said, adding that they accounted for all 78 people on board.