another way to look at it may be that there is neither some thing wrong with democracy nor dictatorship.
Although these days dictatorship and military rule are used as interchange able terms but in principle they are not.
As Old School pointed out that may be there is some thing wrong at the core foundation of the system,
Ideology may be one of them, but more so I would say Feudalism.
We must remember that the country was for the people,
in our case people were for the feudal.
Which can be proven to lead to social disparity, class segregation and the evident frustration that prevails today.
Indians started with almost the same platter of problems and incentives as we did; the biggest difference in our history might be Nehru's land reforms which in principle and practice rendered the feudal society impotent.
Democracy CAN work, in circumstances that the holder of the vote also
holds and appreciate his/her own worth.