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.
    • K
      kdrangej
      last edited by

      Same setup, same problem.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Hmm...
        Maybe you could SSH into the raspberry pi, and make the file in the directory.
        I dunno, just an idea.

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @timothee
            last edited by

            @timothee Can you paste the output of this command:

            ls -lah /opt/retropie/supplementary/emulationstation
            
            T 1 Reply Last reply Reply Quote 0
            • T
              timothee @meleu
              last edited by

              Thanks for following up guys.

              I knew just making an empty file wouldn't solve the problem, that file is clearly meant to be a launcher file.

              K, So some new info, I tried again on another card (16GB this time), but instead of "Upgrade All", I did only "core package > emulationstation > update from binary" and same problem happened. So I'd reckon the latest published emulationstation package is indeed bad. That or the file /usr/bin/emulationstation needs to be updated too.

              @meleu The dir is empty save for the directory scripts:

              pi@retropie:~ $ ls -lah /opt/retropie/supplementary/emulationstation
              total 12K
              drwxr-xr-x  3 root root 4.0K May 28 00:25 .
              drwxr-xr-x 11 root root 4.0K May 28 00:25 ..
              drwxr-xr-x  3 root root 4.0K May 28 00:25 scripts
              pi@retropie:~ $ 
              

              Here is a bit more context:

              pi@retropie:/opt/retropie/supplementary $ find . | grep -v .git
              .
              ./bashwelcometweak
              ./xpad
              ./xpad/README.md
              ./xpad/Makefile
              ./xpad/retropie.diff
              ./xpad/xpad.c
              ./xpad/retropie.diff.applied
              ./xpad/xpad.c.orig
              ./xpad/dkms.conf
              ./xpad/stress_urb_out.sh
              ./usbromservice
              ./retropiemenu
              ./sdl1
              ./sdl2
              ./emulationstation
              ./emulationstation/scripts
              ./emulationstation/scripts/configscripts
              ./emulationstation/scripts/configscripts/pifba.sh
              ./emulationstation/scripts/configscripts/mupen64plus.sh
              ./emulationstation/scripts/configscripts/retroarch.sh
              ./emulationstation/scripts/configscripts/pisnes.sh
              ./emulationstation/scripts/configscripts/emulationstation.sh
              ./emulationstation/scripts/configscripts/reicast.sh
              ./emulationstation/scripts/configscripts/daphne.sh
              ./emulationstation/scripts/retropie.svg
              ./emulationstation/scripts/inputconfiguration.sh
              ./splashscreen
              ./splashscreen/README.md
              ./splashscreen/retropie-default-4x3.png
              ./splashscreen/retropie-2015-carbon-video.mp4
              ./splashscreen/retropie-2015-carbon-video-4x3.mp4
              ./splashscreen/retropie-2015.png
              ./splashscreen/retropie-default.png
              ./splashscreen/retropie-2013.png
              ./splashscreen/retropie-default-16x10.png
              ./splashscreen/LICENSE
              ./splashscreen/retropie-2014.png
              ./splashscreen/retropie-2015-4x3.png
              ./runcommand
              ./runcommand/joy2key.py
              ./runcommand/runcommand.sh
              pi@retropie:/opt/retropie/supplementary $ 
              

              I also did a search on the entire root fs:

              pi@retropie:~ $ sudo find / -iname \*emulationstation\*
              /home/pi/.emulationstation
              /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation.sh
              /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation
              /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation/configscripts/emulationstation.sh
              /home/pi/RetroPie-Setup/scriptmodules/supplementary/emulationstation-kids.sh
              /etc/emulationstation
              /usr/bin/emulationstation
              /opt/retropie/supplementary/emulationstation
              /opt/retropie/supplementary/emulationstation/scripts/configscripts/emulationstation.sh
              /opt/retropie/configs/all/emulationstation
              

              What else shall I check?

              Thanks!

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

                @timothee your emulationstation is clearly not installed.

                Run retropie_setup again and go to Manage Packages >> core >> emulationstation and install it. See if it'll give some error message.

                TMNTturtlguyT 1 Reply Last reply Reply Quote 0
                • TMNTturtlguyT
                  TMNTturtlguy @meleu
                  last edited by

                  @meleu I want to weigh in on this. @meleu these posts are accurate. Last week I tried to make a new build from a fresh install. I got the same error twice. The install worked after initial install to the SD card. ES was installed. I tried to update all packages and got the same error. I decided to say forget it and just reinstalled one of my other builds and started modifying it. I know my way around these builds enough, so it is not user error, I was hoping the error was just that the bianary was getting updated at the time, so I didn't post about it. Hind sight 20/20 I should have alerted everyone.

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

                    @TMNTturtlguy what does the log say? (they are at ~/RetroPie-Setup/logs/)

                    TMNTturtlguyT T 2 Replies Last reply Reply Quote 0
                    • TMNTturtlguyT
                      TMNTturtlguy @meleu
                      last edited by

                      @meleu I am away for the weekend without my pi! Sorry but I can't check.

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

                        @meleu

                        Log started at: Sun 28 May 00:25:28 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 00:25:35 UTC 2017
                        Total running time: 0 hours, 0 mins, 7 secs
                        
                        T 1 Reply Last reply Reply Quote 1
                        • T
                          timothee @timothee
                          last edited by

                          Erm, sorry for the short message @meleu, I was eager to paste that log coz I have the SD card with me and could check it. That was the log for when I ran the "Update from binary" (per my last message).

                          I have not yet tried to uninstall and reinstall emulationstation. I'll give that a shot later when I'm free.

                          Also just to reiterate: I have so far got the error 100% of the times on update-all or update-emulationstation only, so I reckon this must be a easily reproducible case.

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

                            @BuZz The log above makes me believe that the emulationstation binary isn't in the right format. Am I right?

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

                              same problem here. cant start my pi after update 4.2.3:

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

                              please help. doeas developers know about it ? it is a major issue. do not update your retropie or it crash.

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

                                @xFlesk as a workaround you can install/update from source. But it's very time consuming...

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

                                  many times i've been updating retropie without a problems, this is first time incident ;) i think something was misstaken during the compilation and developers allready know about it and working to fix that.

                                  yes, install from source take like forever ;) as for now im updating instalation-script with hope to see another update and backuping all my roms, saves, configs, gamelists, downloaded images etc. (just in case ;) )

                                  also:
                                  im very sad about all of this :( my retropie is by far the best console ever and im playing on it every single day ;) developers !! talk to us ;) We suffer here :D

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

                                      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?

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