Bug#540492: fails to install, trying to overwrite other packages files

Holger Levsen holger at layer-acht.org
Sat Aug 8 12:02:37 UTC 2009


Package: grub-linuxbios
Version: 1.96+20090725-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package failed to install because 
it tries to overwrite other packages files without declaring a replaces 
relation.

See policy 7.6 at 
http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

From the attached log (scroll to the bottom...):

  Preparing to replace grub-common 1.96+20080724-16 
(using .../grub-common_1.96+20090725-1_amd64.deb) ...
  Unpacking replacement grub-common ...
  dpkg: error 
processing /var/cache/apt/archives/grub-common_1.96+20090725-1_amd64.deb 
(--unpack):
   trying to overwrite `/usr/lib/grub/update-grub_lib', which is also in 
package grub-linuxbios
  dpkg-deb: subprocess paste killed by signal (Broken pipe)
  Preparing to replace grub-linuxbios 1.96+20080724-16 
(using .../grub-linuxbios_1.96+20090725-1_amd64.deb) ...
  Unpacking replacement grub-linuxbios ...
  dpkg: warning: unable to delete old directory '/etc/grub.d': Directory not 
empty
  Selecting previously deselected package grub-coreboot.
  Unpacking grub-coreboot 
(from .../grub-coreboot_1.96+20090725-1_amd64.deb) ...
  Errors were encountered while processing:
   /var/cache/apt/archives/grub-common_1.96+20090725-1_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)


Please not that this package doesnt have this problem if just installed on 
sid. The test done here includes an upgrade from the version in lenny, please 
check the full log for details...


regards,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub-linuxbios_1.96+20090725-1.log
Type: text/x-log
Size: 148837 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090808/50e72a8a/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090808/50e72a8a/attachment-0001.pgp>


More information about the Pkg-grub-devel mailing list