As senior politicians made frantic efforts to defuse tensions and end the impasse, Roble told a delegation led by United Nations Deputy Secretary General Amina Mohammed that the vote would go ahead as planned.
Farmaajo's four-year mandate expired in February, but was extended by parliament in April, triggering deadly gun battles in the capital Mogadishu, with some rivals viewing it as a flagrant power grab.
Analysts say Somalia's political crises have distracted from more pressing threats, most notably the violent Al-Shabaab insurgency.