Rafael Laboissiere wrote:
> * Vincent Fourmond <fourm...@debian.org> [2009-02-23 12:07]:
> 
>> Package: libcolamd-3.2.0
>> Version: 3.2.0-2
>> Severity: grave
>> Justification: fails to upgrade
>>
>>   Hello,
>>
>>   While upgrading lp-solve, insallation of libcolamd-3.2.0 fails
>> because it tries to overwrite files already present on the system:
>>
>> Unpacking libcolamd-3.2.0 (from .../libcolamd-3.2.0_1%3a3.2.0-2_amd64.deb) 
>> ...
>> dpkg: error processing 
>> /var/cache/apt/archives/libcolamd-3.2.0_1%3a3.2.0-2_amd64.deb (--unpack):
>>  trying to overwrite `/usr/lib/libcolamd.so.3.2.0', which is also in package 
>> libsuitesparse-3.2.0
>>
>>   libcolamd-3.2.0 should
>>
>> Replaces: libsuitesparse-3.2.0 (<= 3.2.0-1)
>> Conflicts: libsuitesparse-3.2.0 (<= 3.2.0-1)
>>
>>   (I'm not sure the conflict stanza is necessary).
> 
> I think that the Conflicts is correct, because this is really what happens.
> Both libcolamd-3.2.0_3.2.0-2 and libsuitesparse-3.2.0_3.2.0-1 cannot be
> installed together.
> 
> On the other hand, I think that the Replaces is perhaps inappropriate because 
> libcolamd-3.2.0 does not replace the whole libsuitesparse-3.2.0 package.
> 
> Do you think it will be okay if I add just the Conflicts stanza?

Replaces means it overwrites one or more files of the replaced package
so that one is necessary. The Conflicts tells the packages cannot be
installed together, so it looks like both are needed for this case.

Cheers

Luk





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to