Re: file conflicts

Gerry Reno <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Seth Vidal wrote:
>
>
> On Thu, 21 May 2009, Gerry Reno wrote:
>
>> On the x86_64 systems I am bumping into this quite a bit:
>>
>> file /usr/share/....fileX in PKG.x86_64 conflicts with file from 
>> PKG.i586 (or i386)
>>
>> These packages are trying to write out the same man pages or other 
>> docs to the exact same file. It would seem that there needs to be 
>> some type of versioning related to documentation so that you could 
>> have multiple versions of the same package installed. The next 
>> question is how do you get around this problem. I've had to use 'rpm 
>> --force' to get by this type of problem. Is that the only solution?
>>
>
> It depends on the pkgs involved in the error:
>
> if the pkgs are different versions and different archs then you need 
> to get the same ver of both archs. If you STILL get the error then you 
> have found a packaging bug and need to report it to whomever provided 
> those pkgs.
>
>
> hope this helps.
> -sv
>
If you do:
yum install PKG # want x86_64 version

sometimes you will get the file conflict error because the existing 
PKG.i586 is not at the same version as what is in the repository for 
PKG.x86_64. So I think yum should see that and schedule an update for 
PKG.i586 and then the file check would succeed. Right now you have to 
deal with this manually.

Regards,
Gerry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.