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
Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Update RaspberryPi1/2:Debian 7 „Wheezy“ to Debian 8 „Jessie“
Moderator: mcrossley
-
jank
- Posts: 239
- Joined: Sat 13 Jun 2015 5:57 pm
- Weather Station: FineOffset WS3080
- Operating System: Debian Buster - Raspbian - Raspb
- Location: Germany - nearby Kassel
Re: Update RaspberryPi1/2:Debian 7 „Wheezy“ to Debian 8 „Jes
Next boring day. I did this also now on my RaspberryPi2 with success.
It took about 90 Minutes and finally, when all were done, I did the fdollowing.
While the system was inastaled I ve been asked about the Swapfile.
Use the old value or a new value based on Debian 8.
I choosed new Settings and a 2 GB Swapfile was being created.
On a Raspberry Pi, just running CumulusMX you don't need a 2 GB Swapfile
I disabled the Swapfile at all
/etc/init.d/dphys-swapfile stop
sudo nano /etc/dphys-swapfile
change the line with/to ----> CONF_SWAPSIZE=0
CTRL+O and CTRL+X to leave nano
/etc/init.d/dphys-swapfile start
the 2 GB swapfile disapeared and my system was much more responsive as before
It took about 90 Minutes and finally, when all were done, I did the fdollowing.
While the system was inastaled I ve been asked about the Swapfile.
Use the old value or a new value based on Debian 8.
I choosed new Settings and a 2 GB Swapfile was being created.
On a Raspberry Pi, just running CumulusMX you don't need a 2 GB Swapfile
I disabled the Swapfile at all
/etc/init.d/dphys-swapfile stop
sudo nano /etc/dphys-swapfile
change the line with/to ----> CONF_SWAPSIZE=0
CTRL+O and CTRL+X to leave nano
/etc/init.d/dphys-swapfile start
the 2 GB swapfile disapeared and my system was much more responsive as before