I R A Darth Aggie wrote:
> On Wed, 26 Sep 2018 14:02:37 -0000 (UTC),
> NotReal , in
>
> > pi@raspberrypi:~/temp $ apt-get source sunclock
> > Reading package lists... Done
> > E: Unable to find a source package for sunclock
>
> Did you update the package list?
>
> sudo apt-get update
>
> Once you do that, then you can do the apt-get source sunclock and get
> something like this:
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Need to get 1,585 kB of source archives.
> Get:1 http://archive.raspbian.org/raspbian/ jessie/main sunclock 3.57-3 (dsc)
> [1,208 B] Get:2 http://archive.raspbian.org/raspbian/ jessie/main sunclock
> 3.57-3 (tar) [1,571 kB] Get:3 http://archive.raspbian.org/raspbian/
> jessie/main sunclock 3.57-3 (diff) [13.1 kB]
>
> Then you should see 13 patches being applied, and ending up with a
> directory called sunclock-3.57. From there, you can make your changes,
> then build your own .deb package, and then "sudo dpkg -i
> sunclock(stuff).deb" and install in the usual way.
>
> > so I am probably not doing something right. I would not think there
> > would be so few sources available for that many binaries. ???
>
> That's because some of those source packages will generate many binary
> packages. For instance, the source package gcc-8 generates 190 binary
> packages.
>
> Take a look:
> https://packages.debian.org/search?searchon=sourcenames&keywords=gcc
I have issued
sudo apt-get update
several times along the way, but I did it again to be sure it was current and
received two updates totalling 15k.
debian stretch InRelease
raspbian stretch InRelease
After that I repeated
apt-get source sunclock
but it still shows
Reading package lists... Done
E: Unable to find a source package for sunclock
I notice that your references all indicate jessie. Could my problems be
related to using stretch?
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|