They are not. Not even close.
There is nothing for Russia to be gained from Pakistan. Even with India buying more weapons from US, Europe and Israel, the total volume of weapons brought from Russia runs into 10s of billions of dollars. More then anytime during the peak of Indo-Soviet alliance during cold war. Pakistan has brought nothing from Russia except a few Mi-17 helicopter. And then there is Indian investment in Russian oil and gas, Shaklin II and Russia building nuclear reactors in India and supplying nuclear fuel.
And what does Pakistan have to offer? Nothing!
The major focus of the visit was to improve bilateral relations with particular emphasis on ways and means to enhance economic cooperation between the two countries.Russia wants to set energy deals with Pakistan.The Russians want to invest $500 million on the CASA-1000 electric transmission line to supply Pakistan with the Central Asian power from Tajikistan and Kyrgyzstan.
With deterioration of Islamabads ties with Washington, Moscow is seeking a closer relationship with Indias arch-rival with the blessing of China
Perhaps something that India never gave the USSR despite decades of "closeness": a naval base close to the Persian Gulf for the Russian Pacific Fleet.