Bug#538177: grub-ieee1275 and grub-coreboot: error when trying to install together
Ralf Treinen
treinen at free.fr
Thu Jul 23 19:40:32 UTC 2009
Package: grub-coreboot,grub-ieee1275
Version: grub-coreboot/1.96+20090721-4
Version: grub-ieee1275/1.96+20090721-4
Severity: serious
User: treinen at debian.org
Usertags: edos-file-overwrite
Date: 2009-07-23
Architecture: amd64
Distribution: sid
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:
WARNING: The following packages cannot be authenticated!
ucf libfreetype6 grub-common grub-coreboot grub-ieee1275
Preconfiguring packages ...
Authentication warning overridden.
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package ucf.
(Reading database ... 8207 files and directories currently installed.)
Unpacking ucf (from .../archives/ucf_3.0018_all.deb) ...
Moving old data out of the way
Selecting previously deselected package libfreetype6.
Unpacking libfreetype6 (from .../libfreetype6_2.3.9-5_amd64.deb) ...
Selecting previously deselected package grub-common.
Unpacking grub-common (from .../grub-common_1.96+20090721-4_amd64.deb) ...
Selecting previously deselected package grub-coreboot.
Unpacking grub-coreboot (from .../grub-coreboot_1.96+20090721-4_amd64.deb) ...
Selecting previously deselected package grub-ieee1275.
Unpacking grub-ieee1275 (from .../grub-ieee1275_1.96+20090721-4_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/grub-ieee1275_1.96+20090721-4_amd64.deb (--unpack):
trying to overwrite `/etc/grub.d/05_debian_theme', which is also in package grub-coreboot
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Processing triggers for man-db ...
Errors were encountered while processing:
/var/cache/apt/archives/grub-ieee1275_1.96+20090721-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
This is a serious bug as it makes installation fail. Possible
solutions are to have the two packages conflict, to rename the common
file in one of the two packages, or to remove the file from one
package and have this package depend on the other package. File
diversions or a Replace relation are another possibility.
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/grub.d/05_debian_theme
usr/sbin/grub-install
usr/sbin/update-grub
usr/sbin/update-grub2
usr/share/grub/default/grub
usr/share/grub/default/grub.md5sum
usr/share/man/man8/grub-install.8.gz
usr/share/man/man8/update-grub.8.gz
usr/share/man/man8/update-grub2.8.gz
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.
-Ralf.
More information about the Pkg-grub-devel
mailing list