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


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

See policy 7.6 at 

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 
   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 
  Selecting previously deselected package grub-coreboot.
  Unpacking grub-coreboot 
(from .../grub-coreboot_1.96+20090725-1_amd64.deb) ...
  Errors were encountered while processing:
  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...

-------------- 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