Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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/", line 84, in get_ppa_info_from_lp
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
possible duplicate of How can I install Windows software? also games? – Braiam Sep 20 '13 at 11:12
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

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

Your Answer


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.