<?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=5244&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] upgrade produces initramfs-tools errors]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=5244</link>
		<description><![CDATA[The most recent posts in [SOLVED] upgrade produces initramfs-tools errors.]]></description>
		<lastBuildDate>Sat, 10 Sep 2022 06:28:23 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] upgrade produces initramfs-tools errors]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37501#p37501</link>
			<description><![CDATA[<p>thank you, aitor!<br />editing &#039;/usr/share/initramfs-tools/hooks/live&#039; solved it.</p>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Sat, 10 Sep 2022 06:28:23 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37501#p37501</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] upgrade produces initramfs-tools errors]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37500#p37500</link>
			<description><![CDATA[<div class="quotebox"><cite>amaro wrote:</cite><blockquote><div><p>Hello everybody!</p><p>during system upgrade got this mesage</p><div class="codebox"><pre><code>update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
W: No zstd in /usr/bin:/sbin:/bin, using gzip</code></pre></div><p>trying to install &#039;zstd&#039; got this one</p><div class="codebox"><pre><code>update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.10.0-16-686-pae with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)</code></pre></div><p>any help is appreciated!<br />thank you in advance!</p></div></blockquote></div><p>The part concerning to <em>dm-verity</em> in <strong>/usr/share/initramfs-tools/hooks/live</strong> should be as follows:</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 /bin/mount
fi</code></pre></div><p>The problem arises trying to copy the mount binary, which is located at <span class="bbc">/bin</span> instead of <span class="bbc">/usr/bin</span>. So, the line:</p><div class="codebox"><pre><code>copy_exec /usr/bin/mount /bin</code></pre></div><p>must be replaced with:</p><div class="codebox"><pre><code>copy_exec /bin/mount</code></pre></div><p>in <ins>live-boot-initramfs-tools</ins></p>]]></description>
			<author><![CDATA[dummy@example.com (aitor)]]></author>
			<pubDate>Sat, 10 Sep 2022 05:43:26 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37500#p37500</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] upgrade produces initramfs-tools errors]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=37499#p37499</link>
			<description><![CDATA[<p>Hello everybody!</p><p>during system upgrade got this mesage</p><div class="codebox"><pre><code>update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
W: No zstd in /usr/bin:/sbin:/bin, using gzip</code></pre></div><p>trying to install &#039;zstd&#039; got this one</p><div class="codebox"><pre><code>update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-16-686-pae
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.10.0-16-686-pae with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)</code></pre></div><p>any help is appreciated!<br />thank you in advance!</p><p>Edit: did some goooooogling but still no result</p><div class="codebox"><pre><code># dpkg -C
The following packages are only half configured, probably due to problems
configuring them the first time.  The configuration should be retried using
dpkg --configure &lt;package&gt; or the configure menu option in dselect:
 initramfs-tools      generic modular initramfs generator (automation)</code></pre></div><div class="codebox"><pre><code># dpkg --configure initramfs-tools
Setting up initramfs-tools (0.142) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.142) ...
update-initramfs: Generating /boot/initrd.img-5.10.0-9-686-pae
live-boot: core filesystems dm-verityE: /usr/share/initramfs-tools/hooks/live failed with return 1.
update-initramfs: failed for /boot/initrd.img-5.10.0-9-686-pae with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools</code></pre></div><div class="codebox"><pre><code># apt install --reinstall -o Dpkg::Options::=&quot;--force-confmiss&quot; initramfs-tools
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 19 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
E: Internal Error, No file name for initramfs-tools:i386</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Sat, 10 Sep 2022 02:50:27 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=37499#p37499</guid>
		</item>
	</channel>
</rss>
