The leader of Germany 's Social Democratic Party says he will not run again for that post and might not serve in a new cabinet .