Yemen's vice president issued a decree on Wednesday to set up a national unity government to prepare for elections, as fighting raged on the streets of the capital Sanaa.

The announcement by vice-President Abd-Rabbu Mansour Hadi paves the way for a unity government to be sworn in as part of a plan to end months of protests against outgoing President Ali Abdullah Saleh.

In the latest threat to a transition away from Saleh's 33-year rule, government forces traded artillery fire with tribal foes in Sanaa, witnesses said. One person was killed and more than a dozen were injured, according to the office of a tribal leader and Saleh opponent whose compound came under fire.

Under a Gulf-brokered power transfer plan signed in Saudi Arabia last month, Saleh's General People's Congress (GPC) party agreed to divide cabinet posts with its opponents in a coalition government headed by an opposition leader.

Mohammed Basindwa, a former foreign minister, was nominated to head the new government by opposition parties. The GPC retained the key portfolios of defence and foreign affairs, while opposition parties received the interior and finance ministries.

Basindwa told Reuters the swearing in would take place on Saturday.

Apart from preparing for the presidential election, set for Feb. 21, 2012, the new government faces numerous challenges, such as restoring security, providing vital services disrupted by 10 months of mass protests and combating rising separatist sentiment in the south.

"I think the government is going to find it very difficult to be able to function and govern the whole of the united country properly. It remains to be seen how the street will react to this new government and the south also in particular," said Ghanem Nuseibeh, an analyst and founder of the Cornerstone Global Associates consultancy.

The government must also deal with Islamist militants who have exploited the protests to strengthen their southern foothold.

Top oil exporter Saudi Arabia and the United States that a slide toward more chaos after the uprising against Saleh would embolden Yemen's al Qaeda wing, against which Washington has waged a campaign of drone strikes.

Fighting raged in Sanaa on Wednesday near government buildings and the compound of tribal leader Sadeq al-Ahmar, an arch-rival of Saleh. His office said one person had been killed and 13 injured in shelling by government forces on the al-Hasaba district.

Witnesses said shells had fallen on government buildings including the headquarters of state radio and the prime minister's offices as government forces fought Ahmar's men in their al-Hasaba stronghold.

The capital saw open warfare in May between Saleh's forces and those of Ahmar, a leader of the powerful Hashed tribal confederation, after Saleh pulled out of signing the transition deal backed by the Gulf Cooperation Council.