On 22/03/2019 The Natural Philosopher wrote:
> On 22/03/2019 16:43, Roby wrote:
>> On 22/03/2019 The Natural Philosopher wrote:
>>> On 22/03/2019 13:46, Roby wrote:
>>> > Err http://archive.raspberrypi.org jessie/main armhf Packages
>>> 404 Not Found [IP: 46.235.227.11 80]
>>>
>>>
>>>
>>> 404 error is not "I cannot see the server", but "the server cannot find
>>> the file!"
>>>
>>>
>>> So it is NOTHING to do with your network connection!
>>>
>>> Sorry that was a red herring.
>>>
>>> I have seen this occasionally when distros are being updated.
>>>
>>> Hmm.. Jessie was last updated on the 21st..
>>>
>>> y'know I BET that somehow you are using a proxy server and it has cached
>>> an incomplete and old version of what is on that server.
>>>
>>> One possible way - I'd ask others to comment - to circumvent that is to
>>> use https instead of http.
>>>
>>> So modify the remote sources.list to use https.
>>>
>>> proxy servers usually pass that straight through.
>>>
>>> You will get errors from:
>>>
>>>
>>> https://raspbian.raspberrypi.org/raspbian stretch InRelease
>>> Failed to connect to raspbian.raspberrypi.org port 443: Connection
>>> refused
>>>
>>> but my pi DID connect to archive.raspberrypi.org
>>>
>>> So once its done that, go back to the old sources.list and try and install
>>> whatever you need.
>>>
>>> Its bloody hard to circumvent mobile phone ISP proxy servers. Pain in the
>>> arse.
>> I modified /etc/apt/sources.list by entering
>> 'deb https://mirrordirector.raspbian.org/raspbian/ jessie main contrib
>> non-free rpi'
>> but the result of 'sudo apt-get update' is this:
>> E: The method driver /usr/lib/apt/methods/https could not be found.
>> N: Is the package apt-transport-https installed?
>> Also tried
>> 'sudo apt-get install apt-transport-https'
>> but nothing has changed
>> Removed https from sources.list nothing has changed
>> Also done the reboot
>> :-?
>>
> sigh. I am on stretch and it worked by default...:-(
Thank you anyway for your cooperation
I also tried to insert the IP addresses in /etc/hosts and the result
does not change .... just writes
'Err http://mirrordirector.raspbian.org jessie / main armhf Packages
404 Not Found '
without highlighting the IP .....
so you're right: can't find the files ... !!!
That's enough ! I got tired of trying..
I hope that those who have had this SAME problem read this thread ...
and tell me how it is solved.
Otherwise when I go to the remote location I will try to investigate
further
@Dennis Lee Bieber
Thanks also to you for the suggestion but I have never tried to install
remotely via SFTP ... it would also be a long thing because the
packages are so many .... and I wouldn't risk blocking the rpi3 because
I need it to check the APC UPS remotely (in the remote site I have
video surveillance and alarm system ...)
--
Roby
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|