Hash sum mismatch error
-
Hi All, I just got a new Raspberry PI 3 B+ and install the retropie just like the guide saids.
I can't do:
sudo apt-get update
I have tried with clean first and then update & upgrade and same error.
I know isn't a size issue, because with the command dh -h (or something like that) I was using only 4% with a 96% available (I got a 64GB kingston microSD in FAT32).
I don't know what else to do, I'm from Argentina, Buenos Aires (idk if that make some country restriccion).
Any help?
P.S.: I got error updating with the RetroPie Update Script Menu, it could't update rapidjson-dev , and when I try to install retropie-manager I got the same error "Could not install package... python-dev (and something else)".
EDIT: I'm connected by Wi-Fi 5GHZ
Pi Model or other hardware: Raspberry PI 3 B+
Power Supply used: microUSB 5V/2,5A f/Raspberry (output 5Vcc )
RetroPie Version Used: https://retropie.org.uk/download/ v4.4
Built From: RetroPie website
USB Devices connected: 1 sentey keyboard
Controller used: none
Error messages received: "E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"
Log found in /dev/shm/runcommand.log (if relevant): don't have that file
Guide used: (Mention if you followed a guide) RetroPi guide
File: isn't a issue of a file, can't update things with sudo apt-get update & sudo apt-get upgrade -
@niccco looks like a download or internet connection problem. Whaterror you get when running sudo apt update ?
-
@mitu I understand, but the PI is connected to WiFi, maybe is a WiFi 5GHz problem, or a WiFi (2.4 or 5.8) problem.
I will try to connect the PI by ethernet.
Thks for the reply! I will update later.
-
@mitu No, it didn't work, after I use the command
sudo apt-get clean
sudo apt-get update
Update ends with no error.
sudo apt-get upgrade
Some files were downloaded (which tells me that I got internet), but, at the end it said:
"E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?"
-
@niccco post the complete error, not just the last line
. You might have some 3rd party repositories which have errors. -
@mitu Where I can find the log files? I don't know the path.
And, if I enter into the path, how can I get that logs files to show them to u?
BTW, thank u very much for the help, I'm very excited about play old games, like Family, Sega and PS1!
-
@niccco if you don't have SSH enabled, then post a picture with the error lines. Otherwise, if you use SSH, you can copy and paste the error screen from Putty.
Edit: please also post the info asked in the read-me-first topic. If you installed the 4.4 image from the Retropie site, you wouldn't have these errors.
-
@mitu said in Hash sum mismatch error:
don't have SSH enabled, then
I just enabled SSH, and updated the thread info with read-me-first topic.
I have installed the 4.4 image from the RetroPie site, and I have internet connection, I made a ping to www.google.com and work.
I now with PuTTy connected to the RetroPie.
What should do I do? Where is the path to get the log files?
E: Failure to obtain http://espejito.fder.edu.uy/raspbian/raspbian/pool/main/u/unzip/unzip_6.0-21+deb9u1_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
Looking into it, the web
http://espejito.fder.edu.uy/raspbian/raspbian/pool/main/u/unzip/unzip_6.0-21+deb9u1_armhf.deb
isn't working, I copied that URL in my Google Chrome browser and a error file was downloaded.
But
https://espejito.fder.edu.uy/raspbian/raspbian/pool/main/u/unzip/unzip_6.0-21+deb9u1_armhf.deb
Work's just fine, so look's like
sudo apt-get upgrade
command isn't working because that http isn't https.
EDIT:
I have changed the /etc/apt/source.list
and added
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi firmware deb http://archive.raspberrypi.org/debian/ stretch main ui
it seems it working now, the upgrade is doing downloading files without error.
But, is ok to use those repositories?
My guess? Is a problem for South American people (I'm from Argentina), that the source list is unupdated or wrong setted, because when I got the url it use http and not https, looks like that's the main reason.
I tried to install the retropie-manager (after the update & upgrade) and I got this error
Could not install packages(s): python-dev virtualenv.
EDIT 2:
I have it working, to workaround I just change /etc/apt/source.list.p/retropie.list (or something like that)
and added (can't edit because the Akinet detect that is a spam, but add deb before the url)
https://espejito.fder.edu.uy/raspbian/raspbian stretch main
After saving the file, I use sudo apt-get clean and sudo apt-get update and everything is working just fine (or it seem's like that).
The error is that the URL is unupdated, but isn't the best option.
Idk if I have to send an email to the RetroPie developers to update the repo url for Argentina.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.