Somali President Abdullahi Yusef Ahmed will now have to appoint another prime minister .