Comment 3 for bug 791468

Revision history for this message
nilandenterprise (nilands55s) wrote :

E: grub-pc: subprocess installed post-installation script returned error exit status 2
E: initramfs-tools: subprocess installed post-installation script returned error exit status 1

E: initramfs-tools: subprocess installed post-installation script returned error exit status 1

Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
ln: cannot remove ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’: No such file or directory
cp: ‘/boot/initrd.img-4.2.0-42-generic’ and ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’ are the same file
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
ln: cannot remove ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’: No such file or directory
cp: ‘/boot/initrd.img-4.2.0-42-generic’ and ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’ are the same file
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools

E: Unable to correct problems, you have held broken packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

E: initramfs-tools: subprocess installed post-installation script returned error exit status 1

Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
ln: cannot remove ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’: No such file or directory
cp: ‘/boot/initrd.img-4.2.0-42-generic’ and ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’ are the same file
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
ln: cannot remove ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’: No such file or directory
cp: ‘/boot/initrd.img-4.2.0-42-generic’ and ‘/boot/initrd.img-4.2.0-42-generic.dpkg-bak’ are the same file
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 initramfs-tools

E: /var/cache/apt/archives/linux-image-4.2.0-42-generic_4.2.0-42.49~14.04.1_amd64.deb: unable to create `/boot/abi-4.2.0-42-generic.dpkg-new' (while processing `./boot/abi-4.2.0-42-generic'): Input/output error

E: linux-image-extra-4.2.0-42-generic: subprocess installed post-installation script returned error exit status 1
E: grub-gfxpayload-lists: subprocess installed post-installation script returned error exit status 1
E: grub-pc: dependency problems - leaving unconfigured
E: grub2: dependency problems - leaving unconfigured
E: initramfs-tools: subprocess installed post-installation script returned error exit status 1