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

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



Please try apt-cache search emacsbuild-dep
apt-cache search emacs25
If both packages show up in above commands then your apt-get command ought to work. On Sun, 20 Aug 2017, Kynn Jones wrote:

Date: Sun, 20 Aug 2017 20:08:07
From: Kynn Jones <kynnjo@gmail.com>
To: Debian User <debian-user@lists.debian.org>
Subject: apt-get: Why "Unable to find source package" errors?
Resent-Date: Mon, 21 Aug 2017 00:08:24 +0000 (UTC)
Resent-From: debian-user@lists.debian.org

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?


--


Reply to: