Richard Kettlewell wrote:
> "NotReal" writes:
> > Richard Kettlewell wrote:
> >>"NotReal" writes:
> >>> As suggested I ran “sudo dpkg-buildpackage”. My first attempt failed
> >>> because, as you suspected, it was missing the following dependencies
> >>
> >> You do not need root here. See above.
> >
> > I did read that in past posts, but when things are giving error messages
you
> > try everything might help.
>
> That is not a sensible debugging strategy. sudo can (essentially) only
> bypass permissions checks. It will not make your system find files that
> do not exist or bypass compilation errors.
>
> > It took me a while to get rid of the message about needing a URI and
> > learning enough to alter but I
> > think "apt-get source" is now working the way it should and the
> > message below is what I receive.
> >
> > _________
> >
> > pi@raspberrypi:~/temp $ apt-get source sunclock
> > Reading package lists... Done
> > E: Unable to find a source package for sunclock
>
> I expect you have missing or incorrect deb-src lines. If you post your
> sources.list here someone will be able to tell you.
That was indeed the problem. When I went looking for a reason for "apt-get
source" not working, I found the line "Uncomment line below then 'apt-get
update' to enable 'apt-get source'" in a file and when I did that it worked .
Problem solved - or so I thought. By work I mean I wasn't the getting the
error message about missing URIs and I was instead getting the message "Unable
to find a source package for sunclock".
Based on your last sentence I went looking for sources.list and found the same
message but the line below was still commented out and I figured I had not
saved it correctly. On further investigation, based on my past posts, I found
that the file that I uncommented was
/etc/apt/sources.list.d/raspi.list
Thanks to you, I have now found the same line in
/etc/apt/sources.list
I altered that file as well, did the update, and
apt-get source sunclock
worked.
I am not sure how I found the former file first when the latter should have
been more obvious but I now have the source files. I will now go back and
look at all the other helpful posts and try to move forward.
Thank you.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|