I was getting this, and solved when df told me that /boot was full. I tried to apt-get purge my old kernels but that didnt' work, apt said not enough disk space... um, yeah, that's why i wanted to remove stuff.
apparently apt-get tries to do some sorta boot config before removing, probably keeping things safe, but at the expense of being able to continue if /boot is full. Solution was to go into /boot and delete the old kernel files as root you can find out your current kernel by running uname -r hope it helps! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452184 Title: package linux-image-3.16.0-37-generic (not installed) failed to install/upgrade: cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic .dpkg-new': unexpected end of file or stream To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1452184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs