Bug#537878: dpkg: error trying to overwrite `/usr/share/man/man8/grub-install.8.gz', which is also in package grub-legacy

Micah Anderson micah at debian.org
Tue Jul 21 14:14:18 UTC 2009


Package: grub-pc
Version: 1.96+20090709-1
Severity: important

I tried to install grub2, which of course brought in grub-pc and
grub2, and scheduled the removal of the 'grub' package.

What resulted was the following:

The following NEW packages will be installed:
  grub-pc{a} grub2 
The following packages will be REMOVED:
  grub{a} 
0 packages upgraded, 2 newly installed, 1 to remove and 2 not upgraded.
Need to get 810kB of archives. After unpacking 1778kB will be used.
Do you want to continue? [Y/n/?] +grub2-splashimages
The following NEW packages will be installed:
  grub-pc{a} grub2 grub2-splashimages 
The following packages will be REMOVED:
  grub{a} 

...

Preconfiguring packages ...
(Reading database ... 259500 files and directories currently installed.)
Removing grub ...
Selecting previously deselected package grub2-splashimages.
(Reading database ... 259500 files and directories currently installed.)
Unpacking grub2-splashimages (from .../grub2-splashimages_1.0.0_all.deb) ...
Selecting previously deselected package grub-pc.
Unpacking grub-pc (from .../grub-pc_1.96+20090709-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/grub-pc_1.96+20090709-1_i386.deb (--unpack):
 trying to overwrite `/usr/share/man/man8/grub-install.8.gz', which is also in package grub-legacy
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Selecting previously deselected package grub2.
Unpacking grub2 (from .../grub2_1.96+20090709-1_i386.deb) ...
Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/grub-pc_1.96+20090709-1_i386.deb

Micah


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-vserver-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.27          Debian configuration management sy
ii  grub-common              1.96+20090709-1 GRand Unified Bootloader, version 
ii  libc6                    2.9-21          GNU C Library: Shared libraries
ii  ucf                      3.0018          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
pn  desktop-base                  <none>     (no description available)
ii  genisoimage                   9:1.1.9-1  Creates ISO-9660 CD-ROM filesystem
pn  os-prober                     <none>     (no description available)





More information about the Pkg-grub-devel mailing list