Sign up ×
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.

I am trying to build dwm from source.

Grabbing the source doesn't work:

(28) $ apt-get source dwm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: You must put some 'source' URIs in your sources.list

This is my sources.list file:

## Compatible with Debian Wheezy, but use at your own risk.
deb waldorf main
deb-src waldorf main

deb wheezy main contrib non-free
deb-src wheezy main contrib non-free

deb wheezy/updates main
#deb-src wheezy/updates main

What URL(s) should I put in my sources.list to get apt-get source dwm to work?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

Don't forget to run apt-get update after changing your sources.list.

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.