Bug#537897: [grub-common] Must conflict with grub-pc

Robert Wohlrab robert.wohlrab at gmx.de
Tue Jul 21 16:02:14 UTC 2009


Package: grub-common
Version: 1.96+20090721-2
Severity: grave

Both packages provide /usr/bin/grub-fstest and
/usr/share/man/man1/grub-fstest.1.gz. This is a reason to mark it as conflict.
If not then please remove it from one package. The second solutions seems
to be more correct as grub-pc depends on grub-common. If it is moved to
grub-common then please mark grub-pc <= 1.96+200907... as conflicts and replaces
in grub-common.

(Reading database ... 216870 files and directories currently installed.)
Preparing to replace grub-common 1.96+20090709-1 (using .../grub-common_1.96+20090721-2_amd64.deb) ...
Unpacking replacement grub-common ...
dpkg: error processing /var/cache/apt/archives/grub-common_1.96+20090721-2_amd64.deb (--unpack):
 trying to overwrite `/usr/bin/grub-fstest', which is also in package grub-pc
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/grub-common_1.96+20090721-2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of grub-pc:
 grub-pc depends on grub-common (= 1.96+20090721-2); however:
  Version of grub-common on system is 1.96+20090709-1.
dpkg: error processing grub-pc (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 grub-pc

$ dpkg -c /var/cache/apt/archives/grub-common_1.96+20090721-2_amd64.deb|grep grub-fstest
-rwxr-xr-x root/root    161616 2009-07-21 11:47 ./usr/bin/grub-fstest
-rw-r--r-- root/root       614 2009-07-21 11:46 ./usr/share/man/man1/grub-fstest.1.gz
$ dpkg -c /var/cache/apt/archives/grub-pc_1.96+20090721-2_amd64.deb|grep grub-fstest
-rwxr-xr-x root/root    161616 2009-07-21 11:47 ./usr/bin/grub-fstest
-rw-r--r-- root/root       614 2009-07-21 11:46 ./usr/share/man/man1/grub-fstest.1.gz



--- System information. ---
Architecture: amd64

Debian Release: squeeze/sid
  500 unstable        ftp.debian.org
    1 experimental    ftp.debian.org 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-====================
libc6                       (>= 2.3) | 2.9-21
libfreetype6              (>= 2.2.1) | 2.3.9-5
libncurses5      (>= 5.6+20071006-3) | 5.7+20090613-1
zlib1g                  (>= 1:1.1.4) | 1:1.2.3.3.dfsg-14
base-files               (>= 4.0.1~) | 5.0.0


Package's Recommends field is empty.

Suggests           (Version) | Installed
============================-+-===========
multiboot-doc                | 





-- 
Robert Wohlrab





More information about the Pkg-grub-devel mailing list