There is a logs folder under RetroPie-Setup - which will have the details - for example why those packages couldn’t be installed.
There is a logs folder under RetroPie-Setup - which will have the details - for example why those packages couldn’t be installed.