The Algerian foreign ministry did not give a reason for the move but said it had exhausted all means.