<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5963&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / grup-pc on ceres, bug introduced because of /usr/merge]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5963</link>
		<description><![CDATA[The most recent posts in grup-pc on ceres, bug introduced because of /usr/merge.]]></description>
		<lastBuildDate>Mon, 20 Nov 2023 03:17:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45504#p45504</link>
			<description><![CDATA[<p>try </p><div class="codebox"><pre><code>dpkg-fsys-usrunmess</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (czeekaj)]]></author>
			<pubDate>Mon, 20 Nov 2023 03:17:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45504#p45504</guid>
		</item>
		<item>
			<title><![CDATA[Re: grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44158#p44158</link>
			<description><![CDATA[<p>The script is installed by grub-common, hence it possibly affects any flavor of grub.<br />I run in the same problem when upgrading grub-efi-amd64.<br />Note that my PC came with a pre-installed usr-merged Ubuntu, Then I moved to Debian and dpkg warned me that my system was not in accordance with the Debian policy to have separated /bin /sbin etc. and I was not guaranteed that any upgrade would have been safe. <br />So I used a scipt to revert my system to a non-merged one.<br />Now instead Bookworm follows a strict usr-merged policy <img src="http://dev1galaxy.org/img/smilies/sad.png" width="15" height="15" alt="sad" /><br />What to do? I think, anyway, it is time to discuss moving (or not) Devuan.</p>]]></description>
			<author><![CDATA[dummy@example.com (gg)]]></author>
			<pubDate>Fri, 08 Sep 2023 07:45:52 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44158#p44158</guid>
		</item>
		<item>
			<title><![CDATA[Re: grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44134#p44134</link>
			<description><![CDATA[<p>I don&#039;t think is it fixed in version 2.12~rc1-9 of grub-pc, which appeared in the repos yesterday:</p><div class="quotebox"><blockquote><div><p>Generating grub configuration file ...<br />Found linux image: /boot/vmlinuz-6.4.0-4-amd64<br />Found initrd image: /boot/initrd.img-6.4.0-4-amd64<br />/usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found<br />dpkg: error processing package grub-pc (--configure):<br /> installed grub-pc package post-installation script subprocess returned error ex<br />it status 127</p></div></blockquote></div><div class="quotebox"><blockquote><div><p>apt policy grub-pc<br />grub-pc:<br />&#160; Installed: 2.12~rc1-9</p></div></blockquote></div><p>After the upgrade produced this error, I did a complete removal of grub with:</p><div class="quotebox"><blockquote><div><p>apt remove grub-common grub-pc grub-pc-bin grub2-common --purge</p></div></blockquote></div><p>And then installed with:</p><div class="quotebox"><blockquote><div><p>apt install grub-common grub-pc grub-pc-bin grub2-common os-prober</p></div></blockquote></div><p>And it still produced the error above.<br />/etc/grub.d/25_bli is there and it contains:</p><div class="codebox"><pre><code>#!/usr/bin/sh
set -e

# &lt;comments removed&gt;

cat &lt;&lt; EOF
if [ &quot;\$grub_platform&quot; = &quot;efi&quot; ]; then
  insmod bli
fi
EOF</code></pre></div><p>lines #290-305 of /usr/sbin/grub-mkconfig are:</p><div class="codebox"><pre><code>for i in &quot;${grub_mkconfig_dir}&quot;/* ; do
  case &quot;$i&quot; in
    # emacsen backup files. FIXME: support other editors
    *~) ;;
    # emacsen autosave files. FIXME: support other editors
    */\#*\#) ;;
    *)
      if grub_file_is_not_garbage &quot;$i&quot; &amp;&amp; test -x &quot;$i&quot; ; then
        echo
        echo &quot;### BEGIN $i ###&quot;
        &quot;$i&quot;
        echo &quot;### END $i ###&quot;
      fi
    ;;
  esac
done</code></pre></div><p>Thanks sangam:</p><div class="quotebox"><blockquote><div><p>isn&#039;t changing shebang of /etc/grub.d/25_bli to #!/bin/sh should fix this?</p></div></blockquote></div><p>It sure did, and it installed without error after doing an &quot;apt dist-upgrade&quot;</p><p>This package will need to be edited after installing or updating, or rebuilt.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Thu, 07 Sep 2023 13:05:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44134#p44134</guid>
		</item>
		<item>
			<title><![CDATA[Re: grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44102#p44102</link>
			<description><![CDATA[<p>The fix is already in git:<br /><a href="https://salsa.debian.org/grub-team/grub/-/commit/d0b16ebc5de71c317e1c6098a3517df6acddbba9" rel="nofollow">https://salsa.debian.org/grub-team/grub … f6acddbba9</a></p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 06 Sep 2023 14:06:04 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44102#p44102</guid>
		</item>
		<item>
			<title><![CDATA[Re: grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44098#p44098</link>
			<description><![CDATA[<p>So it&#039;s not going to be fixed?<br />edit: isn&#039;t changing shebang of /etc/grub.d/25_bli to #!/bin/sh should fix this?</p>]]></description>
			<author><![CDATA[dummy@example.com (sangam)]]></author>
			<pubDate>Wed, 06 Sep 2023 06:44:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44098#p44098</guid>
		</item>
		<item>
			<title><![CDATA[grup-pc on ceres, bug introduced because of /usr/merge]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=44080#p44080</link>
			<description><![CDATA[<p>I have a ceres mbr install (no efi) and I just did my daily update and got this error:</p><div class="quotebox"><blockquote><div><p>/usr/sbin/grub-mkconfig: 300: /etc/grub.d/25_bli: not found<br />dpkg: error processing package grub-pc (--configure):<br /> installed grub-pc package post-installation script subprocess returned error ex<br />it status 127<br />Errors were encountered while processing:<br /> grub-pc</p></div></blockquote></div><p>An explanation can be found <a href="https://groups.google.com/g/linux.debian.bugs.dist/c/N3tE1pCPhTM" rel="nofollow">here</a> from the developer, but to quote the last entry:</p><div class="quotebox"><blockquote><div><p>While this has been fixed upstream already, systems like yours are<br />also not supported anymore, since merged-usr is mandatory since<br />bookworm.</p><p>I&#039;m going to set a fixed version in the future for the version<br />that includes the fix.</p></div></blockquote></div><p>So, if you are running ceres, you might want to pin grub to what you have got and hold off on the update to version 2.12~rc1-7:</p><div class="quotebox"><blockquote><div><p>apt policy grub-pc<br />grub-pc:<br />&#160; Installed: 2.12~rc1-7<br />&#160; Candidate: 2.12~rc1-7<br />&#160; Version table:<br /> *** 2.12~rc1-7 500<br />&#160; &#160; &#160; &#160; 500 <a href="http://deb.devuan.org/merged" rel="nofollow">http://deb.devuan.org/merged</a> ceres/main amd64 Packages<br />&#160; &#160; &#160; &#160; 100 /var/lib/dpkg/status</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Tue, 05 Sep 2023 14:29:27 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=44080#p44080</guid>
		</item>
	</channel>
</rss>
