• 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

Chinese users packages install slow/fail

Scheduled Pinned Locked Moved Help and Support
retropie-setuppackage updatenetworkgit errorrepositories
18 Posts 5 Posters 1.5k 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.
  • E
    entropyriser
    last edited by entropyriser 12 Apr 2022, 00:45

    Chinese users have poor connections to github.com,so it's hard for us to install or update any package.We have a similar local website called gitee.com,so I hope dear developers can create a mirror there.Through this the major barrier that users in China face can be removed and there will be more users,contriibuting to the development of the project!

    Edit:I modified the setup script to accelerate source code download---> https://github.com/EntropyRiser/RetroPie-Setup-CN

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 12 Apr 2022, 03:09

      Binary installations are not using Github. Source installations will use Github, since most of the emulator projects are there. But we can't choose what the upstream emulation project(s) use for their source repository, so mirroring them is not up to the RetroPie project.

      Through this the major barrier that users in China face can be removed.

      I think another barrier needs to be removed, the one that slows down the connection to Github.

      E 2 Replies Last reply 12 Apr 2022, 09:32 Reply Quote 1
      • E
        entropyriser @mitu
        last edited by 12 Apr 2022, 09:32

        @mitu Thank you for your reply! I'll try to deal with the problem if I have time.

        1 Reply Last reply Reply Quote 0
        • E
          entropyriser @mitu
          last edited by entropyriser 13 Apr 2022, 07:02

          @mitu I found out that the connection to files.retropie.org.uk is poor too when installing binary packages......We really need a local mirror截图_2022-04-07_10-04-26.png

          1 Reply Last reply Reply Quote 1
          • M
            mitu Global Moderator
            last edited by mitu 13 Apr 2022, 08:12

            You should sort things out with your network provider/ISP then, there's no throttling done on the RetroPie download server.
            Are you able to test from another ISP/Network provider ? How do you know this affects all users from China ?

            E 1 Reply Last reply 13 Apr 2022, 12:22 Reply Quote 0
            • E
              entropyriser @mitu
              last edited by 13 Apr 2022, 12:22

              @mitu I've tried on multiple network providers & devices,and even sometimes retropie.org.uk and this bbc are unable to acccess......It's common in China to be unable to connect to foreign server.This is not your fault at all.And I've seen many posts on some Chinese BBC saying"waiting for hours",through which I believe it's a common condition here.

              B 1 Reply Last reply 13 Apr 2022, 14:30 Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 13 Apr 2022, 12:30

                OK, in this case there's nothing we can do.

                It's unlikely we'll add a mirror to remove this slowdown, but it's not my call to make.

                E 1 Reply Last reply 15 Apr 2022, 07:05 Reply Quote 0
                • B
                  BuZz administrators @entropyriser
                  last edited by 13 Apr 2022, 14:30

                  @entropyriser have you tried using a VPN?

                  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

                  E 1 Reply Last reply 14 Apr 2022, 01:27 Reply Quote 0
                  • E
                    entropyriser @BuZz
                    last edited by 14 Apr 2022, 01:27

                    @BuZz Anyway it's illegal and costs money

                    1 Reply Last reply Reply Quote 0
                    • E
                      entropyriser @mitu
                      last edited by 15 Apr 2022, 07:05

                      @mitu I am trying to edit the retropie_setup script to change the repo address to gitee.com's existing mirror.It works so well ! I cant believe my eyes.截图_2022-04-07_10-04-26.png
                      Screenshot_2022-04-15_15-03-12.png
                      But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions?

                      M 1 Reply Last reply 15 Apr 2022, 07:15 Reply Quote 0
                      • M
                        mitu Global Moderator @entropyriser
                        last edited by 15 Apr 2022, 07:15

                        @entropyriser said in Chinese users packages install slow/fail:

                        But the work load for me is too heavy to change every script and clone them since I'm a student.Do you have solutions?

                        No, I don't have a solution. We're not going to add any mirroring options in the main project, so unless you or someone else is willing to create a fork (on gitee.com or somewhere closer) with the modifications needed, then I don't see the current situation improving for you.

                        P 1 Reply Last reply 15 Apr 2022, 08:40 Reply Quote 0
                        • P
                          pjft @mitu
                          last edited by 15 Apr 2022, 08:40

                          @entropyriser Well, if everything is in gitee.com, I imagine that you could work out some simple command to replace github with gitee from the RetroPie-Setup folder - something like:

                          grep -rl github *.sh | xargs sed -i 's/github/gitee/g'

                          This is untested, but - if this works - this will very much break any updates you might want to make to RetroPie-Setup afterwards, and might break other things, as it'll (supposedly) blindly replace all occurrences of github to gitee - assuming the syntax is ok.

                          ...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?

                          E M 2 Replies Last reply 15 Apr 2022, 11:35 Reply Quote 0
                          • E
                            entropyriser @pjft
                            last edited by 15 Apr 2022, 11:35

                            @pjft Thank you for your advice but only a few of the repos are now on gitee.com so I need to fork them one by one......I will try to manage it later.

                            1 Reply Last reply Reply Quote 0
                            • M
                              mitu Global Moderator @pjft
                              last edited by mitu 15 Apr 2022, 11:47

                              @pjft said in Chinese users packages install slow/fail:

                              ...@mitu could he not change his hostname file to resolve github.com to gitee.com instead?

                              I don't think that will work, especially since:

                              1. TLS needs a proper hostname/site to work.
                              2. The URL syntax is not 100% compatible - i.e. github.com/libretro/RetroArch is mirrored on gitee.com/mirror/RetroArch, so an 1:1 match for the (github) repository name is not possible.
                              E 1 Reply Last reply 16 Apr 2022, 04:18 Reply Quote 0
                              • E
                                entropyriser @mitu
                                last edited by 16 Apr 2022, 04:18

                                @mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?
                                Anyway I'll try later because it's impossible to install retropie on a PC now in China.

                                M 1 Reply Last reply 16 Apr 2022, 05:37 Reply Quote 0
                                • M
                                  mitu Global Moderator @entropyriser
                                  last edited by 16 Apr 2022, 05:37

                                  @entropyriser said in Chinese users packages install slow/fail:

                                  @mitu If I work on the Chinese version of rpsetup,will it be added as a branch to the project?

                                  As I said, it's not up to me.
                                  If it were, the answer would be no - it's not a technical problem that can be solved reliably from the RetroPie side and the majority of the programs installed by it are not under our control. Maintaining and supporting a different mirror/branch is additional work just to work-around your ISP blocking/throttling the rest of the internet. And this is not specific to RetroPie itself, but to other resources that depend on the 'external' internet being accessible and working reliably without interruptions.

                                  1 Reply Last reply Reply Quote 1
                                  • B
                                    BuZz administrators
                                    last edited by 16 Apr 2022, 11:20

                                    Yeah sorry. This isn't going to happen. I agree with @mitu

                                    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

                                    E 1 Reply Last reply 17 Apr 2022, 05:54 Reply Quote 1
                                    • E
                                      entropyriser @BuZz
                                      last edited by 17 Apr 2022, 05:54

                                      @BuZz OK.I've tried to dynamically change the DNS server to visit github.com and successfully installed retropie on Ubuntu(amd64).Maybe I just need to post a solution on local forums to instruct others.

                                      1 Reply Last reply Reply Quote 0
                                      18 out of 18
                                      • First post
                                        18/18
                                        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