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

    EmulationStation Update broken? Line 21: No such file or directory

    Scheduled Pinned Locked Moved Help and Support
    emustationupdate all
    54 Posts 7 Posters 14.0k 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.
    • BuZzB
      BuZz administrators @xFlesk
      last edited by BuZz

      @xFlesk I cannot see any problem with the code the script is running - something is interfering so you are not getting the expected data. However I am unable to reproduce. One more check -

      Please run this from terminal

      cd
      wget http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz -Oemulationstation.tar.gz
      md5sum emulationstation.tar.gz
      ls -la emulationstation.tar.gz
      tar xvzf emulationstation.tar.gz
      rm -rf emulationstation emulationstation.tar.gz
      

      For whatever reason when the script does wget and pipes to tar to unpack, it's not getting the correct data - do you have somewhere else you could take your rpi to use a different net connection? I will also reboot our server, but it's all working fine here so I don't know what the problem could be.

      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

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

        Also try

        wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz | tar -xvz -C ~
        wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi2/supplementary/emulationstation.tar.gz | tar -xvz -C ~
        rm -rf ~/emulationstation
        

        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
        • T
          timothee @meleu
          last edited by

          @meleu @BuZz

          Yup, this is it:

          pi@Boris-Pie:~/tmp $ wget http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz -Oemulationstation.tar.gz
          --2017-05-28 14:03:59--  http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz
          Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
          Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:80... connected.
          HTTP request sent, awaiting response... 200 OK
          Length: 138 [text/html]
          Saving to: ‘emulationstation.tar.gz’
          
          emulationstation.tar.gz                            100%[==================================================================================================================>]     138  --.-KB/s   in 0s
          
          2017-05-28 14:04:00 (6.77 MB/s) - ‘emulationstation.tar.gz’ saved [138/138]
          
          pi@Boris-Pie:~/tmp $ md5sum emulationstation.tar.gz
          a9766506a5dd7c576df7ada79a0a4fa7  emulationstation.tar.gz
          pi@Boris-Pie:~/tmp $ ls -la emulationstation.tar.gz
          -rw-r--r-- 1 pi pi 138 May 28 14:04 emulationstation.tar.gz
          pi@Boris-Pie:~/tmp $ tar tvzf emulationstation.tar.gz
          
          gzip: stdin: not in gzip format
          tar: Child returned status 1
          tar: Error is not recoverable: exiting now
          
          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @timothee
            last edited by

            @timothee said in EmulationStation Update broken? Line 21: No such file or directory:

            wget http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz

            ok - please post the output of

            wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz
            

            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

            T 1 Reply Last reply Reply Quote 0
            • T
              timothee @BuZz
              last edited by

              @BuZz

              wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz

              pi@Boris-Pie:~/tmp $ wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz
              <html>
              <head>
              <meta HTTP-EQUIV="REFRESH" content="0; url=http://192.168.2.1/blocking.asp?cat_id=78">
              </head>
              <body></body>
              </html>
              
              BuZzB T 3 Replies Last reply Reply Quote 0
              • BuZzB
                BuZz administrators @timothee
                last edited by BuZz

                @timothee Looks like your router has something on it interfering / blocking or something else like that - nothing I can do about that.

                Could be some antivirus also - don't know.

                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 1
                • BuZzB
                  BuZz administrators @timothee
                  last edited by

                  @timothee What do you get if you view http://192.168.2.1/blocking.asp?cat_id=78 on your network?

                  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 1
                  • T
                    timothee @timothee
                    last edited by

                    Thanks @BuZz yep, I was trying to get to the screenshot after sending my last message and this is it.

                    It looks like the url or file as been marked bad by trendmicro.

                    It's strange because the one from rpi2 worked just fine.

                    0_1495980705019_2017-05-28_2211.png

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

                      Will see if there is something on their website I can fill out - maybe someone submitted a false report, or the file was misidentified.

                      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
                      • xFleskX
                        xFlesk @BuZz
                        last edited by

                        @BuZz i did it and here is the log

                        pi@retropie:~ $ wget http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz -Oemulationstation.tar.gz
                        --2017-05-28 14:13:35--  http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz
                        Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
                        Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:80... connected.
                        HTTP request sent, awaiting response... 200 OK
                        Length: 144 [text/html]
                        Saving to: ‘emulationstation.tar.gz’
                        
                        emulationstation.tar.gz                                     100%[==========================================================================================================================================>]     144  --.-KB/s   in 0s
                        
                        2017-05-28 14:13:35 (6.26 MB/s) - ‘emulationstation.tar.gz’ saved [144/144]
                        
                        pi@retropie:~ $ md5sum emulationstation.tar.gz
                        c0c92092a5940480e7057cc1c272dde3  emulationstation.tar.gz
                        pi@retropie:~ $ ls -la emulationstation.tar.gz
                        -rw-r--r-- 1 pi pi 144 May 28 14:13 emulationstation.tar.gz
                        pi@retropie:~ $ tar xvzf emulationstation.tar.gz
                        
                        gzip: stdin: not in gzip format
                        tar: Child returned status 1
                        tar: Error is not recoverable: exiting now
                        pi@retropie:~ $ rm -rf emulationstation emulationstation.tar.gz
                        
                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @xFlesk
                          last edited by

                          @xFlesk See the test above and do the same - probably the same issue

                          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
                          • xFleskX
                            xFlesk
                            last edited by xFlesk

                            here it is

                            pi@retropie:~ $ wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz | tar -xvz -C ~
                            
                            gzip: stdin: not in gzip format
                            tar: Child returned status 1
                            tar: Error is not recoverable: exiting now
                            pi@retropie:~ $ wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi2/supplementary/emulationstation.tar.gz | tar -xvz -C ~
                            emulationstation/
                            emulationstation/emulationstation.sh
                            emulationstation/GAMELISTS.md
                            emulationstation/README.md
                            emulationstation/CREDITS.md
                            emulationstation/THEMES.md
                            emulationstation/emulationstation
                            pi@retropie:~ $ rm -rf ~/emulationstation
                            

                            and the site you gave me to enter wont load.

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

                              @timothee said in EmulationStation Update broken? Line 21: No such file or directory:

                              I'm filling in a form on their website to request a reclassification. I wonder if someone submitted this maliciously, or it was some scanner accident.

                              you can manually exclude files.retropie.org.uk on your system possibly also.

                              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

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

                                @xFlesk Not that one - the one to display the contents of the file which contained the block url. I'm assuming you have the same problem.

                                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
                                • BuZzB
                                  BuZz administrators @xFlesk
                                  last edited by

                                  @xFlesk wget -O- -q http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz and then visit the url - I assume you have the same antivirus software running (either on your system or on the router).

                                  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
                                  • T
                                    timothee @BuZz
                                    last edited by

                                    Thanks @BuZz!

                                    I turned off the protection entirely and I can confirm it works now:

                                    pi@Boris-Pie:~/tmp $ wget http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz -Oemulationstation.tar.gz
                                    --2017-05-28 14:17:55--  http://files.retropie.org.uk/binaries/jessie/rpi3/supplementary/emulationstation.tar.gz
                                    Resolving files.retropie.org.uk (files.retropie.org.uk)... 93.93.129.253, 2a00:1098:0:80:1000:57:0:1
                                    Connecting to files.retropie.org.uk (files.retropie.org.uk)|93.93.129.253|:80... connected.
                                    HTTP request sent, awaiting response... 200 OK
                                    Length: 1384824 (1.3M) [application/octet-stream]
                                    Saving to: ‘emulationstation.tar.gz’
                                    
                                    emulationstation.tar.gz                            100%[==================================================================================================================>]   1.32M  --.-KB/s   in 0.1s
                                    
                                    2017-05-28 14:17:55 (10.5 MB/s) - ‘emulationstation.tar.gz’ saved [1384824/1384824]
                                    
                                    pi@Boris-Pie:~/tmp $ md5sum emulationstation.tar.gz
                                    b131d5a6234af02700617fdb4e786f47  emulationstation.tar.gz
                                    pi@Boris-Pie:~/tmp $ ls -la emulationstation.tar.gz
                                    -rw-r--r-- 1 pi pi 1384824 May 23 18:00 emulationstation.tar.gz
                                    pi@Boris-Pie:~/tmp $ tar tvzf emulationstation.tar.gz
                                    drwxr-xr-x root/root         0 2017-05-23 18:00 emulationstation/
                                    -rwxr-xr-x root/root       444 2017-05-23 18:00 emulationstation/emulationstation.sh
                                    -rw-r--r-- root/root      5667 2017-05-23 18:00 emulationstation/GAMELISTS.md
                                    -rw-r--r-- root/root     10181 2017-05-23 18:00 emulationstation/README.md
                                    -rw-r--r-- root/root       451 2017-05-23 18:00 emulationstation/CREDITS.md
                                    -rw-r--r-- root/root     26456 2017-05-23 18:00 emulationstation/THEMES.md
                                    -rwxr-xr-x root/root   4469308 2017-05-23 18:00 emulationstation/emulationstation
                                    

                                    0_1495981478536_2017-05-28_2221.jpg

                                    1 Reply Last reply Reply Quote 0
                                    • xFleskX
                                      xFlesk
                                      last edited by xFlesk

                                      alt text

                                      so i have to check my router ?

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

                                        I have submitted a request to trend - they have incorrectly flagged that URL as malicious. I prefer not to use any classification lists / blockers myself on the net and use common sense, but if turning it off, be aware that it wont of course block sites that are bad.

                                        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

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          timothee @BuZz
                                          last edited by

                                          @BuZz Thanks for the advice. I follow that for myself normally, but I have 2 10-year-olds in the house who sometimes get access to the Internet, and I don't trust THEM to have common sense ;). I'm working on it though. Internet Education is hard!

                                          Anyway, thanks a lot for helping us troubleshoot the issue! I hope trend micro reverts the incorrect flagging soon.

                                          1 Reply Last reply Reply Quote 1
                                          • xFleskX
                                            xFlesk
                                            last edited by

                                            @BuZz , @timothee thank you very much for help. its all working now.
                                            im pretty much confused because of this malicious programs which are detected in retropie files server. maybe we have to contact someone which can add this url to white list ?

                                            anyway, thank you very much again. cheers

                                            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.