[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#868224: linux-image-4.9.0-3-amd64: Upgrade to linux-image-4.9.0-3-amd64 hangs while or after generating initrd



Control: reassign -1 src:initramfs-tools 0.130
Control: tag -1 moreinfo

On Thu, 2017-07-13 at 11:17 +0200, Jens Gruentjes wrote:
[...]
> I upgraded to the latest stable kernel via apt-get upgrade. The upgrade
> hangs at the following point:
> 
> linux-image-4.9.0-3-amd64 (4.9.30-2+deb9u2) wird eingerichtet ...
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
> 
> After waiting a couple of hours I interrupted the upgrade. After that I
> tried dpkg --configure -a or apt-get -f install but the result was
> always the same.
> 
> I trid to build the initrd file manually via
> 
> update-initramfs -u -t
> 
> which worked and created the file /boot/initrd.img-4.9.0-3-amd64
> 
> Another apt-get -f install leads to the same problem that the upgrade
> hangs with 
> 
> /etc/kernel/postinst.d/initramfs-tools:
> update-initramfs: Generating /boot/initrd.img-4.9.0-3-amd64
[...]

Please edit the line 'verbose=0' in /usr/sbin/update-initramfs (near
the bottom) to be 'verbose=1' and then re-run 'dpkg --configure -a'.
This should generate a lot of output but if you send the last, say, 100
lines, I think that should give me a clue where it is getting stuck.

Ben.

-- 
Ben Hutchings
If the facts do not conform to your theory, they must be disposed of.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: