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 @meleu
      last edited by BuZz

      @meleu I don't think that's the problem - seems ok here. Network issue could also cause a problem like that - did you test it ?

      Everyone should make sure all their system packages are up to date, in case there is some odd case of some format difference due to versions of tar etc.

      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

      meleuM 2 Replies Last reply Reply Quote 0
      • meleuM
        meleu @BuZz
        last edited by

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

        did you test it ?

        I was away from my pi when I saw these reports. But I've just got home and tested (Update from binary). And it is indeed working just fine.

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        T 1 Reply Last reply Reply Quote 0
        • xFleskX
          xFlesk
          last edited by

          i have no internet problems. i've tried to remove emulation station and install it again but the same error occures.

          "/usr/bin/emulationstation: line 21: /opt/retropie/supplementary/emulationstation/emulationstation.sh No such file or directory"

          i start to thinking about install fresh retropie and simply not update but its pointless since i like to have all new and updated. im stuck now.

          1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @BuZz
            last edited by

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

            in case there is some odd case of some format difference due to versions of tar etc.

            just checking the versions here:

            pi@retropie:~ $ tar --version
            tar (GNU tar) 1.27.1
            ...
            
            pi@retropie:~ $ gunzip --version
            gunzip (gzip) 1.6
            ...
            

            @xFlesk @timothee can you guys check those versions on your end?

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • xFleskX
              xFlesk
              last edited by xFlesk

              i've checked. have the same as on your example. im trying now install again from binary.

              i noticed new update came out (like 23 minutes ago). we will see if it helps.

              edit:
              unfortunetly it does not help. still same error.

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

                @xFlesk does your ISP have a transparent http cache / proxy?

                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

                  please post the output of

                  cd
                  wget http://files.retropie.org.uk/binaries/jessie/rpi2/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

                  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
                    last edited by

                    also

                    uname -a

                    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

                      here is my log after installing emulation station from binary:

                      Log started at: Sun 28 May 11:38:08 UTC 2017

                      = = = = = = = = = = = = = = = = = = = = =
                      Installing dependencies for 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
                      = = = = = = = = = = = = = = = = = = = = =

                      = = = = = = = = = = = = = = = = = = = = =
                      Installing 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
                      = = = = = = = = = = = = = = = = = = = = =

                      gzip: stdin: not in gzip format
                      tar: Child returned status 1
                      tar: Error is not recoverable: exiting now
                      /opt/retropie/supplementary/emulationstation /home/pi

                      = = = = = = = = = = = = = = = = = = = = =
                      Configuring 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
                      = = = = = = = = = = = = = = = = = = = = =

                      = = = = = = = = = = = = = = = = = = = = =
                      Running action 'install_theme' for 'esthemes' : Install themes for Emulation Station
                      = = = = = = = = = = = = = = = = = = = = =

                      git clone --recursive --depth 1 "https://github.com/RetroPie/es-theme-carbon.git" "/etc/emulationstation/themes/carbon"
                      Cloning into '/etc/emulationstation/themes/carbon'...
                      /home/pi

                      Log ended at: Sun 28 May 11:38:14 UTC 2017
                      Total running time: 0 hours, 0 mins, 6 secs

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

                        sorry but i can only take a photo. hope its good

                        alt text

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

                          @BuZz i dont know how to check if my ISP is transparent or not.

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

                            @xFlesk Please run

                            cd
                            sudo __debug=1 ~/RetroPie-Setup/retropie_packages.sh emulationstation install_bin 2>log.txt
                            

                            and send me log.txt from /home/pi (please use pastebin site for the log)

                            (and post the screen output)

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

                              @BuZz here you go

                              https://pastebin.com/aFr7ZWxv

                              and here is what appears in terminal:

                              pi@retropie:~ $ sudo __debug=1 ~/RetroPie-Setup/retropie_packages.sh emulationstation install_bin 2>log.txt

                              = = = = = = = = = = = = = = = = = = = = =
                              Installing 'emulationstation' : EmulationStation - Frontend used by RetroPie for launching emulators
                              = = = = = = = = = = = = = = = = = = = = =

                              pi@retropie:~ $

                              BuZzB 1 Reply Last reply Reply Quote 0
                              • 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
                                            • 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.