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 Setup can't update/install a lot of packages

    Scheduled Pinned Locked Moved Help and Support
    networkupdateraspberrypi 3
    18 Posts 3 Posters 2.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.
    • mituM
      mitu Global Moderator @kokossexy
      last edited by

      Looks like the request is just a smudge over the 5sec mark set for timeout, so the RetroPie setup scripts thinks the internet connection is not working. First request, with a 5 sec timeout, doesn't output anything, 2nd request (without any timeout) completes in a little over 5 sec time.

      We may have to adjust the timeout - are you using a mobile (3G/4G) based connection by any chance ?

      K 1 Reply Last reply Reply Quote 0
      • K
        kokossexy @mitu
        last edited by

        @mitu No 3G/4G connection.

        I am behind a 50mbps VDSL line.

        Anything I can do to 'speed check' my RPi?

        Thanks again!

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

          You can temporarily increase the timeout to 6 sec here, this requires you to modify the packages.sh in $HOME/RetroPie-Setup/scriptmodules. It's just a workaround and you should revert the modification once you've made the update.

          K ExarKunIvE 2 Replies Last reply Reply Quote 0
          • K
            kokossexy @mitu
            last edited by

            @mitu Thx for your help.

            At least I know what the issue is. Was driving me nuts trying to troubleshoot :)

            I did increase the timeout and was able to finish the update without errors. I've already reverted the change and I'll wait for an official update.

            Thx again!

            1 Reply Last reply Reply Quote 0
            • ExarKunIvE
              ExarKunIv @mitu
              last edited by

              @mitu cool. I have been having the same issue every time I redo my system. ( Doing alot of script building and testing).

              It's been driving me crazy that it happens every time

              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
              Maintainer of RetroPie-Extra .

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

                Can you update now RetroPie-Setup and see if the issue re-appears during updates ?

                ExarKunIvE K 2 Replies Last reply Reply Quote 0
                • ExarKunIvE
                  ExarKunIv @mitu
                  last edited by

                  @mitu seems to be working fine for me. most of my system was updated so not much has changed.
                  but it always seemed to aleast fail one time.

                  i will do a clean load on a spare card and let you know after that

                  RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                  RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                  Maintainer of RetroPie-Extra .

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

                    @exarkuniv You can get the latest update log from $RetroPie-Setup/logs and post it on pastebin.com - I don't think a clean install is needed, as long as you're using the latest RetroPie-Setup script.

                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                    • ExarKunIvE
                      ExarKunIv @mitu
                      last edited by

                      @mitu here you go. sorry i had to split it up in three parts due to the ports i have installed. i have not figured out how to have them see if they are running the current version or not

                      https://pastebin.com/S97f0Z8q
                      https://pastebin.com/pmBEPvZ9
                      https://pastebin.com/VNpxBgkP

                      RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                      RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                      Maintainer of RetroPie-Extra .

                      mituM 1 Reply Last reply Reply Quote 0
                      • K
                        kokossexy @mitu
                        last edited by

                        @mitu Just got the 4.7.11 update.

                        Most of the binaries were already up to date but no timeouts / errors occurred.

                        Thx for the prompt fix!

                        PS I did some digging on the curl timeout.

                        Running in verbose showed the beginning of curl output being spammed by

                        Expire in 0 ms for 6 (transfer 0x558820d06dc0)

                        According to Google it is a bug on certain curl version. Maybe this is the actual cause of the increase time of the curl

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

                          @exarkuniv I can't find any obvious errors - I see that binary packages are mostly not updated, probably because they're already up-to-date.

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

                            @kokossexy said in RetroPie Setup can't update/install a lot of packages:

                            Running in verbose showed the beginning of curl output being spammed by
                            Expire in 0 ms for 6 (transfer 0x558820d06dc0)
                            According to Google it is a bug on certain curl version. Maybe this is the actual cause of the increase time of the curl

                            I don't think there's a curl error - you're just seeing some diagnostic/debug messages using verbose logging.

                            Thanks for the update. Let's hope this doesn't bugs users from now on. Btw, @BuZz is the one that fixed the timeout issue, not me.

                            ExarKunIvE 1 Reply Last reply Reply Quote 1
                            • ExarKunIvE
                              ExarKunIv @mitu
                              last edited by

                              @mitu just did a update with a clean load. went perfect. no fails or anything now.
                              @BuZz thanks for clearing this up so fast

                              RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                              RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                              Maintainer of RetroPie-Extra .

                              1 Reply Last reply Reply Quote 1
                              • K
                                kokossexy
                                last edited by

                                @mitu , @BuZz Thank you both :)

                                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.