I'm trying to install PIL a python module on ubuntu
I first need to install a package called python-imaging using the following command
sudo apt-get build-dep python-imaging
When I try and do this I get the error
E: You must put some 'source' URIs in your sources.list
I saw this question whihc shows how to fix via the GUI but I'm using the command line. Does anyone know how I can fix this error..?
UPDATE: Based on the below answers I've updated my package list but I now get this error. Not sure if it is related, if not I'll start a new question as I can't find reference to the error anywhere.
E: Build-Depends dependency for python-imaging cannot be satisfied because candidate version of package python-all-dev can't satisfy version requirements
deb-src
lines insources.list
I had toapt update
to get this message to go away