Issues with libsnappy-dev?
-
Trying to install either ppsspp or lr-ppsspp and it keeps failing because it can't install the dependency of libsnappy-dev. Is there another repo I can add so I can install this? Been trying since Saturday night. Fresh image install on a Raspberry 4.
![0_1591644260145_102721427_10157502736307066_3830074014696374039_o.jpg](Uploading 100%)
-
Your image was not uploaded, you've submitted the post before finishing to upload maybe.
I don't see any issues on a Pi4 system withlibsnappy-dev
installation. Can you post the installation log, from$HOME/RetroPie-Setup/logs
, on pastebin.com ? -
Sorry.. here's the picture of when I try to installing it manually.
-
Log started at: Mon 8 Jun 20:41:53 BST 2020 RetroPie-Setup version: 4.6.1 (65bffe55) System: Raspbian GNU/Linux 10 (buster) - Linux retropie 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux = = = = = = = = = = = = = = = = = = = = = Installing dependencies for 'lr-ppsspp' : PlayStation Portable emu - PPSSPP port for libretro = = = = = = = = = = = = = = = = = = = = = Did not find needed dependencies: libsnappy-dev. Trying to install them now. Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease Hit:2 http://archive.raspberrypi.org/debian buster InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... The following NEW packages will be installed: libsnappy-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 27.8 kB of archives. After this operation, 99.3 kB of additional disk space will be used. Get:1 http://raspbian-us.ngc292.space/raspbian buster/main armhf libsnappy-dev armhf 1.1.7-1 [27.8 kB] Err:1 http://raspbian-us.ngc292.space/raspbian buster/main armhf libsnappy-dev armhf 1.1.7-1 File has unexpected size (32768 != 27834). Mirror sync in progress? [IP: 198.211.116.210 443] E: Failed to fetch https://113store.cr/es/ File has unexpected size (32768 != 27834). Mirror sync in progress? [IP: 198.211.116.210 443] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Could not install package(s): libsnappy-dev. Log ended at: Mon 8 Jun 20:42:02 BST 2020 Total running time: 0 hours, 0 mins, 9 secs
-
Looks like a problem with your mirror, the package installs fine here:
sudo apt install libsnappy-dev Reading package lists... Done Building dependency tree Reading state information... Done The following package was automatically installed and is no longer required: rpi-eeprom-images Use 'sudo apt autoremove' to remove it. The following NEW packages will be installed: libsnappy-dev 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 27.8 kB of archives. After this operation, 99.3 kB of additional disk space will be used. Get:1 http://mirrors.pidginhost.com/raspbian/raspbian buster/main armhf libsnappy-dev armhf 1.1.7-1 [27.8 kB] Fetched 27.8 kB in 0s (78.5 kB/s) Selecting previously unselected package libsnappy-dev:armhf. (Reading database ... 188249 files and directories currently installed.) Preparing to unpack .../libsnappy-dev_1.1.7-1_armhf.deb ... Unpacking libsnappy-dev:armhf (1.1.7-1) ... Setting up libsnappy-dev:armhf (1.1.7-1) ...
-
@mitu said in Issues with libsnappy-dev?:
http://mirrors.pidginhost.com/raspbian/raspbian buster/main armhf libsnappy-dev armhf
Ahh.. got it. Thanks for your help, I changed mirrors in sources.list and I'm good to go. Should have thought of that. That's what I get for doing a rebuild at 3 am on a Saturday night.
-
@pythonli Brand new Pi user here that is trying to install PPssPP and is having the exact same problem. Is there a way to change mirror in retropie?
-
@grocket12 The repository used by RasPI OS automatically redirects
apt
based on your location to the closest Rasbian repository mirror. If that mirror doesn't work for you, you can manually change the URL in/etc/apt/sources.list
to one of official Raspbian mirror servers - https://www.raspbian.org/RaspbianMirrors.
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.