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

    Could not install package(s):

    Scheduled Pinned Locked Moved Help and Support
    packagesinstallerroroptional
    12 Posts 5 Posters 11.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.
    • C
      Collcroc123
      last edited by

      Pi Model or other hardware: 3 B
      Power Supply used: 5V USB to microUSB
      RetroPie Version Used: 4.4
      Built From: Image provided by RetroPie
      USB Devices connected: PS3 controller, 16gb USB
      Controller used: PS3 controller
      Error messages received: Could not install package(s): (package name)
      File: Multiple
      Emulator: Multiple
      How to replicate the problem:
      Select nearly any optional package in RetroPie Setup (example: SMW) and install from binary or source.

      I'm connected to WiFi, and 1 or 2 packages have installed but I can't get other packages like DosBox, SMW, DOOM, Kodi etc. to install.

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

        Looks like a problem with the Raspbian repositories and apt-get is unable to install any packages. Can you run from a terminal

        sudo apt-get update
        

        and post the output ?
        Note that any installation is logged in /home/pi/RetroPie-Setup/logs. Can you get the latest log file (by date) from that folder, unpack it (gunzip <file>) and then upload it to pastebin.com to see what's the underlying error ?

        ClydeC 1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @mitu
          last edited by

          @mitu said in Could not install package(s)::

          Note that any installation is logged in /home/pi/RetroPie-Setup/logs. Can you get the latest log file (by date) from that folder, unpack it (gunzip <file>) and then upload it to pastebin.com to see what's the underlying error ?

          I just learned from unix.stackexchange.com that gunzip "$(ls -t | head -n 1)" will unpack the latest file in the current directory.

          @Collcroc123 To use this, just drop to Retropie's console by pressing F4 in Emulation Station and enter these commands:

          cd /home/pi/RetroPie-Setup/logs
          gunzip "$(ls -t | head -n 1)"
          exit
          

          You'll be back in Emulation Station after the exit command, and you'll have the latest Logfile (ending with .log) in the directory /home/pi/RetroPie-Setup/logs. Proceed with it like @mitu said.

          C 2 Replies Last reply Reply Quote 1
          • C
            Collcroc123 @Clyde
            last edited by

            @clyde I cannot find how to type | in the console, as all the buttons are changed around like " and @.
            also, where will the Logfile be? on the MicroSD card?

            mituM ClydeC 2 Replies Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Collcroc123
              last edited by

              @collcroc123 Yes, the logs are on the SD-card. To reconfigure the keyboard, use the Raspi-Config entry in the RetroPie system from Emulationstation to change the keyboard layout - https://thepihut.com/blogs/raspberry-pi-tutorials/25556740-changing-the-raspberry-pi-keyboard-layout.

              1 Reply Last reply Reply Quote 1
              • ClydeC
                Clyde @Collcroc123
                last edited by

                @collcroc123 Two additional questions:

                What is your main operating system? (Windows, MacOS, etc.)

                How do you access the sd card from your computer? (card reader, Windows share / samba, scp / ssh …)

                The answers might help us in helping you if you're having trouble accessing the log file after you fixed the keyboard problem.

                I'm just trying to speed up the process by anticipating further questions. :)

                C 1 Reply Last reply Reply Quote 0
                • S
                  SloTayHolmes @Collcroc123
                  last edited by

                  @collcroc123
                  I had a similiar problem and solved it by updating RetroPie-Setup Script to the latest version.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Collcroc123 @Clyde
                    last edited by

                    @clyde I have Windows 10, and I view my microSD card using a card reader

                    1 Reply Last reply Reply Quote 0
                    • C
                      Collcroc123 @Clyde
                      last edited by

                      @clyde the only folder on my microSD card is called "overlays", nothing labeled "home"
                      When I entered in "gunzip "$(ls -t | head -n 1)"", it replied back with "gzip: RPS_2018-08-25_013435.log.gz: unexpected end of file"

                      1 Reply Last reply Reply Quote 0
                      • C
                        Collcroc123
                        last edited by

                        I may have found the source of the issue. I decided to rewrite my SDcard with a fresh new install of RetroPie. This time, I booted it up without the USB full of roms plugged in. Now i'm able to install any optional packages I want. I'm not sure what in the USB is causing the problem but now at least I know, it seems like that may have been the problem

                        1 Reply Last reply Reply Quote 0
                        • J
                          Jareth247
                          last edited by

                          I'm dealing with the same problem and can't seem to find a viable solution. I'm also afraid to mess up anything. This all started after I did a fresh install on a new microSD card, which is a Sandisk Ultra 64GB Micro SDXC UHS-I Card. I also switched to a Retroflag SuperPi case and iirc I tried to install the script to use the power switch.

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

                            @jareth247 You should open a new topic and provide the latest update log, as described in this topic. And please also add more information about your system - 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.