Here is a good example how to call pycurl.   It expects the proxy to be in format socks://ip:port, and will default to port 8888 if you just pass it the proxy hostname.     import cStringIO import pycurl import sys,traceback def GetPage(url, proxy=None): if proxy: port = 8888 proxy = proxy.replace(“socks://”, “”) if “:”

Unfortunately Debian 6 doesn’t let you upgrade to python 2.7.  This is a problem for me because 2.7 has added check_output function to subprocess.  If you see the following errors: Traceback (most recent call last): File “/usr/local/bin/keyupdate.py”, line 7, in <module> from subprocess import Popen, PIPE, check_output ImportError: cannot import name check_output   That means

With the latest versions of Promox there is now two repositories. One is set up for paid subscriptions, and one is set up for unpaid subscriptions. Unfortunately by default the paid repository is enabled, so without a valid subscription you can no longer upgrade a server. So to upgrade a server you should do the