Exactly.
It looked promising at first, but we got our priorities wrong and that fucked us. The transitional government wanted to build an armed forces, police, etc. But they prioritized preparing for parliamentary elections, and allowing parties to form, in the meanwhile militia's were getting formed, and since lots of these militia's had actually fought against Gedaffi the transitional government gave them salaries and asked them to protect the country's most important institutions and spots( oil fields, airport, government buildings) they got stronger and stronger, until they became stronger than the government. It all went downhill from there.