Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: Carnophage on 2018/05/15, 20:01:39

Title: [solved] update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction
Post by: Carnophage on 2018/05/15, 20:01:39
Code: [Select]
apt install -fproduces (with a small enchencement of adding set -x in the hook script): http://dpaste.com//3FBMPHH (http://dpaste.com//3FBMPHH)
I do not use btrfs, I have /bin/btrfs but I do not have /bin/btrfs-zero-log
Any ideas if it's my config or something changed in the kernel package?
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: jure on 2018/05/15, 20:13:54
I have the same error

Code: [Select]
Log started: 2018-05-15  18:16:39
initramfs-tools (0.130) wird eingerichtet ...
update-initramfs: deferring update (trigger activated)
Trigger für initramfs-tools (0.130) werden verarbeitet ...
update-initramfs: Generating /boot/initrd.img-4.16.8-towo.2-siduction-amd64
E: /usr/share/initramfs-tools/hooks/btrfs failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64 with 1.
dpkg: Fehler beim Bearbeiten des Paketes initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Fehler traten auf beim Bearbeiten von:
 initramfs-tools
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: piper on 2018/05/15, 20:31:38
Possibly 

https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1604412.html

https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1604410.html
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: Carnophage on 2018/05/15, 20:54:31
Indeed, looks like it. Thanks for the info.
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: jure on 2018/05/15, 21:25:44
fixed in btrfs-progs 4.16.1-2
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898720 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=898720)
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: piper on 2018/05/15, 21:28:24
You beat me to it ;)
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: harley-peter on 2018/05/15, 21:47:04
Where can I find btrfs-progs 4.16.1-2 which seems to fix the bug?
Or can I remove the package btrfs-progs at all because I do not use btrfs?
Title: Re: update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction-amd64
Post by: piper on 2018/05/15, 22:10:03
If you don't use btrfs, you can safely do

Code: [Select]
apt purge btrfs-progs btrfs-tools
btrfs-tools is a transitional dummy package

Just wait it out for btrfs-progs 4.16.1-2, which is part of the ongoing testing transition known as auto-btrfs-progs.

https://release.debian.org/transitions/html/auto-btrfs-progs.html

https://qa.debian.org/cgi-bin/vcswatch?package=btrfs-progs


Title: Re: [solved] update-initramfs: failed for /boot/initrd.img-4.16.8-towo.2-siduction
Post by: jure on 2018/05/16, 00:12:47
done

Code: [Select]
apt policy btrfs-progs
btrfs-progs:
  Installiert:           4.16.1-2
  Installationskandidat: 4.16.1-2
  Versionstabelle:
 *** 4.16.1-2 500
        500 http://httpredir.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status