Your message dated Tue, 11 May 2021 22:37:28 +0100
with message-id <[email protected]>
and subject line Re: Bug#988392: Impossible to install grub-pc and 
grub-efi-amd64 in parallel
has caused the Debian Bug report #988392,
regarding Impossible to install grub-pc and grub-efi-amd64 in parallel
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
988392: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988392
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:grub
Version: 2.04-18
Severity: normal


Dear Debian folks,


I have a Debian installation on a disk, I carry around, and I want to boot on BIOS and (U)EFI systems. This would be possible with the switch `--target`.

    sudo grub-install --target=i386-pc --boot-directory=/boot /dev/sda

and

    sudo grub-install --target=x86_64-efi /dev/sda

Unfortunately I am unable to install both packages in parallel as they conflict (Replaces?) with each other.

    $ apt show grub-pc
    […]
Replaces: grub, grub-common (<= 1.97~beta2-1), grub-coreboot, grub-efi-amd64, grub-efi-ia32, grub-ieee1275, grub-legacy, grub2 (<< 2.04-18)

The GRUB build system also does not seem to allow to configure the build to build the platforms in parallel, but in the end the files in `/usr/lib/grub/` should be able to coexist.

It’ be great if Debian’s GRUB packages could be installed in parallel.


Kind regards,

Paul

--- End Message ---
--- Begin Message ---
On Tue, May 11, 2021 at 09:19:28PM +0200, Paul Menzel wrote:
> I have a Debian installation on a disk, I carry around, and I want to boot
> on BIOS and (U)EFI systems. This would be possible with the switch
> `--target`.
> 
>     sudo grub-install --target=i386-pc --boot-directory=/boot /dev/sda
> 
> and
> 
>     sudo grub-install --target=x86_64-efi /dev/sda
> 
> Unfortunately I am unable to install both packages in parallel as they
> conflict (Replaces?) with each other.
> 
>     $ apt show grub-pc
>     […]
>     Replaces: grub, grub-common (<= 1.97~beta2-1), grub-coreboot,
> grub-efi-amd64, grub-efi-ia32, grub-ieee1275, grub-legacy, grub2 (<<
> 2.04-18)

The purpose of grub-pc and grub-efi-amd64 is to own the system's boot
process, and so only one of those may be installed at once; those
Conflicts are deliberate.  However, to support your use case, you can
install grub-pc-bin and grub-efi-amd64-bin in parallel, and doing so
gives you enough to be able to run the grub-install commands you're
asking for.

-- 
Colin Watson (he/him)                              [[email protected]]

--- End Message ---

Reply via email to