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

Bug#184635: dpkg fails to respect Replaces: when a package being partially replaced is installed after the replacement.

Package: dpkg
Version: 1.10.9
Severity: normal

Suppose I have two packages A and B. B Replaces: A but does not provide
or conflict with A, it merely replaces a few files from A. If I install
A first and then B, it works. If I install B first and then A, dpkg
complains that files from A already exist in B and aborts installation.
The Policy, section 7.5.1, says A should be installed but the files that
also are in B should not be installed, B's files should be kept. This
makes sense, because in that case it means it doesn't matter in which
order A and B are installed.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux haplo 2.5.64-bk7 #2 Thu Mar 13 13:29:42 CET 2003 i686
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (ignored: LC_ALL set)

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: