This is not the first time India is trying to replace the Russian made weapons with locally manufactured ones. The first attempts were made two decades ago. But everytime the HAL delivers low quality products (even worse then those from Russia) and in the end the defense ministry is forced to go back to dealing with Russia. One advantage with Russian weapons is that they are very affordable compared to the ones from France or Germany. And with one of the lowest per capita GDPs in the world, India can't afford to splurge a lot of money on imported weapons. And sourcing them from China is out of consideration, due to poor relationship between the two countries.
India spends 70 billion usd on its defence and same is volume of trade with China. India is now moving to west for procurement of weapons. The recent induction of rafale fighter from France is part of that move. Russian weapons are not that much advanced or reliable in 21st century compared to western weapon system.