They were equipped. They even had nation wide curfew and shoot at sight order.
But when you are up against an angry mob of millions rioting across whole nation then you simply don't have enough human resource to outlast them. More so when riots are widespread and last more than a month...