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

    retropie error running git pull returned 1

    Scheduled Pinned Locked Moved Help and Support
    git pull 1
    12 Posts 4 Posters 6.8k 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.
    • mituM
      mitu Global Moderator @dunken
      last edited by

      @dunken You modified one of the RetroPie-Setup scripts and the pull asks you to commit/revert your modifications. Run git reset --hard from the RetroPie-Setup script folder and try again.

      D 1 Reply Last reply Reply Quote 0
      • D
        dunken @mitu
        last edited by dunken

        @mitu Hi

        did try that , but ending up with the same error once again .

        Any more tip?

        pi@retropie:~/RetroPie-Setup $ git reset --hard
        HEAD is now at 3928a05 Merge pull request #2217 from joolswills/lr-dosbox

        ?

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

          @dunken What's the error message you execute git pull from the RetroPie-setup folder ?

          D 1 Reply Last reply Reply Quote 0
          • D
            dunken @mitu
            last edited by

            @mitu pi@retropie:~/RetroPie-Setup $ git pull
            Already up-to-date.

            D 1 Reply Last reply Reply Quote 0
            • D
              dudleydes @dunken
              last edited by

              @dunken I had a Error running 'git pull' - returned 1 a while ago when updating a fresh 4.2 image.

              First thing I did was check the log which you can find in a GZip file in /home/pi/RetroPie-Setup/logs. Here is a copy of my log. It can be seen that the error was due to the Carbon theme so I removed and reinstalled the theme using the setup script. When I next tried to update, everything went smoothly.

              D 1 Reply Last reply Reply Quote 0
              • D
                dunken @dudleydes
                last edited by

                @dudleydes

                Hi cant really seem to find anything wrong with the log , but perhaps thats me that are missing something

                Here is the log pasted

                link text

                D 1 Reply Last reply Reply Quote 0
                • D
                  dudleydes @dunken
                  last edited by

                  @dunken Thanks for the log. The error is in line 1014 and seems to relate to the /opt/retropie/configs/all/retroarch.cfg.rp-distfile. Have you made any changes to this file?

                  I'm no expert on this but you could try renaming this file to retroarch.cfg.rp-dist.bak and try updating again.

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

                    @dudleydes it's not that. It's probably the shader git repo. They could remove the folder from /opt/retropie/configs/all/retroarch/shaders and reinstall retroarch (or something like that - I'm not in front of pc).

                    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

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dunken @BuZz
                      last edited by

                      @buzz said in retropie error running git pull returned 1:

                      /opt/retropie/configs/all/retroarch/shaders

                      Should i remove /opt/retropie/configs/all/retroarch/shaders

                      ?

                      And try to upgrade once this folder is gone ?

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

                        @dunken yes.

                        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

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          dunken @BuZz
                          last edited by

                          @buzz

                          Thnks alot for the great help , the upgrade went ok without any problem

                          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.