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

    Problems connecting to mirror for manual install

    Scheduled Pinned Locked Moved Help and Support
    manual installerrorcant connectmirrors
    2 Posts 2 Posters 1.1k 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.
    • V
      Vance
      last edited by

      I am trying a manual install of Retropie ontop of an existing Raspbian install. I am using a Pizero w. Everything works fine until I get to "sudo ./retropie_setup.sh"

      It starts fine, but fails eventually. See the log below. I am located in Beijing. Is there a way to force the download from another mirror?


      pi@raspberrypi:~/RetroPie-Setup $ sudo ./retropie_setup.sh
      Did not find needed package(s): dialog xmlstarlet python-pyudev. I am trying to install them now.
      Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
      Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
      Reading package lists... Done
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
      lxkeymap python-cairo python-gtk2 python-xklavier
      Use 'sudo apt autoremove' to remove them.
      Suggested packages:
      python-qt4 python-pyside.qtcore
      The following NEW packages will be installed:
      dialog python-pyudev xmlstarlet
      0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
      Need to get 279 kB/517 kB of archives.
      After this operation, 1,773 kB of additional disk space will be used.
      Err:1 http://mirrors.opencas.cn/raspbian/raspbian stretch/main armhf dialog armh f 1.3-20160828-2
      Could not connect to mirrors.opencas.cn:80 (2001:cc0:2020:4075::211). - connec t (101: Network is unreachable) [IP: 2001:cc0:2020:4075::211 80]
      Err:2 http://mirrors.opencas.cn/raspbian/raspbian stretch/main armhf python-pyud ev all 0.21.0-1
      Unable to connect to mirrors.opencas.cn:http: [IP: 2001:cc0:2020:4075::211 80]
      E: Failed to fetch http://mirrors.opencas.cn/raspbian/raspbian/pool/main/d/dialo g/dialog_1.3-20160828-2_armhf.deb Could not connect to mirrors.opencas.cn:80 (2 001:cc0:2020:4075::211). - connect (101: Network is unreachable) [IP: 2001:cc0:2 020:4075::211 80]
      E: Failed to fetch http://mirrors.opencas.cn/raspbian/raspbian/pool/main/p/pyude v/python-pyudev_0.21.0-1_all.deb Unable to connect to mirrors.opencas.cn:http: [IP: 2001:cc0:2020:4075::211 80]
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
      Unable to install packages required by /home/pi/RetroPie-Setup/retropie_packages .sh - Could not install package(s): dialog xmlstarlet python-pyudev.

      jonnykeshJ 1 Reply Last reply Reply Quote 0
      • jonnykeshJ
        jonnykesh @Vance
        last edited by jonnykesh

        @vance Even trying those URLs in a browser returns errors. Did you run sudo apt-get update first? Maybe the mirrors have been changed for China.
        If that doesn't work you can try commenting out the Chinese mirrors and adding alternatives from this list https://www.raspbian.org/RaspbianMirrors to /etc/apt/sources.list
        I'm not sure how that will work in China though so...

        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.