Run apt-get update before apt-get install to ensure up-to-date sources?
I added "python-imaging" to the packages = section of app.ini, but when it attempts to install PIL on the remote server, I get an error about libfreetype not being found:
"Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6_2.3.11-1ubuntu2.2_amd64.deb 404 Not Found [IP: 126.96.36.199 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Looks like the correct URL should be: http://security.ubuntu.com/ubuntu/pool/main/f/freetype/libfreetype6-dev_2.3.11-1ubuntu2_amd64.deb (notice an extra .2 in the URL above?)
So maybe we need to issue an apt-get update before we attempt to install any new OS packages to make sure the sources are up-to-date.