Comment 9 for bug 926548

Revision history for this message
simonthesorcerer (simon-evil-empire) wrote :

I also have this problem in a freshly installed 12.04.

As this problem is gnutls related i tried the workaround found here : http://code.google.com/p/wfuzz/wiki/PyCurlSSLBug
and it worked for me.
The Workaround ist to build PyCurl against openssl instead of gnutls (the version number of the pycurl source packages can be can be another one) :

1. sudo apt-get install build-essential fakeroot dpkg-dev
2. mkdir ~/python-pycurl-openssl
3. cd ~/python-pycurl-openssl
4. sudo apt-get source python-pycurl
5. sudo apt-get build-dep python-pycurl
6. sudo apt-get install libcurl4-openssl-dev
7. sudo dpkg-source -x pycurl_7.19.0-3build1.dsc
8. cd pycurl-7.19.0
9. edit debian/control file and replace all instances of “libcurl4-gnutls-dev” with “libcurl4-openssl-dev”
10. sudo dpkg-buildpackage -rfakeroot -b
11. sudo dpkg -i ../python-pycurl_7.19.0-3build1_i386.deb