Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ftp://ftp.debian.org/debian 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

1 Answer 1

up vote 1 down vote accepted

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

Ex:

deb-src http://ftp.se.debian.org/debian/ stable main <add more if needed>

Find your closest mirror here

share|improve this answer

Your Answer

 
discard

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.