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

Richard Sharpe realrichardsharpe at
Fri Oct 11 21:38:50 MDT 2013

On Fri, Oct 11, 2013 at 7:51 PM, Steve Langasek <vorlon at> wrote:
> 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.

If I was not a bear of such little brain I would be able to figure that out.

As it stands, I simply used apt-get to install the packages that
dpkg-buildpackage said were missing.

Richard Sharpe

More information about the samba-technical mailing list