Forces led by a controversial Libyan military chief manoeuvred Thursday for a threatened advance towards Tripoli as UN chief Antonio Guterres warned of the growing risk of violence.
The self-proclaimed Libyan National Army of Khalifa Haftar announced Wednesday it was gearing up to move on the west of the country including the capital, home to a UN-backed unity government.
Spokesman Ahmed Mesmari said preparations were almost complete "to purge the west of terrorists and mercenaries".
His statement was followed by troop movements on the ground, local and military sources said, as a convoy of LNA vehicles approached the city of Gharyan, some 100 kilometres (60 miles), from Tripoli.
Commander Abdessalem Al-Hassi told AFP Thursday that his forces had entered into the city without fighting.
But at least four sources in the city denied this, and a local official said there were "ongoing efforts to avoid a confrontation" between rival fighters who divide the city.
Unity government chief Fayez al-Sarraj condemned Haftar's "escalation" and said he had ordered loyalist forces to prepare to "face all threats".
Powerful armed groups from Libya's western city of Misrata, which back Sarraj, said they "stand ready... to stop the cursed advance".
The rise in tensions came as United Nations boss Guterres visited Tripoli ahead of a planned conference later this month to hammer out a roadmap for delayed parliamentary and presidential elections.
"I am deeply concerned by the military movement taking place in Libya and the risk of confrontation," the visiting Guterres tweeted from the capital.
"There is no military solution" to Libya's woes, he added.
Haftar's forces in January launched another offensive into oil-rich southern Libya, ostensibly aimed at wiping out "terrorists" and criminal groups.
The United States' embassy said it "strongly condemns the increase in violence in Libya and reiterates the UN's call for restraint".
Rival leaders had agreed in Paris last year to hold elections before the end of the year, but that vote never materialised as Haftar's forces and the Tripoli government grappled for power.
"His progress can enhance his position in the negotiations" if the UN-backed conference set for this month goes ahead, he added.