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

    Update of Retropie script failed

    Scheduled Pinned Locked Moved Help and Support
    update script
    12 Posts 6 Posters 9.7k 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.
    • S
      spud11
      last edited by spud11

      I'm trying to update the Retropie script in the usual way but receive the following error and I'm not sure how to correct it. Is anyone familiar with this error and knows how to get past it? Thanks:

      "Update failed:

      error: Your local changes to the following files would be overwritten by merge:
      scriptmodules/emulators/atari800.sh
      Please, commit your changes or stash them before you can merge.
      Aborting"

      I haven't made any manual changes to the scriptmodule for atari800.

      RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

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

        @spud11 Somehow git detects a change made locally and refuses to merge the changes from the RetroPie repository. From the /home/pi/Retropie-Setup folder, you should execute (either exit ES or use SSH)

        git reset --hard
        

        Then try again the update.

        hiulitH S S 90sgamer9 4 Replies Last reply Reply Quote 3
        • hiulitH
          hiulit @mitu
          last edited by

          @mitu @spud11 It happened to me too and I think it was because of having @zerojay 's Retropie-Extra scriptmodules installed.
          But I can't tell for sure if it was a clean install (of Retropie-Extra) or if I had modified some scriptsmodules.

          My little contributions to the RetroPie project:

          • Shell-Script-Boilerplate
          • Fun-Facts-Splashscreens
          • Limit-Last-Played-Games
          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @hiulit
            last edited by

            @hiulit said in Update of Retropie script failed:

            having @zerojay 's Retropie-Extra scriptmodules installed.

            I don't think that's a problem. Most likely there was one of the scriptmodules included in the RetroPie-Setup.

            1 Reply Last reply Reply Quote 1
            • S
              spud11 @mitu
              last edited by

              @mitu @hiulit Thanks, mitu. That worked. Yes, in fact, hiulit, I had zerojay's experimental scripts installed as well and wondered whether it had had any effect. Anyway, after doing the reset, I noticed zerojay's scripts are still in setup.

              RetroPie v4.4.1 • RPi3 Model B • 5.1V 2.5A PSU • 32GB SanDisk Extreme microSD • 2TB Toshiba Canvio Basics Portable USB 3.0 hard drive • 4 x DragonRise USB Arcade joysticks • 2 x TurboTwist spinners • 1 x USB trackball • 1 x PS4 wireless • 1 x 8BitDo Zero

              hiulitH 90sgamer9 2 Replies Last reply Reply Quote 1
              • hiulitH
                hiulit @spud11
                last edited by

                @spud11 Glad to hear that ;)

                My little contributions to the RetroPie project:

                • Shell-Script-Boilerplate
                • Fun-Facts-Splashscreens
                • Limit-Last-Played-Games
                1 Reply Last reply Reply Quote 0
                • S
                  skj @mitu
                  last edited by

                  @mitu said in Update of Retropie script failed:

                  @spud11 Somehow git detects a change made locally and refuses to merge the changes from the RetroPie repository. From the /home/pi/Retropie-Setup folder, you should execute (either exit ES or use SSH)

                  git reset --hard
                  

                  Then try again the update.

                  im having the same issue but i dont understand how to do the git reset --hard
                  any help would be appreciated

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

                    @skj Exit Emulationstation, then - from the terminal - run the commands

                    • cd RetroPie-Setup
                    • git reset --hard
                    L 1 Reply Last reply Reply Quote 4
                    • 90sgamer9
                      90sgamer @spud11
                      last edited by

                      @spud11 How did you do it?

                      1 Reply Last reply Reply Quote 0
                      • 90sgamer9
                        90sgamer @mitu
                        last edited by

                        @mitu How to do it?

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

                          @90sgamer Please don't necro-post by replying to old topics, it's not good forum etiquette. If you have an problem, post it in a separate topic and add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first.

                          1 Reply Last reply Reply Quote 0
                          • L
                            LionSquall @mitu
                            last edited by

                            @mitu thx for this, work perfect

                            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.