"Authentication service is not available" when installing IDLE (using python 2.7)

Solution 1:

A temporary workaround to this is:

sudo software-center

Solution 2:

Try this:

sudo apt-get update
sudo apt-get install idle3

Also, it is possible your package manager is being blocked by another process, like an update in the background, or another install that did not complete. You can try rebooting, and then issuing the following, which will finish any incomplete installations:

sudo dpkg --configure -a

Solution 3:

There were some updates pending for my ubuntu installation. I updated my ubuntu and everything started working fine for me afterwards.

thanks for all your help

With Regards Gagan Janjua