Same issue here, on 12.04.5 LTS even after Joseph's instructions (install -f, clean, and update), I still get this:
user@server:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: linux-image-generic-lts-trusty : Depends: linux-image-3.13.0-57-generic but it is not installed E: Unmet dependencies. Try using -f. Then trying with -f, I get user@server:~$ sudo apt-get upgrade -f Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following NEW packages will be installed: linux-image-3.13.0-57-generic 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 9 not fully installed or removed. Need to get 52.5 MB of archives. After this operation, 197 MB of additional disk space will be used. Do you want to continue [Y/n]? Y Get:1 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.13.0-57-generic amd64 3.13.0-57.95~precise1 [52.5 MB] Fetched 52.5 MB in 9s (5,559 kB/s) (Reading database ... 456007 files and directories currently installed.) Unpacking linux-image-3.13.0-57-generic (from .../linux-image-3.13.0-57-generic_3.13.0-57.95~precise1_amd64.deb) ... Done. dpkg: error processing /var/cache/apt/archives/linux-image-3.13.0-57-generic_3.13.0-57.95~precise1_amd64.deb (--unpack): unable to clean up mess surrounding `./boot/vmlinuz-3.13.0-57-generic' before installing another version: Read-only file system dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-57-generic /boot/vmlinuz-3.13.0-57-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-57-generic /boot/vmlinuz-3.13.0-57-generic Errors were encountered while processing: /var/cache/apt/archives/linux-image-3.13.0-57-generic_3.13.0-57.95~precise1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) however, /boot doesn't appear to be mounted read only: user@server:~$ mount ... /dev/sda1 on /boot type ext4 (rw) ... -- 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/1467398 Title: [STAGING] package linux-image-3.13.0-55-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding `./boot/System.map-3.13.0-55-generic' before installing another version: Read-only file system Status in linux package in Ubuntu: Incomplete Bug description: it was because /boot directory is read-only ProblemType: Package DistroRelease: Ubuntu 14.04 Package: linux-image-3.13.0-55-generic (not installed) ProcVersionSignature: Ubuntu 3.13.0-54.91-generic 3.13.11-ckt20 Uname: Linux 3.13.0-54-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.11 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: kovserg 5012 F.... pulseaudio Date: Mon Jun 22 09:11:48 2015 DuplicateSignature: package:linux-image-3.13.0-55-generic:(not installed):unable to clean up mess surrounding `./boot/System.map-3.13.0-55-generic' before installing another version: Read-only file system ErrorMessage: unable to clean up mess surrounding `./boot/System.map-3.13.0-55-generic' before installing another version: Read-only file system HibernationDevice: RESUME=UUID=2685e596-7183-4a2a-9d7b-675c0464674b InstallationDate: Installed on 2014-06-30 (356 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417) MachineType: ASUSTeK COMPUTER INC. N56VJ ProcFB: 0 inteldrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-54-generic.efi.signed root=/dev/mapper/vg01-os ro quiet splash PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: grub-pc N/A SourcePackage: linux StagingDrivers: keucr Title: [STAGING] package linux-image-3.13.0-55-generic (not installed) failed to install/upgrade: unable to clean up mess surrounding `./boot/System.map-3.13.0-55-generic' before installing another version: Read-only file system UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 08/29/2012 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: N56VJ.203 dmi.board.asset.tag: ATN12345678901234567 dmi.board.name: N56VJ dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: 1.0 dmi.chassis.asset.tag: No Asset Tag dmi.chassis.type: 10 dmi.chassis.vendor: ASUSTeK COMPUTER INC. dmi.chassis.version: 1.0 dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN56VJ.203:bd08/29/2012:svnASUSTeKCOMPUTERINC.:pnN56VJ:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnN56VJ:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0: dmi.product.name: N56VJ dmi.product.version: 1.0 dmi.sys.vendor: ASUSTeK COMPUTER INC. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1467398/+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