• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • T
    timothee
    last edited by 27 May 2017, 08:02

    Hi there!

    I'm setting up a new retropie system for a friend today, on a Raspberry Pi 3 Model B with a 64GB sandisk card, and latest image for retropie 4.2. I've installed retropie many it times in the past, but today I'm hitting a snag with 4.2 specifically.

    I followed the usual steps to get my card ready. I can boot the first time and configure my controller. Then, before I set up any game or emulator, I went to "Retropie-Setup > Update all installed packages", and reboot. Here's what I see after the splash screen:

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

    The only emulationstation.sh file I can find is under scripts/configscripts, but it's not even executable, so I don't think that's the launcher.

    The pi connects to Internet fine, over cable, not wifi. The behaviour above is reproducible 100%. I did it at least 5 times before posting this message. Initially I didother things before reboot, like update raspi-config, or changing the locale, and I wanted to be sure these were not factors, so I did plenty of fresh installs. Clearly, one of the steps of "Update all installed packages" is messing up the system :/

    I suppose I could forego the update altogether for now, but I'm not seeing this friend very often (every 2 years), so I'd like to give him the most up-to-update version possible.

    Any help would be much appreciated!

    Thanks!
    Tim.

    PS: I haven't tried to run the update on my other working pis because I don't want to mess them up :/

    M 2 Replies Last reply 27 May 2017, 22:19 Reply Quote 0
    • K
      kdrangej
      last edited by 27 May 2017, 17:43

      Same setup, same problem.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by 27 May 2017, 22:10

        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
        • M
          meleu @timothee
          last edited by meleu 27 May 2017, 22:19

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • M
            meleu @timothee
            last edited by 27 May 2017, 22:27

            @timothee Can you paste the output of this command:

            ls -lah /opt/retropie/supplementary/emulationstation
            
            T 1 Reply Last reply 28 May 2017, 00:41 Reply Quote 0
            • T
              timothee @meleu
              last edited by 28 May 2017, 00:41

              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!

              M 1 Reply Last reply 28 May 2017, 02:23 Reply Quote 0
              • M
                meleu @timothee
                last edited by meleu 28 May 2017, 02:23

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

                T 1 Reply Last reply 28 May 2017, 02:28 Reply Quote 0
                • T
                  TMNTturtlguy @meleu
                  last edited by 28 May 2017, 02:28

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

                  M 1 Reply Last reply 28 May 2017, 02:38 Reply Quote 0
                  • M
                    meleu @TMNTturtlguy
                    last edited by meleu 28 May 2017, 02:38

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

                    T T 2 Replies Last reply 28 May 2017, 02:57 Reply Quote 0
                    • T
                      TMNTturtlguy @meleu
                      last edited by 28 May 2017, 02:57

                      @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 28 May 2017, 07:14

                        @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 28 May 2017, 07:19 Reply Quote 1
                        • T
                          timothee @timothee
                          last edited by 28 May 2017, 07:19

                          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
                          • M
                            meleu
                            last edited by meleu 28 May 2017, 07:29

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

                            B 1 Reply Last reply 28 May 2017, 11:04 Reply Quote 0
                            • X
                              xFlesk
                              last edited by 28 May 2017, 10:09

                              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.

                              M 1 Reply Last reply 28 May 2017, 10:23 Reply Quote 0
                              • M
                                meleu @xFlesk
                                last edited by 28 May 2017, 10:23

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

                                1 Reply Last reply Reply Quote 0
                                • X
                                  xFlesk
                                  last edited by xFlesk 28 May 2017, 10:54

                                  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
                                  • B
                                    BuZz administrators @meleu
                                    last edited by BuZz 28 May 2017, 11:04

                                    @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

                                    M 2 Replies Last reply 28 May 2017, 11:20 Reply Quote 0
                                    • M
                                      meleu @BuZz
                                      last edited by 28 May 2017, 11:20

                                      @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 28 May 2017, 14:05 Reply Quote 0
                                      • X
                                        xFlesk
                                        last edited by 28 May 2017, 11:20

                                        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
                                        • M
                                          meleu @BuZz
                                          last edited by 28 May 2017, 11:24

                                          @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
                                          20 out of 54
                                          • First post
                                            20/54
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received