STICKY: How to upgrade a Wheezy image to Jessie
Updating the OS and installed packages
1. Modify the file /etc/apt/sources.list – change “wheezy” to “jessie” in the first line, so it reads “deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi”
2. Modify the file /etc/apt/sources.list.d/raspi.list – change “wheezy” to “jessie” in the first line and add “ ui” to the end of that line, so it reads “deb http://archive.raspberrypi.org/debian jessie main ui”
3. Create the directory /home/pi/.config/autostart by typing “mkdir /home/pi/.config/autostart” in a terminal. (Note the . in front of config.)
4. Type “sudo apt-get update” in a terminal to update the apt index files.
5. Type “sudo apt-get dist-upgrade” to start the upgrade process – this will take a couple of hours. Whenever prompted to update a file during this process, choose the Y option to accept the new file; if you don't want to be bothered with these prompts, then call apt-get with the -y option - “sudo apt-get -y dist-upgrade”.
First Jessie boot
Reboot once the upgrade has finished – you will see several messages about “Calling CRDA to update world regulatory domain” – wait until these stop and then login at the command prompt as the pi user.
If the GUI doesn’t start automatically, type “startx” at the command prompt. The desktop will take several minutes to launch as files are updated; the screen will go black, but just wait for it to finish.
Add new packages
Once the desktop has loaded, open a terminal window and type “sudo apt-get install rc-gui libreoffice libreoffice-gtk alacarte bluej greenfoot claws-mail”. This installs the new packages - respectively, the new GUI version of raspi-config, LibreOffice and its GTK extension, the Alacarte menu editor, the BlueJ and Greenfoot Java IDEs and the ClawsMail email client
In a terminal, type:
“cp –ax /usr/share/themes/PiX ~/.themes” – this loads the new version of the PiX GTK theme. (Note the . in front of themes.)
“sudo rm /etc/xdg/autostart/clipit-startup.desktop” – this prevents the ClipIt application from automatically starting on boot
“sudo rm /etc/xdg/autostart/wicd-tray.desktop” – this prevents the Wicd network manager from automatically starting on boot
“sudo rm –rf /var/lib/menu-xdg” – this removes the huge list of application shortcuts in the “Other” menu
“sudo raspi-config nonint do_boot_behaviour_new B4” – this selects boot to desktop with autologin as the pi user
“sudo rm /usr/share/applications/obconf.desktop” – this hides the menu shortcut to the Openbox window manager, whose functionality has been replaced by the Appearance Settings preferences application.
Tidy main menu
There are a number of new Jessie applications which appear in the main menu which have not been tested by us; you may find some of them helpful, but we can’t guarantee that they will all work properly. If you want to keep them, feel free to do so, but if not, you can use the Main Menu Editor under Preferences in the main menu to hide them – launch it and then untick the following entries:
Internet/Deluge BitTorrent Client
Internet/Wicd Network Manager
Sound & Video/Alsamixergui
Sound & Video/Audio Mixer
Sound & Video/GNOME MPlayer
System Tools/Disk Management
Preferences/Time and Date
Preferences/Users and Groups