Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have been trying to install Wine on Ubuntu 12.04 and I don't seem to be winning.

I keep getting this error:

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 84, in get_ppa_info_from_lp
    curl.perform()
pycurl.error: (56, 'Received HTTP code 407 from proxy after CONNECT')

Please, can someone assist?

share|improve this question
    
You shouldn't use a ppa for wine. –  Braiam Sep 20 '13 at 11:10
1  
possible duplicate of How can I install Windows software? also games? –  Braiam Sep 20 '13 at 11:12
1  
Close voters: how is this a duplicate of that question? It doesn't solve his problem at all. It's a proxy issue, and someone posted an answer. –  Alaa Ali Sep 20 '13 at 20:10
add comment

1 Answer 1

Do you connect to the Internet through a proxy? In this case, check your login and password for proxy in System settings or try execute commands in terminal:

   sudo -i
   export http_proxy="http://login:pass@ip:port"
   add-apt-repository <PPA URL>

For more information read this topic.

If you want to disable proxy for "apt-get" read this answer

P.S. You don't need PPA for Wine. There is a stable version in the official repository.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.