<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=5029&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5029</link>
		<description><![CDATA[The most recent posts in [Ceres] apt: initramfs-tools post-installation error [SOLVED].]]></description>
		<lastBuildDate>Sun, 15 Jan 2023 22:24:48 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40324#p40324</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>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&#039;t have to fork live-boot for this.<br />https://sourceforge.net/projects/refracta/files/tools/</p><p>live-boot, live-boot-initramfs-tools and live-boot doc all from 2022-12-16.</p></div></blockquote></div><p>So do I:</p><p><a href="https://dev1galaxy.org/viewtopic.php?id=5244" rel="nofollow">https://dev1galaxy.org/viewtopic.php?id=5244</a></p>]]></description>
			<author><![CDATA[dummy@example.com (aitor)]]></author>
			<pubDate>Sun, 15 Jan 2023 22:24:48 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40324#p40324</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40322#p40322</link>
			<description><![CDATA[<p>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&#039;t have to fork live-boot for this.<br />https://sourceforge.net/projects/refracta/files/tools/</p><p>live-boot, live-boot-initramfs-tools and live-boot doc all from 2022-12-16.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sun, 15 Jan 2023 19:02:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40322#p40322</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=40293#p40293</link>
			<description><![CDATA[<p>@fsmithred, this issue did not properly land in debian/devuan. I am having issues with this bug still</p>]]></description>
			<author><![CDATA[dummy@example.com (MrReplikant)]]></author>
			<pubDate>Sun, 15 Jan 2023 13:22:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=40293#p40293</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35980#p35980</link>
			<description><![CDATA[<p>@fsmithred: ty! <img src="https://dev1galaxy.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (PengouinPdt)]]></author>
			<pubDate>Tue, 17 May 2022 11:31:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35980#p35980</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35949#p35949</link>
			<description><![CDATA[<p>Bug Report:<br /><a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010978" rel="nofollow">https://bugs.debian.org/cgi-bin/bugrepo … ug=1010978</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 14 May 2022 13:44:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35949#p35949</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35916#p35916</link>
			<description><![CDATA[<div class="quotebox"><cite>PengouinPdt wrote:</cite><blockquote><div><p>I did not want to create a symbolic link, I installed usrmerge</p></div></blockquote></div><p>The usrmerge package works by creating symlinks; check <span class="bbc">ls -l /bin/mount</span>.</p><p>Has this problem been reported to Debian as a bug?</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Thu, 12 May 2022 14:04:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35916#p35916</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35912#p35912</link>
			<description><![CDATA[<p>@fsmithred: the connection about usrmerge? <br />On french forum <a href="https://www.debian-fr.org/t/installed-initramfs-tools-package-post-installation-script-subprocess-returned-error-exit/86510/23?u=pengouinpdt" rel="nofollow">debian-fr.org</a>, one user specifies que dm-verity use `mount` binary:</p><div class="codebox"><pre><code># dm-verity support
if [ &quot;${DISABLE_DM_VERITY:-}&quot; != &quot;true&quot; ] &amp;&amp; [ &quot;${DISABLE_DM_VERITY:-}&quot; != &quot;yes&quot; ]
then
	[ &quot;${QUIET}&quot; ] || echo -n &quot; dm-verity&quot;
	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</code></pre></div><p>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. </p><p>Before usrmerge: </p><div class="codebox"><pre><code>$ which -a mount
/bin/mount</code></pre></div><p>After:</p><div class="codebox"><pre><code>$ which -a mount              
/usr/bin/mount
/bin/mount</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (PengouinPdt)]]></author>
			<pubDate>Thu, 12 May 2022 07:58:53 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35912#p35912</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35908#p35908</link>
			<description><![CDATA[<p>I ran into this again today on an upgrade in daedalus. Temporary solution is to downgrade live-boot and live-boot-initramfs-tools to version 1:20210208 which I downloaded from a debian mirror.</p><p>@PenguinPdt: How did you come up with the idea to add usrmerge? What&#039;s the connection?</p><p>BTW, Daedalus is about a week behind Ceres. They are mostly the same right now until Bookworm goes into freeze.</p><p>Edit/Update: Better fix is to put the following line in /etc/live/boot.conf </p><div class="codebox"><pre><code>DISBLE_DM_VERITY=true</code></pre></div><p>This issue will affect anyone who has refractasnapshot installed, because it depends on live-boot.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 11 May 2022 15:06:24 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35908#p35908</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35902#p35902</link>
			<description><![CDATA[<p>@rolfie: Daedalus is not an Unstable version. It&#039;s the future &quot;stable&quot;, actual &quot;testing&quot;. <br />See: <a href="https://www.devuan.org/os/releases" rel="nofollow">https://www.devuan.org/os/releases</a></p><p>Installing the `usrmerge` package solves the problem; update continues without fails.</p><p>---</p><p>@Head_on_a_stick: purge done! (but only live-boot-initramfs-tools was installed)</p>]]></description>
			<author><![CDATA[dummy@example.com (PengouinPdt)]]></author>
			<pubDate>Mon, 09 May 2022 19:17:08 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35902#p35902</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35901#p35901</link>
			<description><![CDATA[<p>@OP: try</p><div class="codebox"><pre><code># apt purge live-boot-initramfs-tools open-infrastructure-system-boot</code></pre></div><p>^ Those packages provide that hook and should not be installed except in the live environment.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 09 May 2022 18:58:37 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35901#p35901</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35900#p35900</link>
			<description><![CDATA[<p>Maybe it helps: Updated my Daedalus VM w/Mate today, worked fine, no issues.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Mon, 09 May 2022 18:05:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35900#p35900</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35898#p35898</link>
			<description><![CDATA[<p>I saw this same error a few days ago. I don&#039;t remember what I was doing, and I&#039;m not sure what I did to fix it. Looking around, I see that I reinstalled initramfs-tools on my daedalus system four days ago. Maybe that was it. I also see that I got an upgrade of initramfs-core (to version 0.141) about 10 days ago.</p><p>Sorry I can&#039;t be more certain about this.</p><p>Edit: Here&#039;s my exact command history. Looks like I couldn&#039;t upgrade until I reinstalled initramfs-tools.</p><div class="codebox"><pre><code> 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</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Mon, 09 May 2022 15:52:12 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35898#p35898</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35897#p35897</link>
			<description><![CDATA[<p>Hi, @Head_on_a_stick</p><div class="quotebox"><blockquote><div><p>From where did you obtain that hook? It shouldn&#039;t be present in an installed system.</p></div></blockquote></div><p> I dont known!</p>]]></description>
			<author><![CDATA[dummy@example.com (PengouinPdt)]]></author>
			<pubDate>Mon, 09 May 2022 15:00:42 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35897#p35897</guid>
		</item>
		<item>
			<title><![CDATA[Re: [Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35895#p35895</link>
			<description><![CDATA[<p>Bonjour PengouinPdt, ça va?</p><div class="quotebox"><cite>PengouinPdt wrote:</cite><blockquote><div><div class="codebox"><pre><code>live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.</code></pre></div></div></blockquote></div><p>From where did you obtain that hook? It shouldn&#039;t be present in an installed system.</p><p>Here are the standard hooks: <a href="https://salsa.debian.org/kernel-team/initramfs-tools/-/tree/master/hooks" rel="nofollow">https://salsa.debian.org/kernel-team/in … ster/hooks</a></p><p>And for future reference my French is (almost) passable but you can make the terminal commands speak English by putting <span class="bbc">LC_ALL=C</span> before the command.</p>]]></description>
			<author><![CDATA[dummy@example.com (Head_on_a_Stick)]]></author>
			<pubDate>Mon, 09 May 2022 14:30:52 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35895#p35895</guid>
		</item>
		<item>
			<title><![CDATA[[Ceres] apt: initramfs-tools post-installation error [SOLVED]]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=35894#p35894</link>
			<description><![CDATA[<p>Hi, </p><p>Today, during my weekly update, the process of apt fails with this error:</p><div class="codebox"><pre><code># apt update &amp;&amp; apt upgrade -y
(...)
Après cette opération, 0 o d&#039;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&#039;exécution :
 initramfs-tools
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)</code></pre></div><p>Next, I tried a `dpkg configure` as: </p><div class="codebox"><pre><code># 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&#039;exécution :
 initramfs-tools</code></pre></div><p>Same result!</p><p>For the `update-initramfs -uv` command, see the paste : <a href="https://0x0.st/omms.txt" rel="nofollow">https://0x0.st/omms.txt</a></p><p>How can I fix this?</p>]]></description>
			<author><![CDATA[dummy@example.com (PengouinPdt)]]></author>
			<pubDate>Mon, 09 May 2022 09:37:38 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=35894#p35894</guid>
		</item>
	</channel>
</rss>
