安装 JDK 6 出错求助 新手上路,求大神指点。

Ubuntu 12.4里面cmd:

sudo add-apt-repository ppa:webupd8team/java

之后出现这个错误,怎么破?

Traceback (most recent call last):
File “/usr/bin/add-apt-repository”, line 128, in
ppa_info = get_ppa_info_from_lp(user, ppa_name)
File “/usr/lib/python2.7/dist-packages/softwareproperties/ppa.py”, line 84, in get_ppa_info_from_lp
curl.perform()
pycurl.error: (7, “couldn’t connect to host”)

然后出现崩溃报告:
对不起,应用程序add-apt-repository意外关闭

直接在source.list增加源试试,然后更新一下apt-get update