I am ruing Ubuntu 14.04 LTS 32 bit version
I started off with the error...
Code:
The volume "Filesystem root" has only 311.6MB disk space remaining.
Code:
df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.3G 8.5G 298M 97% / none 4.0K 0 4.0K 0% /sys/fs/cgroup udev 998M 4.0K 998M 1% /dev tmpfs 202M 1.1M 201M 1% /run none 5.0M 0 5.0M 0% /run/lock none 1007M 156K 1007M 1% /run/shm none 100M 52K 100M 1% /run/user /dev/sda2 61G 3.1G 54G 6% /home df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda1 625856 625856 0 100% / none 220045 2 220043 1% /sys/fs/cgroup udev 215240 496 214744 1% /dev tmpfs 220045 470 219575 1% /run none 220045 3 220042 1% /run/lock none 220045 7 220038 1% /run/shm none 220045 30 220015 1% /run/user /dev/sda2 4014080 33836 3980244 1% /home
I believe the problem here is many old keels on the / partition taking up a lot of space
I tried ...
Code:
dpkg -l | tail -n +6 | grep -E 'linux-image-[0-9]+' | grep -Fv $(uname -r)
So I did a file search for 'linux-image' and found keels 3.13.0-32, 44, 45, 46, 48, 49, 51, 52, 53, 54, 55, 57, 58, 59, (61 the current keel) and (62 the keel that caused the lack of space and is waiting to be installed).
Code:
uname -r 3.13.0-61-generic
Code:
sudo dpkg --purge linux-image-3.13.0-32-generic
Code:
dpkg: error: unable to create new file '/var/lib/dpkg/status-new': No space left on device
برچسب:
نویسنده: استخدام کار