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

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



On Mon, Aug 21, 2017 at 6:34 AM, Darac Marjal <mailinglist@darac.org.uk> wrote:
On Sun, Aug 20, 2017 at 08:08:07PM -0400, Kynn Jones 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  [1]http://deb.debian.org/debian stretch main contrib non-free
      deb-src  [2]http://deb.debian.org/debian stretch main contrib non-free

      deb  [3]http://deb.debian.org/debian stretch-updates main contrib non-free
      deb-src  [4]http://deb.debian.org/debian stretch-updates main contrib non-free

      deb [5]http://security.debian.org/ stretch/updates main contrib non-free
      deb-src [6]http://security.debian.org/ stretch/updates main contrib non-free

  What am I doing wrong?

What happens if you try to get the source package directly?

% apt-get source emacs25
 

I get exactly the same error.


Reply to: