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

Bug#277890: xutils: file conflict with xbase-clients 4.3.0.dfsg.1-8



# "can't fix"
tag 277890 + wontfix moreinfo
retitle 277890 xutils: dpkg doesn't re-evaluate installed packages' Replaces: headers when upgrading one
thanks

On Sat, Oct 23, 2004 at 02:44:05AM -0400, Andrew Pimlott wrote:
> Package: xutils
> Version: 4.1.0-16woody3
> Severity: minor
> 
> When upgrading xutils on my mixed stable/unstable system, I got
> 
>     Preparing to replace xutils 4.1.0-16woody3 (using .../xutils_4.1.0-16woody4_i386.deb) ...
>     Unpacking replacement xutils ...
>     dpkg: error processing /var/cache/apt/archives/xutils_4.1.0-16woody4_i386.deb (--unpack):
>      trying to overwrite `/usr/X11R6/bin/atobm', which is also in package xbase-clients
> 
> This is evidently because I have xbase-clients 4.3.0.dfsg.1-8 installed.
> 
> No worries if you don't want to support this configuration.

This is not something I think I *can* fix.

I don't think xutils Replaces: xbase-clients (<= 4.3.0.dfsg.1-7) is
something that makes sense to add to woody, nor do I think Martin Schulze
would accept such a change.

If there is a fix for this, it lies in dpkg.  Every time even one package
is upgraded, dpkg would have to rescan the Replaces: headers of all
already-installed packages to see if this error would be suppressed by one
of them.  It could do this on a per-run basis, I suppose, so it would only
be inefficient if you used dpkg a lot to upgrade only one package at a time.

Do you agree?

-- 
G. Branden Robinson                |     When I die I want to go peacefully
Debian GNU/Linux                   |     in my sleep like my ol' Grand
branden@debian.org                 |     Dad...not screaming in terror like
http://people.debian.org/~branden/ |     his passengers.

Attachment: signature.asc
Description: Digital signature


Reply to: