Bug#696771: E: linux-image-3.2.0-4-amd64: subprocess installed post-installation script returned error exit status 2
- To: Jonathan Nieder <jrnieder@gmail.com>
- Subject: Bug#696771: E: linux-image-3.2.0-4-amd64: subprocess installed post-installation script returned error exit status 2
- From: Z <z.dowson@gmail.com>
- Date: Tue, 01 Jan 2013 22:37:45 +0000
- Message-id: <[🔎] 1357079865.3681.8.camel@debian-zack.blah.blah>
- Reply-to: Z <z.dowson@gmail.com>, 696771@bugs.debian.org
- In-reply-to: <20130101191401.GC16387@elie.Belkin>
- References: <20121226224053.12114.74111.reportbug@debian-zack.blah.blah> <CAFzf2XxD_ua_ALcnx=jwvwogVGtShTLdsZNH9miKV_oVJFXXEw@mail.gmail.com> <1357057322.4937.4.camel@debian-zack.blah.blah> <20130101191401.GC16387@elie.Belkin>
This is the output:
Setting up initramfs-tools (0.109) ...
update-initramfs: deferring update (trigger activated)
Setting up linux-image-3.2.0-4-amd64 (3.2.35-2) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
3.2.0-4-amd64 /boot/vmlinuz-3.2.0-4-amd64
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
mktemp: failed to create directory via template
‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-3.2.0-4-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return
code 1
Failed to process /etc/kernel/postinst.d
at /var/lib/dpkg/info/linux-image-3.2.0-4-amd64.postinst line 696,
<STDIN> line 2.
dpkg: error processing linux-image-3.2.0-4-amd64 (--configure):
subprocess installed post-installation script returned error exit
status 2
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.0-4-amd64
mktemp: failed to create directory via template
‘/var/tmp/mkinitramfs_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-3.2.0-4-amd64 with 1.
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit
status 1
Errors were encountered while processing:
linux-image-3.2.0-4-amd64
initramfs-tools
No I don't mind if you put this on the bug log.
On Tue, 2013-01-01 at 11:14 -0800, Jonathan Nieder wrote:
> Z wrote:
>
> > I am not out of disk space, I am using about 3% of the space on this
> > partition. However, I think there is a problem with partitioning -
> > screenshot attached. Debian is on the 189 extended partition, do you
> > think this could be causing the problem?
>
> There is a complaint about alignment there, but I don't think it should
> affect building the initramfs.
>
> > I'm not sure if the image is
> > configured. I ran "dpkg-reconfigure initramfs-tools", and the output was
> > "/usr/sbin/dpkg-reconfigure: initramfs-tools is broken or not fully
> > installed".
>
> Good. What is the output of "dpkg --configure -a"?
>
> Do you mind if I forward this information to the bug log?
>
> Thanks,
> Jonathan
Reply to: