Whenever I try to install/uninstall any software I get similar error saying that 'No space left on device'. I tried removing old kernels but got similar errors.
gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.19.0-56-generic with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
dpkg: error processing package linux-image-extra-3.19.0-56-generic (--remove):
subprocess installed post-removal script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have triedsudo apt-get autoremove --purge
as suggested online but with no help. I have read the previous post for similar questions too but they did not help either.
Because of this I am unable to install/uninstall anything at all.
sourav@Valkyrie:~$ ls /boot
abi-3.19.0-56-generic initrd.img-4.4.0-34-generic
abi-3.19.0-61-generic initrd.img-4.4.0-34-generic.old-dkms
abi-3.19.0-64-generic lost+found
abi-3.19.0-65-generic memtest86+.bin
abi-4.4.0-34-generic memtest86+.elf
config-3.19.0-56-generic memtest86+_multiboot.bin
config-3.19.0-61-generic System.map-3.19.0-56-generic
config-3.19.0-64-generic System.map-3.19.0-61-generic
config-3.19.0-65-generic System.map-3.19.0-64-generic
config-4.4.0-34-generic System.map-3.19.0-65-generic
grub System.map-4.4.0-34-generic
initrd.img-3.19.0-56-generic vmlinuz-3.19.0-56-generic
initrd.img-3.19.0-56-generic.old-dkms vmlinuz-3.19.0-61-generic
initrd.img-3.19.0-61-generic vmlinuz-3.19.0-64-generic
initrd.img-3.19.0-64-generic vmlinuz-3.19.0-65-generic
initrd.img-3.19.0-65-generic vmlinuz-4.4.0-34-generic
sourav@Valkyrie:~$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 396M 6.4M 390M 2% /run
/dev/mapper/ubuntu--vg-root 913G 215G 652G 25% /
tmpfs 2.0G 248K 2.0G 1% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda1 236M 228M 0 100% /boot
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 396M 64K 396M 1% /run/user/1000
ls /boot
anddf -h
please? (copy and paste and format as code with the{}
button)