I am using an emonSD-03May2016 image on a Raspberry Pi 3. The SD Card is 8 GB.
Wanting to upgrade to Java 8 I have been following the advice given at: https://raspberrypi.stackexchange.com/questions/45976/how-do-i-update-java-8-in-raspbian
However in the process following invoking the line command:
sudo apt-get purge openjdk*
I’m being advised:
awk: write failure (No space left on device)
awk: close failed on file /tmp/tmp.J5zFRMlYyS/VRRP-MIB (No space left on device)
Running a df -h command line results in:
[email protected](rw):~$ df -h Filesystem Size Used Avail Use% Mounted on /dev/root 3.4G 2.9G 314M 91% / devtmpfs 481M 0 481M 0% /dev tmpfs 486M 0 486M 0% /dev/shm tmpfs 486M 6.6M 479M 2% /run tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 486M 0 486M 0% /sys/fs/cgroup tmpfs 40M 6.1M 34M 16% /var/lib/openhab tmpfs 1.0M 4.0K 1020K 1% /var/lib/dhcpcd5 tmpfs 1.0M 0 1.0M 0% /var/lib/dhcp tmpfs 50M 448K 50M 1% /var/log tmpfs 30M 30M 0 100% /tmp /dev/mmcblk0p1 60M 22M 39M 37% /boot /dev/mmcblk0p3 3.8G 61M 3.6G 2% /home/pi/data
How can the /tmp partition be increased in size sufficient to permit this upgrade to complete itself?