In general, apt-get purge the linux-image-generic linux-image linux- headers linux-headers-generic linux-generic packages.
Then you can delete some image files from /boot/ by hand; once one or two are deleted, use apt-get purge to delete the corresponding packages (linux-image-*-generic, linux-headers-*-generic). Be sure to keep at least two bootable kernels. Once you've finished removing packages, re-install the linux-image- generic linux-image linux-headers linux-headers-generic linux-generic packages to ensure you continue to get security updates. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1410272 Title: package linux-image-3.13.0-40-generic 3.13.0-40.69 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 Status in linux package in Ubuntu: Invalid Bug description: been having this erroor for months and i cannot clean out the /boot folder with the autoremove or clean commands :( ProblemType: Package DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-40-generic 3.13.0-40.69 ProcVersionSignature: Ubuntu 3.13.0-39.66-generic 3.13.11.8 Uname: Linux 3.13.0-39-generic x86_64 NonfreeKernelModules: wl ApportVersion: 2.14.1-0ubuntu3.6 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: me 2166 F.... pulseaudio Date: Tue Jan 13 07:40:11 2015 ErrorMessage: subprocess installed post-installation script returned error exit status 2 InstallationDate: Installed on 2014-08-21 (145 days ago) InstallationMedia: Ubuntu-GNOME 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2) MachineType: Dell Inc. Inspiron 1545 ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-39-generic root=/dev/mapper/ubuntu--gnome--vg-root ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: grub-pc 2.02~beta2-9ubuntu1 SourcePackage: linux Title: package linux-image-3.13.0-40-generic 3.13.0-40.69 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2 UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 12/07/2009 dmi.bios.vendor: Dell Inc. dmi.bios.version: A14 dmi.board.vendor: Dell Inc. dmi.chassis.type: 8 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvrA14:bd12/07/2009:svnDellInc.:pnInspiron1545:pvr:rvnDellInc.:rn:rvr:cvnDellInc.:ct8:cvr: dmi.product.name: Inspiron 1545 dmi.sys.vendor: Dell Inc. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1410272/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp