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

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

On Sun, Mar 02, 2003 at 09:30:01PM -0800, Brian Nelson wrote:
> 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

Replaces is (unfortunately) a one way relationship -- you have to
install the replacing package after the replaced package. Doing this
with essential packages seems a bit odd; not having a fixed debianutils
yet seems quite wrong.


Anthony Towns <aj@humbug.org.au> <http://azure.humbug.org.au/~aj/>
I don't speak for anyone save myself. GPG signed mail preferred.

  ``Dear Anthony Towns: [...] Congratulations -- 
        you are now certified as a Red Hat Certified Engineer!''

Reply to: