Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

What i'm trying to do is install Xen in a test environment, now I am trying to run the:

apt-get build-dep xen-3.3

command, but it keep throwing a error which literally translated from dutch (installed the debian OS in Dutch) say's:

E: your sourcelist (/etc/apt/sources.list) has to contain at least 1 source-URI

I've googled it but I can't seem to find a definitive solid answer on how to fix this.

By default a source-URI (read man page of apt-get) states it needs to be something along the lines of

deb stable contrib

Now I've got 2 HTTP sources (default Debian ones) up & running so far and they've been working flawlessly for the better part of a few days now. Only now its starting to act up.

Anyone able to help me out ?

Much obliged !

share|improve this question
up vote 1 down vote accepted

You need to add a source url "deb-src"


deb-src stable main <add more if needed>

Find your closest mirror here

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.