The mayor and city council shall appoint a city manager for an indefinite term and shall fix the city manager's compensation; provided, however, no city manager shall be appointed by less than the affirmative vote of four councilmembers or by the mayor and three councilmembers. The city manager shall be appointed solely on the basis of executive and administrative qualifications.