Sri Lanka's new government will investigate an attempt by Mahinda Rajapakse to stage a "coup" to remain in power after it became clear he had lost last week's presidential election, a spokesman said Sunday.