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

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



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 don't *think* you need to be root to run 'apt-get source', but if it complains about permissions, try again with sudo).


References

  Visible links
  1. http://deb.debian.org/debian
  2. http://deb.debian.org/debian
  3. http://deb.debian.org/debian
  4. http://deb.debian.org/debian
  5. http://security.debian.org/
  6. http://security.debian.org/

--
For more information, please reread.

Attachment: signature.asc
Description: PGP signature


Reply to: