[RetroPie-LMDE] Utility Script to assist with installing RetroPie on Linux Mint Debian Edition.
-
@mitu said
RetroPie-Setup identifies LMDE as a Debian derivative less than 9 and applies [libpng12-dev] instead of [libpng-dev].
Isn't this correct ? For which version of LMDE ?
The Errors were during RetroPie Setup v4.8.2 - Basic Install.
It was failing to install EmulationStation due to missing [libpng12-dev].
Applied Minimal tweak to the [helpers.sh] to get past it.Tested on x2 different LMDE PCs.
OS: LMDE 4 (debbie) x86_64 Kernel: 4.19.0-18-amd64
Linuxmint
LMDE 4 (debbie)
4
debbieOS: LMDE 5 (elsie) x86_64 Kernel: 5.10.0-19-amd64
Linuxmint
LMDE 5 (elsie)
5
elsie@mitu said
EmulationStation Fails to GIT.
What does this mean ? What error you get ?
There are a few make Errors related libraries...
I uploaded an Error Log from my LMDE4 Machine to GIT for reference.
Example_ES-LMDE_rps.log -
@RapidEdwin08 said in [RetroPie-LMDE] Utility Script to assist with installing RetroPie on Linux Mint Debian Edition.:
It was failing to install EmulationStation due to missing [libpng12-dev].
Can you please post the output of
lsb_release -sidrc apt search ^libpng
The distro version may be incorrectly set and this may cause the an incorrect identification.
There are a few make Errors related libraries...
Ok, so there are errors during build, but they're not
git
related, as you said earlier. From the log, I see an older version of ES is selected, probably because your OS is mis-identified or considered too old to build the current stable version. The build is failing because of a missing package (libboost-date-time-dev
). -
@mitu said
Ok, so there are errors during build, but they're not
git
related, as you said earlier. From the log, I see an older version of ES is selected, probably because your OS is mis-identified or considered too old to build the current stable version. The build is failing because of a missing package (libboost-date-time-dev
).Thanks, I updated the ES Error info.
Makes sense about misidentified OS, both LMDE4/5 are attempting to git 0lder ES v2.6.7.I was able to get past install of 0lder ES v2.7.6 on LMDE4 after installing [libboost-date-time-dev].
For LMDE5 it still fails with 0lder ES v2.6.7 even after installing the Boost Libraries.
Here's an example log: Example_ES-LMDE5_rps.log
Using the Tweaks in the Script gets me a working ES v2.12.0-DEV on both LMDE4/5 for now.Output from both LMDE4/5 lsb_release -sidrc:
Linuxmint LMDE 4 (debbie) 4 debbie
Linuxmint LMDE 5 (elsie) 5 elsie
Output from both LMDE4/5 apt search ^libpng:
p libpng++-dev - C++ interface to the PNG (Portable Network Graphics) library i libpng-dev - PNG library - development (version 1.6) p libpng-dev:i386 - PNG library - development (version 1.6) p libpng-sixlegs-java - Sixlegs Java PNG Decoder p libpng-sixlegs-java-doc - Documentation for Sixlegs Java PNG Decoder i A libpng-tools - PNG library - tools (version 1.6) p libpng-tools:i386 - PNG library - tools (version 1.6) i libpng16-16 - PNG library - runtime (version 1.6) i A libpng16-16:i386 - PNG library - runtime (version 1.6) p libpnglite-dev - lightweight C library for loading and writing PNG images p libpnglite-dev:i386 - lightweight C library for loading and writing PNG images p libpnglite0 - lightweight C library for loading and writing PNG images p libpnglite0:i386 - lightweight C library for loading and writing PNG images
-
Looking at the detection of LMDE, I see it's ignored by the detection script. The
linuxmint
part is just handling the non-LMDE variant here. I guess you need to add something to handle LMDE in order to have the correct__os_debian_version
. Something like:.. LinuxMint|Linuxmint) if [[ "$__os_desc" != LMDE* ]]; then if compareVersions "$__os_release" lt 18; then error="You need Linux Mint 18 or newer" elif compareVersions "$__os_release" lt 19; then __os_ubuntu_ver="16.04" __os_debian_ver="8" elif compareVersions "$__os_release" lt 20; then __os_ubuntu_ver="18.04" __os_debian_ver="10" else __os_ubuntu_ver="20.04" __os_debian_ver="11" fi fi # Add LMDE if [[ "$__os_desc" == LMDE* ]]; then if compareVersions "$__os_release" lt 5; then __os_debian_ver=10 else __os_debian_ver=11 fi fi ..
-
@mitu THANK YOU
Your suggestion Works Perfectly on both LMDE4/5, gives me ES Stable branch, and it's only a Single File [system.sh] that needs to be tweaked.
I updated the OP and added lmde_rpsetup.diffThanks again @mitu
-
Identifying LMDE has been added to RetroPie-Setup, you just need to update the Setup script and it should work without any other patches.
-
@mitu Thanks again for all you do...
LMDE6 is available.
lsb_release -sidrcLinuxmint LMDE 6 (faye) 6 faye
[~/RetroPie-Setup/scriptmodules/system.sh]:
if [[ "$__os_desc" == LMDE* ]]; then if compareVersions "$__os_release" lt 4; then error="You need Linux Mint Debian Edition 4 or newer" elif compareVersions "$__os_release" lt 5; then __os_debian_ver="10" elif compareVersions "$__os_release" lt 6; then __os_debian_ver="11" else __os_debian_ver="12" fi fi
-
@RapidEdwin08 said in [RetroPie-LMDE] Utility Script to assist with installing RetroPie on Linux Mint Debian Edition.:
LMDE6 is available.
Not sure if we're supposed to update our scripts or it already works with the existing RetroPie-Setup. LMDE 6 is based on Debian 12 Bookworm, so the
__os_debian_ver
should be correct. -
@mitu said in [RetroPie-LMDE] Utility Script to assist with installing RetroPie on Linux Mint Debian Edition.:
Not sure if we're supposed to update our scripts or it already works with the existing RetroPie-Setup. LMDE 6 is based on Debian 12 Bookworm, so the __os_debian_ver should be correct.
$__os_debian_ver detected for LMDE6 was 11.
For a test I added a [echo $__os_debian_ver > tmp.log] to the End of the function get_os_version().
Then just ran the ./retropie_setup to see the output.
The $__os_debian_ver output in my test was 11.You can confirm this on a Live USB of LMDE6 too.
-
@RapidEdwin08 I thought you posted the Retropie-Setup code, not your additions. Feel free to send a PR to support LDME 6.
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.