Get E: Unable to find a source package for samba when trying to set up Samba build for Debian testing

Steve Langasek vorlon at
Fri Oct 11 20:51:46 MDT 2013

On Fri, Oct 11, 2013 at 07:32:08PM -0700, Richard Sharpe wrote:
> Hi folks,

> I was trying to do the following:

>     apt-get build-dep samba

> and got the above error messages. apt-get works for me as I used it to
> make sure that fakeroot, build-essential and git were installed.

> What have I done wrong?

Probably missing the matching 'deb-src' lines for your 'deb' lines in
/etc/apt/sources.list, without which apt doesn't have information about
the source packages.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                          
slangasek at                                     vorlon at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <>

More information about the samba-technical mailing list