Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #185609 > unrolled thread

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

Started byKynn Jones <kynnjo@gmail.com>
First post2017-08-21 02:10 +0200
Last post2017-08-22 00:10 +0200
Articles 16 — 9 participants

Back to article view | Back to linux.debian.user


Contents

  apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 02:10 +0200
    Re: apt-get: Why "Unable to find source package" errors? kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-08-21 03:00 +0200
      Re: apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 03:20 +0200
        Re: apt-get: Why "Unable to find source package" errors? kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-08-21 06:00 +0200
      Re: apt-get: Why "Unable to find source package" errors? Dejan Jocic <jodejka@gmail.com> - 2017-08-21 09:20 +0200
        Re: apt-get: Why "Unable to find source package" errors? Cindy-Sue Causey <butterflybytes@gmail.com> - 2017-08-21 09:50 +0200
          Re: apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 11:10 +0200
            Re: apt-get: Why "Unable to find source package" errors? Dejan Jocic <jodejka@gmail.com> - 2017-08-21 11:20 +0200
              Re: apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 12:10 +0200
              Re: apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 12:10 +0200
              Re: apt-get: Why "Unable to find source package" errors? Curt <curty@free.fr> - 2017-08-21 12:20 +0200
      Re: apt-get: Why "Unable to find source package" errors? Sven Hartge <sven@svenhartge.de> - 2017-08-21 09:30 +0200
    Re: apt-get: Why "Unable to find source package" errors? Jude DaShiell <jdashiel@panix.com> - 2017-08-21 03:40 +0200
    Re: apt-get: Why "Unable to find source package" errors? Darac Marjal <mailinglist@darac.org.uk> - 2017-08-21 12:40 +0200
      Re: apt-get: Why "Unable to find source package" errors? Kynn Jones <kynnjo@gmail.com> - 2017-08-21 23:10 +0200
        Re: apt-get: Why "Unable to find source package" errors? Brian <ad44@cityscape.co.uk> - 2017-08-22 00:10 +0200

#185609 — apt-get: Why "Unable to find source package" errors?

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 02:10 +0200
Subjectapt-get: Why "Unable to find source package" errors?
Message-ID<ugIs1-5pK-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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?

[toc] | [next] | [standalone]


#185610

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2017-08-21 03:00 +0200
Message-ID<ugJep-5Fm-3@gated-at.bofh.it>
In reply to#185609
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

[toc] | [prev] | [next] | [standalone]


#185613

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 03:20 +0200
Message-ID<ugJxL-63f-7@gated-at.bofh.it>
In reply to#185610

[Multipart message — attachments visible in raw view] — view raw

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
>
>

[toc] | [prev] | [next] | [standalone]


#185617

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2017-08-21 06:00 +0200
Message-ID<ugM2B-7uj-7@gated-at.bofh.it>
In reply to#185613
On Sun, Aug 20, 2017 at 9:12 PM, Kynn Jones <kynnjo@gmail.com> wrote:
> Raju, thanks.  I get the same error after I make that change.
>

You need to run "apt-get update" after updating the
/etc/apt/sources.list file with the new mirror. Have you done that
already? Were there any errors when you did that?

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

[toc] | [prev] | [next] | [standalone]


#185620

FromDejan Jocic <jodejka@gmail.com>
Date2017-08-21 09:20 +0200
Message-ID<ugPa9-1f1-1@gated-at.bofh.it>
In reply to#185610
On 20-08-17, kamaraju kusumanchi 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.
> 

Actually, httpredir.debian.org is unmaintained and all it does is to
redirect to deb.debian.org. What he does miss is / after debian. So it
looks like this:

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


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

[toc] | [prev] | [next] | [standalone]


#185623

FromCindy-Sue Causey <butterflybytes@gmail.com>
Date2017-08-21 09:50 +0200
Message-ID<ugPDc-1pc-13@gated-at.bofh.it>
In reply to#185620
On 8/21/17, Dejan Jocic <jodejka@gmail.com> wrote:
> On 20-08-17, kamaraju kusumanchi 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.
>>
>
> Actually, httpredir.debian.org is unmaintained and all it does is to
> redirect to deb.debian.org. What he does miss is / after debian. So it
> looks like this:
>
> 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


I came in here to ask about the "apt-get update", too.

I was also wondering about the "httpredir" one. There was some
publicity about it becoming "a thing" to do a long time ago. Then I
noticed it disappeared out of my new installations. And then I read
something about it going by the wayside. :)

I tried this command earlier. It failed with the same error as Kynn.
While I was dissecting to see if I could catch some tiny error in
Kynn's sources.list, I smacked myself in the head about mine.

Of course mine wouldn't work. My sources.list was only one line. It
didn't have the deb-src line. Always wondered what that was for, now I
know. I had just been thinking about changing that yesterday so I did
today.

My lines don't have slashes at the end. I didn't do that. Debootstrap
sets it up with no trailing slash. In fact I just got to verify for
100% because I ran the first step in debootstrap'ing Sid again a
couple hours ago.

I just ran the "apt-get build-dep emacs25" command again.. It's
working as expected now... so I'm back to leaning heavy on did you
"apt-get update"? :)

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA

* runs with duct tape *

[toc] | [prev] | [next] | [standalone]


#185624

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 11:10 +0200
Message-ID<ugQSB-2pE-5@gated-at.bofh.it>
In reply to#185623

[Multipart message — attachments visible in raw view] — view raw

OK, I added the trailing / (which, BTW, I guarantee I *never* needed
before, and I've been doing this for years), ran apt-get update, etc., but
in the end I got the same results.

Does apt-get build-dep emacs25 work ok for you all?  (I assume that if you
try it, you'll get a Y/N prompt that'll let you back out.)

Thanks!


On Mon, Aug 21, 2017 at 3:42 AM, Cindy-Sue Causey <butterflybytes@gmail.com>
wrote:

> On 8/21/17, Dejan Jocic <jodejka@gmail.com> wrote:
> > On 20-08-17, kamaraju kusumanchi 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.
> >>
> >
> > Actually, httpredir.debian.org is unmaintained and all it does is to
> > redirect to deb.debian.org. What he does miss is / after debian. So it
> > looks like this:
> >
> > 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
>
>
> I came in here to ask about the "apt-get update", too.
>
> I was also wondering about the "httpredir" one. There was some
> publicity about it becoming "a thing" to do a long time ago. Then I
> noticed it disappeared out of my new installations. And then I read
> something about it going by the wayside. :)
>
> I tried this command earlier. It failed with the same error as Kynn.
> While I was dissecting to see if I could catch some tiny error in
> Kynn's sources.list, I smacked myself in the head about mine.
>
> Of course mine wouldn't work. My sources.list was only one line. It
> didn't have the deb-src line. Always wondered what that was for, now I
> know. I had just been thinking about changing that yesterday so I did
> today.
>
> My lines don't have slashes at the end. I didn't do that. Debootstrap
> sets it up with no trailing slash. In fact I just got to verify for
> 100% because I ran the first step in debootstrap'ing Sid again a
> couple hours ago.
>
> I just ran the "apt-get build-dep emacs25" command again.. It's
> working as expected now... so I'm back to leaning heavy on did you
> "apt-get update"? :)
>
> Cindy :)
> --
> Cindy-Sue Causey
> Talking Rock, Pickens County, Georgia, USA
>
> * runs with duct tape *
>
>

[toc] | [prev] | [next] | [standalone]


#185626

FromDejan Jocic <jodejka@gmail.com>
Date2017-08-21 11:20 +0200
Message-ID<ugR2j-2uy-19@gated-at.bofh.it>
In reply to#185624
On 21-08-17, Kynn Jones wrote:
> OK, I added the trailing / (which, BTW, I guarantee I *never* needed
> before, and I've been doing this for years), ran apt-get update, etc., but
> in the end I got the same results.
> 
> Does apt-get build-dep emacs25 work ok for you all?  (I assume that if you
> try it, you'll get a Y/N prompt that'll let you back out.)
> 
> Thanks!
> 

Hmm, live and learn. I've been using trailing / for years, I think.
Anyway, yes, apt-get build-dep emacs25 works here fine, at least with
--simulate flag.

[toc] | [prev] | [next] | [standalone]


#185627

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 12:10 +0200
Message-ID<ugROG-339-13@gated-at.bofh.it>
In reply to#185626

[Multipart message — attachments visible in raw view] — view raw

On Mon, Aug 21, 2017 at 6:02 AM, Kynn Jones <kynnjo@gmail.com> wrote:

> (Sorry, Dejan; I intended to send this to the list.  Apologies for the
> duplicate message.)
>
> On Mon, Aug 21, 2017 at 5:13 AM, Dejan Jocic <jodejka@gmail.com> wrote:
>
>> Anyway, yes, apt-get build-dep emacs25 works here fine, at least with
>> --simulate flag.
>>
>>
> Thanks!  That's good to know.  It means that I have a misconfiguration
> somewhere.
>
> How do I troubleshoot this problem further?
>

Also, for the record, normal `apt-get install ...` works fine.

[toc] | [prev] | [next] | [standalone]


#185630

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 12:10 +0200
Message-ID<ugROG-339-15@gated-at.bofh.it>
In reply to#185626

[Multipart message — attachments visible in raw view] — view raw

(Sorry, Dejan; I intended to send this to the list.  Apologies for the
duplicate message.)

On Mon, Aug 21, 2017 at 5:13 AM, Dejan Jocic <jodejka@gmail.com> wrote:

> Anyway, yes, apt-get build-dep emacs25 works here fine, at least with
> --simulate flag.
>
>
Thanks!  That's good to know.  It means that I have a misconfiguration
somewhere.

How do I troubleshoot this problem further?

On Mon, Aug 21, 2017 at 5:13 AM, Dejan Jocic <jodejka@gmail.com> wrote:

> On 21-08-17, Kynn Jones wrote:
> > OK, I added the trailing / (which, BTW, I guarantee I *never* needed
> > before, and I've been doing this for years), ran apt-get update, etc.,
> but
> > in the end I got the same results.
> >
> > Does apt-get build-dep emacs25 work ok for you all?  (I assume that if
> you
> > try it, you'll get a Y/N prompt that'll let you back out.)
> >
> > Thanks!
> >
>
> Hmm, live and learn. I've been using trailing / for years, I think.
> Anyway, yes, apt-get build-dep emacs25 works here fine, at least with
> --simulate flag.
>
>

[toc] | [prev] | [next] | [standalone]


#185631

FromCurt <curty@free.fr>
Date2017-08-21 12:20 +0200
Message-ID<ugRYl-37l-1@gated-at.bofh.it>
In reply to#185626
On 2017-08-21, Dejan Jocic <jodejka@gmail.com> wrote:
> On 21-08-17, Kynn Jones wrote:
>> OK, I added the trailing / (which, BTW, I guarantee I *never* needed
>> before, and I've been doing this for years), ran apt-get update, etc., but
>> in the end I got the same results.
>> 
>> Does apt-get build-dep emacs25 work ok for you all?  (I assume that if you
>> try it, you'll get a Y/N prompt that'll let you back out.)
>> 
>> Thanks!
>> 
>
> Hmm, live and learn. I've been using trailing / for years, I think.
> Anyway, yes, apt-get build-dep emacs25 works here fine, at least with
> --simulate flag.
>

I have none and neither does the wiki (trailing slashes, that is).

https://wiki.debian.org/SourcesList


-- 
"One can remain alive long past the usual date of disintegration if one is
unafraid of change, insatiable in intellectual curiosity, interested in big
things, and happy in small things." — Edith Wharton

[toc] | [prev] | [next] | [standalone]


#185621

FromSven Hartge <sven@svenhartge.de>
Date2017-08-21 09:30 +0200
Message-ID<ugPjR-1iz-19@gated-at.bofh.it>
In reply to#185610
kamaraju kusumanchi <raju.mailinglists@gmail.com> wrote:

> 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.

Both URLs point to exactly the same service. The old
httpredir.debian.org has been discontinued and its hostname points to
deb.debian.org.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.

[toc] | [prev] | [next] | [standalone]


#185614

FromJude DaShiell <jdashiel@panix.com>
Date2017-08-21 03:40 +0200
Message-ID<ugJR7-69i-1@gated-at.bofh.it>
In reply to#185609
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?
>

-- 

[toc] | [prev] | [next] | [standalone]


#185632

FromDarac Marjal <mailinglist@darac.org.uk>
Date2017-08-21 12:40 +0200
Message-ID<ugShI-3dJ-23@gated-at.bofh.it>
In reply to#185609

[Multipart message — attachments visible in raw view] — view raw

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.

[toc] | [prev] | [next] | [standalone]


#185672

FromKynn Jones <kynnjo@gmail.com>
Date2017-08-21 23:10 +0200
Message-ID<uh27n-12T-7@gated-at.bofh.it>
In reply to#185632

[Multipart message — attachments visible in raw view] — view raw

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.

[toc] | [prev] | [next] | [standalone]


#185673

FromBrian <ad44@cityscape.co.uk>
Date2017-08-22 00:10 +0200
Message-ID<uh33r-1Dm-9@gated-at.bofh.it>
In reply to#185672
On Mon 21 Aug 2017 at 17:02:44 -0400, Kynn Jones wrote:

> On Mon, Aug 21, 2017 at 6:34 AM, Darac Marjal <mailinglist@darac.org.uk>
> wrote:
> 
> > What happens if you try to get the source package directly?
> >
> > % apt-get source emacs25
 
> I get exactly the same error.

deb.debian.org does not have packages itself but looks for suitable
places to get the package for you. Maybe it is finding somewhere which
does not have what you want. Try replacing deb.debian.org with somewhere
else in /etc/apt/sources.list.

-- 
Brian.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web