Page 1 of 1

[Solved] PiVPN and Updates missing

Posted: Tue Jun 11, 2019 10:42 pm
by cris323i
Hi, i was trying to install the PiVPN on my rasp but there was message telling me that 2 updates were missing.
So i did "sudo apt-get update" and finished but the PiVPN was still showing that message so i tried "sudo apt-get dist-upgrade" and some errors were shown.
I did fresh raspbian install but now ive got 92 updates missing and the same results with update and dist-upgrade.



last part of the errors that i get:



E: Failed to fetch http://espejito.fder.edu.uy/raspbian/ra ... _armhf.deb Hash Sum mismatch
Hashes of expected file:
- SHA256:d69087f3500527bd24f0ee8870a41ac9e45eb34f6b73081a7775fd7ef8825208
- SHA1:9156bdc618af94d53ac6a864ef8d93c0f9af0fa7 [weak]
- MD5Sum:76f6caff8c43590c18bf7b4d622adc2f [weak]
- Filesize:149042 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Sat, 27 Apr 2019 16:08:06 +0000
E: Failed to fetch http://espejito.fder.edu.uy/raspbian/ra ... u7_all.deb Hash Sum mismatch
Hashes of expected file:
- SHA256:1e2494c1ce1440fd379ce6d00e71c112c578a63d86177b10a56289bbad8a0c12
- SHA1:57f2f1a4cf58502ec385ba3e1f7eee540d0f6bb8 [weak]
- MD5Sum:bca538436aa39e34c412287da2086ad6 [weak]
- Filesize:764754 [weak]
Hashes of received file:
- SHA256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- SHA1:da39a3ee5e6b4b0d3255bfef95601890afd80709 [weak]
- MD5Sum:d41d8cd98f00b204e9800998ecf8427e [weak]
- Filesize:0 [weak]
Last modification reported: Sat, 04 May 2019 16:08:22 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Re: PiVPN and Updates missing

Posted: Wed Jun 12, 2019 4:54 am
by rpdom
The Raspbian mirror you are using, espejito.fder.edu.uy seems to be broken. I'll ask for this post to be moved to the Raspbian part of the forums and hopefully it will then be addressed.

Re: PiVPN and Updates missing

Posted: Wed Jun 12, 2019 1:12 pm
by cris323i
so should i download the image again but from a different mirror?

Re: PiVPN and Updates missing

Posted: Wed Jun 12, 2019 1:38 pm
by rpdom
The Raspbian image you have installed is ok, it is a problem with the local mirror server that the Raspbian servers are pointing you at.

Until that is fixed, you can change your Pi to point directly at a different server. Choose one from the list here http://www.raspbian.org/RaspbianMirrors that is fairly close to you and hasn't got any issues logged against it. Then edit your sources.list file to point to that one instead of raspbian.raspberrypi.org (comment out the current line by putting a # in front and add a new line with the new server). Then run apt-get update again and things should start working.

Code: Select all

sudo nano /etc/apt/sources.list
Original file:

Code: Select all

deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
change to:

Code: Select all

#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
deb http://mirror.you.chose.here/raspbian/ stretch main contrib non-free pi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
Hopefully you will be able to change the file back in a day or so, once the affected mirror is either fixed or removed from the list.

Re: PiVPN and Updates missing

Posted: Wed Jun 12, 2019 6:26 pm
by juanii
The mirror is still failing. You can browse its directory tree but all file downloads fail. Is there a chance to temporarily remove this mirror (just like plugwash did here) so we don't have to fiddle with apt configuration?

Regards,

Re: PiVPN and Updates missing

Posted: Wed Jun 12, 2019 9:32 pm
by cris323i
rpdom wrote:
Wed Jun 12, 2019 1:38 pm
The Raspbian image you have installed is ok, it is a problem with the local mirror server that the Raspbian servers are pointing you at.

Until that is fixed, you can change your Pi to point directly at a different server. Choose one from the list here http://www.raspbian.org/RaspbianMirrors that is fairly close to you and hasn't got any issues logged against it. Then edit your sources.list file to point to that one instead of raspbian.raspberrypi.org (comment out the current line by putting a # in front and add a new line with the new server). Then run apt-get update again and things should start working.

Code: Select all

sudo nano /etc/apt/sources.list
Original file:

Code: Select all

deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
change to:

Code: Select all

#deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
deb http://mirror.you.chose.here/raspbian/ stretch main contrib non-free pi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
Hopefully you will be able to change the file back in a day or so, once the affected mirror is either fixed or removed from the list.
Got it!
it worked.
thank you so much!

Re: PiVPN and Updates missing

Posted: Thu Jun 13, 2019 5:18 am
by rpdom
juanii wrote:
Wed Jun 12, 2019 6:26 pm
Is there a chance to temporarily remove this mirror (just like plugwash did here) so we don't have to fiddle with apt configuration?
That's why I asked for the post to be moved to the Raspbian area. Plugwash is more likely to see it here and take action when he is able if needed.