RoPI4.2Update

run sudo ./update.sh
to update the system files.
After this you can do:
retropie->retrorangepi->update retrorangepi to update to hotfix1 (now the link is fixed)

retropie->retropie setup
update retropie script and these core packages
emulationstation
retroarch
and this optional package
mame2003plus

If you have Orange pi Zeroplus 2 and you need gpio do this:
#install GPIO: Select from EmulationStation:RetroPie - RetrOrangePi - Enable GPIO
#or use this command (wifi will stop working so you will not able to use ssh from wifi)
~/RetrOrangePi/Enable_GPIO.sh
#This command will fix GPIO and WIFI
sudo ~/gpiofix.sh

#to fix mapping of gpio
retropie->retroarch->drivers->joypad changed from udev to sdl2

#if the GPIO service take too much time to start you can try:
sudo systemctl disable ap6212-bluetooth.service
sudo systemctl disable bluetooth.service