Update RaspberryPi1/2:Debian 7 „Wheezy“ to Debian 8 „Jessie“
Posted: Sat 05 Sep 2015 5:07 pm
Today was a boring day and I had some time and updated the Operating System of my Raspberry Pi1
(RASPBIAN) from Debian 7 „Wheezy“ to Debian 8 „Jessie“.
I want to share with you, the steps I did.
Since there is no Official Image Version of Raspbian with Debian 8 yet, you can easily update your Raspberry Pi manually.
This instruction should also work for Raspberry Pi2 but I tested on my old RaspberryPi1.
The time you should calculate for the complete Update is about 2 hours.
This instruction should apply for RaspberryPi1/RaspberryPi2 and also BananaPi with a Debian 7 (wheezy)
Before you start, please have a backup of your SD Card or at least a backup of your CumulusMX folder.
How to find out the current Version of the OS: cat /etc/*-release
How to fiond out the Kernel Verison installed on the RaspberryPi: uname -a
Old: PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
Linux Cumulus 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
New: PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Linux Cumulus 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux
Step1: Remove MONO
Remove Mono in case you want to work with MONO Verison4 which is meanwhile available (Beta) for the Raspberry Pi1.
I think it is also a good Idea to remove Mono 4 on a Raspberry Pi2 to have a clean install of Mono from the Jessi Repository when running Debian 8.
sudo apt-get remove mono-complete
sudo apt-get autoremove
Step2: Change to the new Debian 8 Repository
sudo nano /etc/apt/sources.list
Please change the line which contain "wheezy" and replace it with "jessie"
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
Once you changed it to jessie CTRL+O and CTRL+X to leave editor
Step3: Update form Debian7 (wheezy) to Debian8 (jessie)
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
This might take up to 2 hours and it might happen that you sometimes beeing asked for interaction (type Yes or no)
sudo reboot
Step4: removing obsolete packages and clean up
sudo apt-get autoremove -y && sudo apt-get autoclean
sudo apt-get purge -y $(dpkg -l | awk ‚/^rc/ { print $2 }‘
Step5: Installing MONO from Debian8 (Jessie) Repository
The next step is only needed if you are on a RaspberryPi1 and want to install a Beta Version of Mono4
If you are okay with Mono 3.x, ignore the next line. Choose one of the next files to edit:
sudo nano /etc/apt/sources.list.d/raspi.list or sudo nano /etc/apt/sources.list
insert a new line:
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main
CTRL+O and CTRL+X to leave editor
The next command is for all Raspberry Pi since Mono should be installed again
sudo apt-get install mono-complete
Once this is done, you need of course run: sudo raspi-config to configure your system, time and localisation.
Please be aware, the system is booting into GUI. If you don't want GUI, disable it with raspi-config.
Have fun with the most current Debian and CumulusMX
....and of course, cumulusmx.sh and cumulusnow.sh are still working on Debian 8
Jan
(RASPBIAN) from Debian 7 „Wheezy“ to Debian 8 „Jessie“.
I want to share with you, the steps I did.
Since there is no Official Image Version of Raspbian with Debian 8 yet, you can easily update your Raspberry Pi manually.
This instruction should also work for Raspberry Pi2 but I tested on my old RaspberryPi1.
The time you should calculate for the complete Update is about 2 hours.
This instruction should apply for RaspberryPi1/RaspberryPi2 and also BananaPi with a Debian 7 (wheezy)
Before you start, please have a backup of your SD Card or at least a backup of your CumulusMX folder.
How to find out the current Version of the OS: cat /etc/*-release
How to fiond out the Kernel Verison installed on the RaspberryPi: uname -a
Old: PRETTY_NAME="Raspbian GNU/Linux 7 (wheezy)"
Linux Cumulus 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
New: PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
Linux Cumulus 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux
Step1: Remove MONO
Remove Mono in case you want to work with MONO Verison4 which is meanwhile available (Beta) for the Raspberry Pi1.
I think it is also a good Idea to remove Mono 4 on a Raspberry Pi2 to have a clean install of Mono from the Jessi Repository when running Debian 8.
sudo apt-get remove mono-complete
sudo apt-get autoremove
Step2: Change to the new Debian 8 Repository
sudo nano /etc/apt/sources.list
Please change the line which contain "wheezy" and replace it with "jessie"
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
Once you changed it to jessie CTRL+O and CTRL+X to leave editor
Step3: Update form Debian7 (wheezy) to Debian8 (jessie)
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
This might take up to 2 hours and it might happen that you sometimes beeing asked for interaction (type Yes or no)
sudo reboot
Step4: removing obsolete packages and clean up
sudo apt-get autoremove -y && sudo apt-get autoclean
sudo apt-get purge -y $(dpkg -l | awk ‚/^rc/ { print $2 }‘
Step5: Installing MONO from Debian8 (Jessie) Repository
The next step is only needed if you are on a RaspberryPi1 and want to install a Beta Version of Mono4
If you are okay with Mono 3.x, ignore the next line. Choose one of the next files to edit:
sudo nano /etc/apt/sources.list.d/raspi.list or sudo nano /etc/apt/sources.list
insert a new line:
deb http://plugwash.raspbian.org/mono4 jessie-mono4 main
CTRL+O and CTRL+X to leave editor
The next command is for all Raspberry Pi since Mono should be installed again
sudo apt-get install mono-complete
Once this is done, you need of course run: sudo raspi-config to configure your system, time and localisation.
Please be aware, the system is booting into GUI. If you don't want GUI, disable it with raspi-config.
Have fun with the most current Debian and CumulusMX
....and of course, cumulusmx.sh and cumulusnow.sh are still working on Debian 8
Jan