Could not install package(s):
-
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.
-
Looks like a problem with the Raspbian repositories and
apt-get
is unable to install any packages. Can you run from a terminalsudo 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 ? -
@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. -
@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? -
@collcroc123 Yes, the logs are on the SD-card. To reconfigure the keyboard, use the
Raspi-Config
entry in theRetroPie
system from Emulationstation to change the keyboard layout - https://thepihut.com/blogs/raspberry-pi-tutorials/25556740-changing-the-raspberry-pi-keyboard-layout. -
@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. :)
-
@collcroc123
I had a similiar problem and solved it by updating RetroPie-Setup Script to the latest version. -
@clyde I have Windows 10, and I view my microSD card using a card reader
-
@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" -
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
-
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.
-
@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.
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.