Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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

I've been having real trouble installing Bind9 following this tutorial


When I get to entering these commands:

apt-get -y build-dep lsb-base
apt-get source lsb-base -b

I constantly get the error "E: You must put some 'source' URIs in your sources.list"
I am sure that I need to add a lsb-base source to my sources.list but I don't know what the link will be and the attributes.

I am running Debian Wheezy.

share|improve this question

The error you get is because your apt configuration seems to have lost all its sources (where it can retrieve packages from).

Usually, you should have something like this:

deb http://http.debian.net/debian/ wheezy main

in your /etc/apt/source.list file (additionally you can use ``/etc/apt/source.list.d/*.list` files).

You really must have at least one source line, else you cannot install any packages.

If you want to install source-packages (as opposed to binary-packages, which are created from the former), you also need to add one (or several) deb-src lines:

deb-src http://http.debian.net/debian/ wheezy main

This is really unrelated to lsb-base

share|improve this answer
I have already done an apt-get update && apt-get upgrade. I do have 2 main source lines. However lsb-base doesn't seem to be part of a debian package! – Coder77 Feb 21 '14 at 23:43
no, lsb-base (the binary-package) is built from lsb (the source package). anyhow, my answer was missing the info for installing "source" packages, which i have now added. – umläute Feb 22 '14 at 19:52

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.