It looks like the regime in Libya's days are numbered.
Qaddafi is ordering the air force to bomb opposition-held cities, and several pilots have defected to Malta (or, in one case, ejected and let their plane crash), rather than carry out the orders.
Of the regimes in the Middle East that have got to go, I'd put Libya's high on the list.
And unlike Egypt and Tunisia, which had organized opposition groups, and professional, apolitical militaries, who will probably be able to set up governments that are at least marginally better than the ones that came before them, Libya essentially has no institutions. The military is completely fragmented. This was by design, as Qaddafi (correctly, it turned out) feared that it would turn against him. He has an extremely bizarre and abhorrent (though very clear and specific) view of how a society should function. And he knew that in order to implement his grand plan, he would first have to dismantle all of Libya's institutions when he took over, presumably to rebuild them from the ground up. Guess which step he completed, and which he never seemed to get around to.
What will happen when he's gone is completely up in the air. Unfortunately, I wouldn't be very surprised if Libya turned into something like Somalia.
Libya also has a large number of tribal communities. My guess is that it would be more like Afghanistan than Somalia: a centralized, ineffectual government in the capital city that would like to be influential but is widely ignored. Then again, I don't know who would draft the constitution for that centralized government. The more people from outside the country are involved, the less legitimacy the government will have.