[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#910959: grub-cloud-amd64: missing Conflicts: grub-coreboot, grub-efi-ia32, grub-ieee1275, grub-xen



Package: grub-cloud-amd64
Version: 0.0.1
Severity: serious
User: treinen@debian.org
Usertags: edos-file-overwrite

Hi,

automatic installation tests of packages that share a file and at the
same time do not conflict by their package dependency relationships has
detected the following problem:

  Selecting previously unselected package grub-cloud-amd64.
  Preparing to unpack .../6-grub-cloud-amd64_0.0.1_amd64.deb ...
  Unpacking grub-cloud-amd64 (0.0.1) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-5Ao0pQ/6-grub-cloud-amd64_0.0.1_amd64.deb (--unpack):
   trying to overwrite '/etc/kernel/postinst.d/zz-update-grub', which is also in package grub-coreboot 2.02+dfsg1-6

It's a bit unfortunate that the grub packages don't use
Provides+Conflicts+Replaces on a virtual package to ensure
only variant is installed. So you'll have to list all the packages
in your Conflicts.

Here is a list of files that are known to be shared by both packages
(according to the Contents file for sid/amd64, which may be
slightly out of sync):

etc/kernel/postinst.d/zz-update-grub
etc/kernel/postrm.d/zz-update-grub

This bug is assigned to both packages. If you, the maintainers of
the two packages in question, have agreed on which of the packages will
resolve the problem please reassign the bug to that package. You may
also register in the BTS that the other package is affected by the bug.

Cheers,

Andreas

PS: for more information about the detection of file overwrite errors
of this kind see https://qa.debian.org/dose/file-overwrites.html


Reply to: