On 27/09/18 18:00, NotReal wrote:
> NotReal wrote:
>
>> 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.
>>
>>
>
> SUCCESS. The UTC date now rolls over at midnight UTC rather than at
> the local time midnight.
>
> A thank you to all who helped me along the way, particularly to the
> Natural Philosopher for pointing the way to the code that needed
> additions, and to Mr. Kettlewell for pointing the right way for a
> successful source code download and the compiling hints.
>
> There are still some changes to make the display exactly the way I want
> so I might be back, but now I have at least a good foundation to build
> on. Thanks again.
>
>
>
>
Bravo!
Maybe Richard can tell you how to submit your changes as possible
additions to the main code branch.
--
Renewable energy: Expensive solutions that don't work to a problem that
doesn't exist instituted by self legalising protection rackets that
don't protect, masquerading as public servants who don't serve the public.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|