[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#183195: dpkg: "Replaces" is not properly handled for "Replaced" packages



Package: dpkg
Version: 1.10.9
Severity: serious

Right now, coreutils replaces debianutils (<= 2.3.1).  However, if I try
to install both packages simultaneously (e.g. using debootstrap), or try
to reinstall debianutils, I get:

dpkg: error processing /var/cache/apt/archives/debianutils_2.3.1_i386.deb (--unpack):
 trying to overwrite `/bin/readlink', which is also in package coreutils

To beat you with the almighty stick that is Policy (7.5.1):

  If an installed package, foo say, declares that it replaces another,
  bar, and an attempt is made to install bar, dpkg will discard files in
  the bar package which would overwrite those already present in
  foo. This is so that you can install an older version of a package
  without problems.


-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux sirius 2.4.20 #2 Fri Feb 28 17:16:28 PST 2003 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages dpkg depends on:
ii  dselect                       1.10.9     a user tool to manage Debian packa
ii  libc6                         2.3.1-14   GNU C Library: Shared libraries an

-- no debconf information



Reply to: