How to update to PHP7.3 with Write Error 28: No space left on device
I am currently on Ubuntu 16.04 and am running PHP 7.0.33. I am trying to update to. PHP 7.3 to make my Wordpress site run faster.
I followed the standard instructions
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y php7.3
But I received this error
E: Write error - write (28: No space left on device)
E: IO Error saving source cache
E: The package lists or status file could not be parsed or opened.
Running df -h gives me
/dev/vda1 20G 20G 0 100% /
Which I tried to remove it by heading to FileZilla and manually deleting the file.
However, it still appears when I run df-h
Tried to do a reboot, but it is still there too.
Tried sudo apt-get clean too but it doesn’t clean anything.
What should I do?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×