[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get: Why "Unable to find source package" errors?



Raju, thanks.  I get the same error after I make that change.


On Sun, Aug 20, 2017 at 8:51 PM, kamaraju kusumanchi <raju.mailinglists@gmail.com> wrote:
On Sun, Aug 20, 2017 at 8:08 PM, Kynn Jones <kynnjo@gmail.com> wrote:
> Example:
>
>     % sudo apt-get build-dep emacs25
>     Reading package lists... Done
>     E: Unable to find a source package for emacs25
>
> I have run `apt-get update` before running the command above, and my
> `/etc/apt/sources.list` file contains the following
>
>     deb  http://deb.debian.org/debian stretch main contrib non-free
>     deb-src  http://deb.debian.org/debian stretch main contrib non-free
>
>     deb  http://deb.debian.org/debian stretch-updates main contrib non-free
>     deb-src  http://deb.debian.org/debian stretch-updates main contrib
> non-free
>
>     deb http://security.debian.org/ stretch/updates main contrib non-free
>     deb-src http://security.debian.org/ stretch/updates main contrib
> non-free
>
> What am I doing wrong?

Your apt-get build-dep command is fine. This could be be a problem
with the particular mirror you are using. Try using
http://httpredir.debian.org/debian/ instead of
http://deb.debian.org/debian and see if that works.

raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog



Reply to: