RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Issues with libsnappy-dev?

    Scheduled Pinned Locked Moved Help and Support
    ppsspplr-ppsspplibsnappy-dev
    8 Posts 3 Posters 643 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pythonliP
      pythonli
      last edited by

      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%)

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by mitu

        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 with libsnappy-dev installation. Can you post the installation log, from $HOME/RetroPie-Setup/logs, on pastebin.com ?

        1 Reply Last reply Reply Quote 0
        • pythonliP
          pythonli
          last edited by

          102721427_10157502736307066_3830074014696374039_o.jpg

          Sorry.. here's the picture of when I try to installing it manually.

          pythonliP 1 Reply Last reply Reply Quote 0
          • pythonliP
            pythonli @pythonli
            last edited by

            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
            
            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              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) ...
              
              1 Reply Last reply Reply Quote 0
              • pythonliP
                pythonli
                last edited by

                @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.

                G 1 Reply Last reply Reply Quote 0
                • G
                  Grocket12 @pythonli
                  last edited by

                  @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?

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Grocket12
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    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.