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

    Can't download themes or emulators error 'tar -xv -z -C

    Scheduled Pinned Locked Moved Help and Support
    errorhelp me pleaseraspberry pi 0tar -xv -z -chelp
    21 Posts 3 Posters 3.1k 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.
    • E
      edgarsv
      last edited by

      Some months ago I got my retro pie 4.3 on my raspberry pi zero. A while ago I bought an adapter (Ethernet to usb). (I checked adapter it works) Firstly I did scraping. It worked. then I tried to download themes there was an error. then I tried to download some emulators but then the error was shown:
      Error running 'tar -xv -C
      /home/pi/RetroPie-Setup/tmp/build/fuse
      --strip-components 1' - returned 2

      then something new appeared:
      please see
      /home/pi/RetroPie-Setup/logs/rps_2017-07-08_123928 . log. g
      z for more in depth information regarding the errors .

      and:
      fuse patch cursor .diff failed to apply

      • Also when script was going I catched a line * enable to conect to github.com*
      • Also (/home/pi/RetroPie-Setup/tmp/build/fuse) <--- i don't know what is that or where to find it or whrite it, Could you explain?
      • Also I havent done networking conection with my pc. (I don't know what to do..) I put my roms with usb flash drive.

      What should I do? I'm kinda new to retropie so I now a little... For the problem's soloution should i update retropie to version 4.4? Is that the issue?
      Please help!!!

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

        It looks like you don't have an internet connection - or a stable connection - from your PI system and this is causing your problems. Check if your internet connection is working correctly before attempting to update or download additional emulators.

        E 1 Reply Last reply Reply Quote 0
        • E
          edgarsv @mitu
          last edited by

          @mitu Before connecting the adapter I checked it with my pc first (and it worked. And the scraper works fine. Does the old retropie version (4.3) affects something?
          And does this line /home/pi/RetroPie-Setup/tmp/build/fuse is for computer networking?

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

            @edgarsv said in Can't download themes or emulators error 'tar -xv -z -C:

            And does this line /home/pi/RetroPie-Setup/tmp/build/fuse is for computer networking?

            No, this is a folder where the RetroPie script tries to download the emulator's sources in order to build and install it, but obviously fails.
            Just because the adapter works from the PC, doesn't mean it works correctly in RetroPie. If you use the RetroPie system and choose Show IP address, what's the output ?

            1 Reply Last reply Reply Quote 0
            • E
              edgarsv
              last edited by

              here is the image of ip address 0_1530098340787_20180627_141739.jpg

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

                @edgarsv You seem to have an internal (LAN) IP on the adapter, so the adapter seems to work. If you try to update the RetroPie script, does it work ?

                1 Reply Last reply Reply Quote 0
                • E
                  edgarsv
                  last edited by

                  No it doesn't I think... This is what it shows ...!0_1530099466309_20180627_143631.jpg

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

                    @edgarsv It looks like either your date/time is off (which kind of is, based on your first screenshot) or your installation is too old and it's missing the necessary CA info to validate the HTTPS connection's certificate to github.com.

                    Try updating the ca-certificates package and make sure your date and time are correct. Run this from the command line or from an SSH session.

                    # update ca-certificates
                    sudo apt-get update
                    sudo apt-get -y install ca-certificates
                    
                    # Check the date/time
                    date
                    
                    1 Reply Last reply Reply Quote 0
                    • E
                      edgarsv
                      last edited by

                      Here is how it worked...
                      0_1530100542996_20180627_145253.jpg
                      The only part I understood was that the date is wrong.

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

                        Try setting the date from the internet

                        sudo systemctl stop ntp
                        sudo ntpdate 2.debian.pool.ntp.org
                        
                        # Check the date again
                        date
                        
                        1 Reply Last reply Reply Quote 0
                        • E
                          edgarsv
                          last edited by

                          After first command nothing happened but after the 2nd command it said command not found

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            edgarsv @edgarsv
                            last edited by

                            0_1530101457341_20180627_150921.jpg @edgarsv

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

                              @edgarsv Try installing the ntpdate command with

                              sudo apt-get -y install ntpdate
                              

                              and then retry to set the date.

                              1 Reply Last reply Reply Quote 0
                              • E
                                edgarsv
                                last edited by

                                I did what you told but the date didn't change saying 8 Jul 15:48:38 ntpdate[1531]: no server suitable for synchronization found

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

                                  @edgarsv Try with the well known NIST time server:

                                  sudo ntpdate time.nist.gov
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • E
                                    edgarsv
                                    last edited by

                                    That didn't work either... Is there a way to set by my self? What could the reason for it not founding the servers?

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

                                      @edgarsv You can set the date with timedatectl - see https://wiki.archlinux.org/index.php/Time#Set_system_clock. But I suspect the problem is that your internet connection is not working correctly, RetroPie would have set the time and date automatically from the internet.

                                      1 Reply Last reply Reply Quote 0
                                      • BuZzB
                                        BuZz administrators
                                        last edited by

                                        Probably easiest to just start with a 4.4 image - Jessie support will be dropped by us in the future anyway.

                                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                        1 Reply Last reply Reply Quote 0
                                        • E
                                          edgarsv
                                          last edited by

                                          So... What should I do?

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            edgarsv
                                            last edited by

                                            Should I change retropie's version to 4.4? or try to replase raspberry pi zero to raspberry pi 3?

                                            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.