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 members of the city council or by the mayor and three members of the council. The city manager shall be appointed solely on the basis of executive and administrative qualifications.