On Sun, Feb 27, 2022 at 09:02:17PM +0100, Axel Beckert wrote:
> Package: toybox
> Version: 0.8.6+dfsg-2
> Severity: serious
> 
> Hi,
> 
> since I upgraded toybox to 0.8.6+dfsg-2, the initramfs-tools trigger
> fails on my machine:
> 
> Processing triggers for initramfs-tools (0.140) ...
> update-initramfs: Generating /boot/initrd.img-5.16.0-3-amd64
> E: /usr/share/initramfs-tools/hooks/zy-toybox failed with return 1.
> update-initramfs: failed for /boot/initrd.img-5.16.0-3-amd64 with 1.
> dpkg: error processing package initramfs-tools (--configure):
>  installed initramfs-tools package post-installation script subprocess 
> returned error exit status 1
> 
> Unfortunately /usr/share/initramfs-tools/hooks/zy-toybox doesn't note
> what exactly went wrong.
> 
> [...]
> Changing
> 
>   TB_BIN=/usr/bin/toybox
> 
> to
> 
>   TB_BIN=/bin/toybox
> 
> fixes this.

Hi Axel,

Thanks for reporting the bug and the fix.

I've checked why it works on my system. I've tested the package on a Debian
Live environment where /bin is symlink to /usr/bin. \o/

Your fix proposal is correct.
I'll push it to Salsa ASAP.

Thanks for your time!

-- 
Antoni Villalonga
https://friki.cat/

Reply via email to