• 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

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 24 Aug 2018, 01:44

    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 25 Aug 2018, 20:13 Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 24 Aug 2018, 02:26

      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 ?

      C 1 Reply Last reply 24 Aug 2018, 14:50 Reply Quote 0
      • C
        Clyde @mitu
        last edited by 24 Aug 2018, 14:50

        @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 25 Aug 2018, 01:50 Reply Quote 1
        • C
          Collcroc123 @Clyde
          last edited by 25 Aug 2018, 01:50

          @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?

          M C 2 Replies Last reply 25 Aug 2018, 03:00 Reply Quote 0
          • M
            mitu Global Moderator @Collcroc123
            last edited by 25 Aug 2018, 03:00

            @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
            • C
              Clyde @Collcroc123
              last edited by 25 Aug 2018, 05:58

              @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 26 Aug 2018, 00:15 Reply Quote 0
              • S
                SloTayHolmes @Collcroc123
                last edited by 25 Aug 2018, 20:13

                @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 26 Aug 2018, 00:15

                  @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 26 Aug 2018, 00:34

                    @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 26 Aug 2018, 00:59

                      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 14 Oct 2018, 19:30

                        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.

                        M 1 Reply Last reply 14 Oct 2018, 19:49 Reply Quote 0
                        • M
                          mitu Global Moderator @Jareth247
                          last edited by 14 Oct 2018, 19:49

                          @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.

                            This community forum collects and processes your personal information.
                            consent.not_received