Outgoing prime minister and Umno president Abdullah Ahmad Badawi has apologised for his weaknesses and imperfections.