• Debian bookworm fails to install

    From Hans@21:1/5 to All on Fri Jun 7 18:10:01 2024
    Hi folks,

    I am running into an issue, I can not explain.

    Let me please shortly describe:

    For my own purposes I am building a live-debian ISO with installer. As I am finetuning some things (not related to the system itself), I am building several ISOs a day.

    The live-build is set to bookworm (not bullseye, as lb config does).

    However, everything is going fine., the live-system is booting well.

    But: When I want to install it, the installer always breaks, when it wants to install grub. (grub-installer fails).

    As I am doing always a fresh install with completely formatting the harddrive, it can not be explained, why this happens.

    And more strange: When I build one version, it is working well. Changing nothing, and building again, suddenly the installer crashes at grub installation and then it will never work again.

    To declare: I can build several times, and every installation is working well, and suddenly without any reason, it breakes. Doing then using one version before (the last one, which worked well), it is still working, but the next build is crashing.

    Ok, I think you understood, what I meant. Well, one reason I could imagine, that the debian mirror, I add during installation process is changing. I am using "deb.debian.org", but when using another mirror in my near, I am running into the same issue.

    I also tried to install grub manually in the console during installation process, using "grub-installer /target", but this did neither work nor show
    much usefull information.

    Any idea, why this is happening? I saw similar messages in some forums, but they are all related to Debian 10, which is rather old (and I suppose, these bugs are fixed).

    Thanks for any hints and help!

    Best regards

    Hans

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael =?utf-8?B?S2rDtnJsaW5n?=@21:1/5 to All on Fri Jun 7 18:30:01 2024
    On 7 Jun 2024 18:01 +0200, from hans.ullrich@loop.de (Hans):
    For my own purposes I am building a live-debian ISO with installer.

    How are you doing this?

    Can you post a script (or something similar) which reliably
    demonstrates the issue when executed within a fresh Debian system?


    I also tried to install grub manually in the console during installation process, using "grub-installer /target", but this did neither work nor show much usefull information.

    Should we take this to mean that it did show _some_ "useful
    information"? If so, what _did_ it show?

    It appears that you are trying something; having some issue; see
    symptoms; draw conclusions; and then tell us about your conclusions
    and ask for a solution to your issue so as to be able to continue with
    what you're trying to do. But without us being able to see what you
    are doing and what happens when you do, _in full_, it's nearly
    impossible to guess from your conclusions what might cause the issue
    you're having in the first place.

    Show us _exactly_ what's happening, as far as you are able. At a
    minimum, make it easy for others to recreate a situation in which you
    see the specific problem.

    In other words, a minimal (non)working example.

    --
    Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Fri Jun 7 19:00:02 2024
    This is a multi-part message in MIME format.

    Am Freitag, 7. Juni 2024, 18:24:11 CEST schrieb Michael Kjörling:
    Hi Michael,
    On 7 Jun 2024 18:01 +0200, from hans.ullrich@loop.de (Hans):
    For my own purposes I am building a live-debian ISO with installer.

    How are you doing this?
    I am starting with lb config (to get a straight live-build environment).

    After this I am edititing all entries in ~/config/bootstrap | binary | common from "bullseye" to
    "bookworm".

    At last I am editing the entry for the name of the image from "live-image" to "RustDesk-live-
    image" (I want it so be named).

    Then lb config --purge.

    After this, I am starting with my own shell script, which contents this line:

    --------------------

    ...

    lb config --purge

    lb config --debian-installer live --bootappend-live "boot=live username=myname hostname=my_hostname..............." (keyboard definitions and so on)

    lb build

    --------------------

    This worked, but from one day to another no more, and this is strange!
    I also did a fresh live-build-environment installation, then it worked 3 or 4 times, and then it
    broke again.




    Can you post a script (or something similar) which reliably
    demonstrates the issue when executed within a fresh Debian system?


    The issue is not in the Debian itself, but it happens, when I want to install it. It happens as well
    on a native system as in Virtualbox itself.

    Maybe I could upload the ISO somewhere, it can be used in Virtualbox and shows the crash
    there, too. However, the ISO is 700MB and you need 8GB harddrive in Virtualbox. Think, not a
    goo idea.

    I also tried to install grub manually in the console during installation process, using "grub-installer /target", but this did neither work nor
    show
    much usefull information.

    Should we take this to mean that it did show _some_ "useful
    information"? If so, what _did_ it show?

    No, it did not show any usefull information. Messages like "grub-installer failed" is no usefull
    information! No reason why...

    It appears that you are trying something; having some issue; see
    symptoms; draw conclusions; and then tell us about your conclusions
    and ask for a solution to your issue so as to be able to continue with
    what you're trying to do. But without us being able to see what you
    are doing and what happens when you do, _in full_, it's nearly
    impossible to guess from your conclusions what might cause the issue
    you're having in the first place.

    Yeah, I know. If I got more information for myself, maybe I could find the reason for myself,
    too. But the installer does not show

    Show us _exactly_ what's happening, as far as you are able. At a
    minimum, make it easy for others to recreate a situation in which you
    see the specific problem.

    In other words, a minimal (non)working example.

    At the moment, I try to use the installer from bullsyeye and the system of bookworm. It can be
    set in the live-build configurations.

    Maybe it is a problem with the debian-bookworm repo (mirroring in process, whatever) and
    tomorrow it will magiacally work again.

    So, I suppose, we should wait. I will try some things here and maybe I can fix it though.

    Thanks for help anyway.

    Best regards


    Hans

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Am Freitag, 7. Juni 2024, 18:24:11 CEST schrieb Michael Kjörling:</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hi Michael,</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; On 7 Jun 2024 18:01 +0200, from hans.ullrich@loop.de (Hans):</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; For my own purposes I am building a live-debian ISO with installer.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; How are you doing this?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I am starting with lb config (to get a straight live-build environment).</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">After this I am edititing all entries in ~/config/bootstrap | binary | common from &quot;bullseye&quot; to &quot;bookworm&quot;.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">At last I am editing the entry for the name of the image from &quot;live-image&quot; to &quot;RustDesk-live-image&quot; (I want it so be named).</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Then lb config --purge.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">After this, I am starting with my own shell script, which contents this line:</p>
    <br /><hr />
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">...</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">lb config --purge</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">lb config --debian-installer live --bootappend-live &quot;boot=live username=myname hostname=my_hostname...............&quot; (keyboard definitions and so on)</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">lb build</p>
    <br /><hr />
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This worked, but from one day to another no more, and this is strange! </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I also did a fresh live-build-environment installation, then it worked 3 or 4 times, and then it broke again.</p>
    <br /><br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Can you post a script (or something similar) which reliably</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; demonstrates the issue when executed within a fresh Debian system?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">The issue is not in the Debian itself, but it happens, when I want to install it. It happens as well on a native system as in Virtualbox itself.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Maybe I could upload the ISO somewhere, it can be used in Virtualbox and shows the crash there, too. However, the ISO is 700MB and you need 8GB harddrive in Virtualbox. Think,
    not a goo idea.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; I also tried to install grub manually in the console during installation</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; process, using &quot;grub-installer /target&quot;, but this did neither work nor</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; show</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; &gt; much usefull information.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Should we take this to mean that it did show _some_ &quot;useful</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; information&quot;? If so, what _did_ it show?</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">No, it did not show any usefull information. Messages like &quot;grub-installer failed&quot; is no usefull information! No reason why...</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; It appears that you are trying something; having some issue; see</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; symptoms; draw conclusions; and then tell us about your conclusions</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; and ask for a solution to your issue so as to be able to continue with</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; what you're trying to do. But without us being able to see what you</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; are doing and what happens when you do, _in full_, it's nearly</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; impossible to guess from your conclusions what might cause the issue</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; you're having in the first place.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Yeah, I know. If I got more information for myself, maybe I could find the reason for myself, too. But the installer does not show </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Show us _exactly_ what's happening, as far as you are able. At a</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; minimum, make it easy for others to recreate a situation in which you</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; see the specific problem.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; In other words, a minimal (non)working example.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">At the moment, I try to use the installer from bullsyeye and the system of bookworm. It can be set in the live-build configurations.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Maybe it is a problem with the debian-bookworm repo (mirroring in process, whatever) and tomorrow it will magiacally work again.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">So, I suppose, we should wait. I will try some things here and maybe I can fix it though.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks for help anyway.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Best regards</p>
    <br /><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hans</p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Fri Jun 7 19:50:01 2024
    This is a multi-part message in MIME format.

    Got it! Found the reason and a fix for it.
    Just not easy to find. It is an dependency-problem!

    What happened?

    Well, in ~config/mylist.list.chroot I added the package "bootcd", which shoul exist in my live-
    system. During build this made no problems and all dependencies are ok. But - during install it
    appears, that there is a dependency conflict with the installer as bootcd needs grub-efi-amd64-
    bin.

    However, when bootcd wants to install, this package will be installed, too as it is dependent. So
    far, so well.
    BUT - grub-efi-amd64-bin conflicts with grub-efi-amd64-bin-signed
    and forces it to deinstall,
    which, you guess it, the debian-installer needs.

    And so the grub-installer crashes!

    Now the question, who should be asked for help? Maintainers of bootcd? Maintainers of debian-
    installer? Or Maintainers of packages?

    I do not know, and as long as I do not know, I can not file a bugreport as none of them (and
    this is fully correct and understandable) is responsible from his sight on.

    However, the problem can easily be reproduced.

    Thanks for reading this, hope it helps. For me, this issue can be closed.

    Best regards

    Hans

    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Got it! Found the reason and a fix for it.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Just not easy to find. It is an dependency-problem!</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">What happened?</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Well, in ~config/mylist.list.chroot I added the package &quot;bootcd&quot;, which shoul exist in my live-system. During build this made no problems and all dependencies are ok.
    But - during install it appears, that there is a dependency conflict with the installer as bootcd needs grub-efi-amd64-bin.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">However, when bootcd wants to install, this package will be installed, too as it is dependent. So far, so well. </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">BUT - grub-efi-amd64-bin conflicts with grub-efi-amd64-bin-signed </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">and forces it to deinstall, </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">which, you guess it, the debian-installer needs. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">And so the grub-installer crashes!</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Now the question, who should be asked for help? Maintainers of bootcd? Maintainers of debian-installer? Or Maintainers of packages? </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I do not know, and as long as I do not know, I can not file a bugreport as none of them (and this is fully correct and understandable) is responsible from his sight on.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">However, the problem can easily be reproduced.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Thanks for reading this, hope it helps. For me, this issue can be closed.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Best regards</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hans&nbsp;&nbsp;&nbsp; </p>
    </body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Wright@21:1/5 to Hans on Fri Jun 7 21:10:01 2024
    On Fri 07 Jun 2024 at 19:48:21 (+0200), Hans wrote:
    Got it! Found the reason and a fix for it.
    Just not easy to find. It is an dependency-problem!

    What happened?

    Well, in ~config/mylist.list.chroot I added the package "bootcd", which shoul exist in my live-
    system. During build this made no problems and all dependencies are ok. But - during install it
    appears, that there is a dependency conflict with the installer as bootcd needs grub-efi-amd64-
    bin.

    However, when bootcd wants to install, this package will be installed, too as it is dependent. So
    far, so well.
    BUT - grub-efi-amd64-bin conflicts with grub-efi-amd64-bin-signed
    and forces it to deinstall,
    which, you guess it, the debian-installer needs.

    And so the grub-installer crashes!

    I can't find the package grub-efi-amd64-bin-signed.
    Where should I look?

    Cheers,
    David.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Hans@21:1/5 to All on Fri Jun 7 21:20:01 2024
    This is a multi-part message in MIME format.

    Looks like a typo from me.

    apt-cache search grub-efi-amd | grep signed
    grub-efi-amd64-signed - GRand Unified Bootloader, version 2 (amd64 UEFI signed by Debian)
    grub-efi-amd64-signed-template - GRand Unified Bootloader, Version 2 (Signaturvorlage für
    EFI-AMD64)

    It is grub-efi-amd64-signed.

    Sorry for that.

    I checked after install: If I want to install package bootcd after installation, no packages will be
    deinstalled, just several added.

    Not sure, what is the difference, between the installation process and the finished installation.

    Best

    Hans
    --------------------


    I can't find the package grub-efi-amd64-bin-signed.
    Where should I look?

    Cheers,
    David.



    <html>
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    </head>
    <body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Looks like a typo from me. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-family:monospace;"><span style="color:#000000;"><span style="background-color:#ffffff;">apt-cache search grub-efi-amd | grep signed </span></span><br />grub-efi-
    amd64-signed - GRand Unified Bootloader, version 2 (amd64 UEFI signed by Debian) <br />grub-efi-amd64-signed-template - GRand Unified Bootloader, Version 2 (Signaturvorlage für EFI-AMD64)<br /><br />It is grub-efi-amd64-signed. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Sorry for that. </span></p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">I checked after install: If I want to install package bootcd after installation, no packages will be deinstalled, just several added.</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Not sure, what is the difference, between the installation process and the finished installation. </p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Best</p>
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Hans</p>
    <hr />
    <br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; I can't find the package grub-efi-amd64-bin-signed.</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Where should I look?</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; </p> <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; Cheers,</p>
    <p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">&gt; David.</p>
    <br /><br /></body>
    </html>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to Hans on Sat Jun 8 12:10:02 2024
    Hi Hans!

    On Sat, Jun 08, 2024 at 11:43:38AM +0200, Hans wrote:
    Hello!

    For those, who are interested in my discovering with bootcd, I attached a screenshot of the
    message, the installer told and why grub can not be installed. It might explain more.


    You might want to try OFTC IRC channel #debian-live or the debian-live
    or debian-boot mailing lists?

    All the very best, as ever,

    Andy
    (amacater@debian.org)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)