Loading...
 

Update Raspberry Pi

Update raspberry pi

sudo mc
apt-get update
RetroPie-Setup/retropie_setup.sh
apt-get install raspberrypi-ui-mods
apt-get install rpi-uodate
rpi-uodate



Type in the following:
1. sudo apt-get update. Next, we're going to tell your Pi to search through the lists it has just got and update any packages that it already has that has new versions:
2. sudo apt-get upgrade. ...
3. sudo apt-get dist-upgrade.
4. sudo apt-get install raspberrypi-ui-mods. ...
5. sudo halt. ...
6. sudo shutdown -h now.



Upgrade as your risk, make a sd card backup before procedure with upgrade just in case.
1. Update Retropie-Setup script:
sudo ~/RetroPie-Setup/retropie_setup.sh then go to "Update Retropie-Setup script"

2. Edit Sources:
Edit /etc/apt/sources.list and /etc/apt/sources.list.d/raspi.list and replace the keyword "jessie" to "stretch" in every single field.
You can use WinSCP or sudo nano to edit it those.

3. Reboot
sudo shutdown -r now

4. Upgrade OS and installed packages:
sudo apt-get update && sudo apt-get -y upgrade && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove --purge && sudo apt-get -y autoclean

5. Reboot
sudo shutdown -r now

6. Install retropie related packages from source:
sudo ~/RetroPie-Setup/retropie_setup.sh and install everything from source (Retroarch, emulationstation, libretrocores, etc)
Update: the stretch binary's are now available, there is no need to install from source anymore.

7. Reboot
sudo shutdown -r now

Optional: Upgrading firmware to the latest (nightly) version:
sudo 
 && sudo rpi-update followed by a reboot
If you wish to restore the firmware to the stable version you can use this command:
sudo apt-get install --reinstall libraspberrypi-bin libraspberrypi-dev libraspberrypi-doc libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel