I don't think our Army will face Somalia like situation in India.
There could be 4 possibilities.
1> Internal security - We have around 600,000 personnel in CRPF, RAF, NSG, CISF and some special forces for any Insurgency, Terrorist attack on civilian or Industry, Riot or anything like Civil war. These all are well trained and capable for any such threat. Army will come only in 2nd phase if things will be out of hand. Very unlikely, that such things will happen in India. Terrorist attack & Insurgency/Maoist attack do happen in Kashmir and NE but we have few hundred thousand army personnel already deployed on permanent basis or base camp in near by areas. In addition, There are 1,00,00 RR and Assam rifles too beside Central armed police forces.
2> Situation in any other country where IA will face such thing. That also unlikely as we never interfere in other countries internal issues. SL was one of the rare situation and it was not good for us. We don't send our troops to any countries to control the situation except UN (where 50 countries send some troops)
3> We invade/attack any neighbour countries cities. For China, Not possible as our defence capability is not offensive as of now. It's mainly to defend ourself and we are well prepared too. If China attacks India, then also highly unlikely that we will face such situation as there is no major cities nearby border. In Leh, Gangtok, Tawang (A.P.), Uttrakhand-Tibet border all are mountain ranges with no major cities. We have 3 dedicated corps with more than half are mountain specialist assigned for such region beside 75,000 ITBP and 10,000 scouts.
4> If Pakistan attacks India ? Again we have strong presence of our Army at border along with 1,00,000+ BSF personnel. There are very few cities at Indo-Pak border (Mostly in Punjab). Bhuj, Rajasthan don't have any cities till 100 Km+ from Pak border except few small cities which are fortress since 1947 only. In J&K, we have 2 corps permanently stationed. Even in Punjab, we have 2 corps. So, Practically not possible. If Pakistan indulge in any such offensive activity, then we can always send 21 corps, Ambala and Mathura corps for invasion !!
Only possibility is Our Army faces such things in Lahore, Gujranwala, Sialkot (Pakistan punjab). Pakistan Sindhe don't have any cities near by border except Karachi/Hyderabad which is 200 Km away from our border. As far as such Somalia like situation is only possible in Pakistan Punjab, Ironically, our Cold doctrine is based on that only. It's difficult to discuss the outcome but we have capability to enter those cities.