I built live-boot packages with the fix and put them here for people to use until debian builds them. I really hope we don't have to fork live-boot for this.
https://sourceforge.net/projects/refracta/files/tools/live-boot, live-boot-initramfs-tools and live-boot doc all from 2022-12-16.
So do I:
]]>live-boot, live-boot-initramfs-tools and live-boot doc all from 2022-12-16.
]]>I did not want to create a symbolic link, I installed usrmerge
The usrmerge package works by creating symlinks; check ls -l /bin/mount.
Has this problem been reported to Debian as a bug?
]]># dm-verity support
if [ "${DISABLE_DM_VERITY:-}" != "true" ] && [ "${DISABLE_DM_VERITY:-}" != "yes" ]
then
[ "${QUIET}" ] || echo -n " dm-verity"
manual_add_modules dm-verity
# The BusyBox mount does not support dm-verity so we use the util-linux version.
copy_exec /usr/bin/mount /bin
fi
On Devuan, the mount binary is not, by default, on /usr/bin/mount, just on /bin/mount. Either, I create a symlink or install usrmerge. I did not want to create a symbolic link, I installed usrmerge.
Before usrmerge:
$ which -a mount
/bin/mount
After:
$ which -a mount
/usr/bin/mount
/bin/mount
@PenguinPdt: How did you come up with the idea to add usrmerge? What's the connection?
BTW, Daedalus is about a week behind Ceres. They are mostly the same right now until Bookworm goes into freeze.
Edit/Update: Better fix is to put the following line in /etc/live/boot.conf
DISBLE_DM_VERITY=true
This issue will affect anyone who has refractasnapshot installed, because it depends on live-boot.
]]>Installing the `usrmerge` package solves the problem; update continues without fails.
---
@Head_on_a_stick: purge done! (but only live-boot-initramfs-tools was installed)
]]># apt purge live-boot-initramfs-tools open-infrastructure-system-boot
^ Those packages provide that hook and should not be installed except in the live environment.
]]>Sorry I can't be more certain about this.
Edit: Here's my exact command history. Looks like I couldn't upgrade until I reinstalled initramfs-tools.
1968 apt update
1969 exit
1970 less /var/log/apt/history.log
1971 less /var/log/apt/history.log.1
1972 zless /var/log/apt/history.log.1.gz
1973 aptitude reinstall initramfs-tools
1974 exit
1975 less /var/log/apt/history.log
1976 less /var/log/apt/history.log.1
1977 less /var/log/apt/history.log.1.gz
1978 zless /var/log/apt/history.log.1.gz
1979 exit
1980 apt upgrade
1981 exit
From where did you obtain that hook? It shouldn't be present in an installed system.
I dont known!
]]>live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
From where did you obtain that hook? It shouldn't be present in an installed system.
Here are the standard hooks: https://salsa.debian.org/kernel-team/in … ster/hooks
And for future reference my French is (almost) passable but you can make the terminal commands speak English by putting LC_ALL=C before the command.
]]>Today, during my weekly update, the process of apt fails with this error:
# apt update && apt upgrade -y
(...)
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Paramétrage de initramfs-tools (0.141) ...
update-initramfs: deferring update (trigger activated)
Traitement des actions différées (« triggers ») pour initramfs-tools (0.141) ...
update-initramfs: Generating /boot/initrd.img-5.17.0-1-amd64
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.17.0-1-amd64 with 1.
dpkg: erreur de traitement du paquet initramfs-tools (--configure) :
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Next, I tried a `dpkg configure` as:
# dpkg --configure -a
Paramétrage de initramfs-tools (0.141) ...
update-initramfs: deferring update (trigger activated)
Traitement des actions différées (« triggers ») pour initramfs-tools (0.141) ...
update-initramfs: Generating /boot/initrd.img-5.17.0-1-amd64
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.17.0-1-amd64 with 1.
dpkg: erreur de traitement du paquet initramfs-tools (--configure) :
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Des erreurs ont été rencontrées pendant l'exécution :
initramfs-tools
Same result!
For the `update-initramfs -uv` command, see the paste : https://0x0.st/omms.txt
How can I fix this?
]]>