When I'm trying to add any ppa using "apt" I get the following error:
$ sudo add-apt-repository ppa:gnome-shell-extensions
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 125, in <module>
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File "/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py", line 80, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (7, "couldn't connect to host")
Nevertheless, apt is working fine and I can install/remove/upgrade applications, moreover curl is also OK I've already checked it... My internet connection is also fine, I can use any application using internet. I am not behind any proxies or firewalls.
Everything was working fine before I updated from Ubuntu 11.10 to 12.04.
BTW: I know i can add an entry manually, but such situation is really annoying. I've been googling for a long time but with no result :(
Any ideas? Thanks :)