RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [SOLVED] Speed up installations/upgrades

    Scheduled Pinned Locked Moved Ideas and Development
    5 Posts 2 Posters 1.2k 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.
    • O
      OkTekk
      last edited by OkTekk

      Hi there~

      What "shocked" (figure of speech) me a little after a few fresh installs or updates on some rpi is that ... apt update can be called by the scripts like 3, 4 (or even more) times in a row.
      Wouldn't be interresting to add a state variable like what's following ?

      • isChecked = true
      • ...{do install/update of all sources/packages}...
      • isChecked = false
      • ...{return to shell script}...

      But still, RP rox!
      Nice sunny and warm Sunday everyone ^^

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

        @OkTekk we already do that

        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

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

          The only place where it is forced is when installing Kodi, so a fresh list is grabbed when adding the repository (Although the check could be moved to when the repo is added). The rest should do apt-get update once only (If you think it's doing it more than once in a single run, I will need to see a log from RetroPie-Setup/logs)

          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

          1 Reply Last reply Reply Quote 0
          • O
            OkTekk
            last edited by

            well..with you saying that i've recalled those times and it might have been because i install -as well- almost every optionnals and experimentals stuffs :)
            thanks for your answer !

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

              @OkTekk apt-get update should still only once (excl kodi). Apt-get install is called as needed though when each package checks it's dependencies

              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

              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.