conflicts when file changed from 32bit to 64bit

Paul Becker pbecker at unidesk.com
Wed Mar 16 13:14:56 UTC 2016


Sent: Wednesday, March 16, 2016 4:34 AM
To: rpm-list at lists.rpm.org
Subject: Re: conflicts when file changed from 32bit to 64bit

On 03/15/2016 06:05 PM, Paul Becker wrote:
>> I changed one binary file in the RPM from 32bit to 64 bit and now RPM 
>> seems to think it is an all new RPM
>> 
>> and will not update the previous RPM version. RPM complains about file 
>> conflicts and if I force
>> 
>> the install, it keeps the previous RPM installed and I have to remove 
>> it manually.
>> 
>>  
>> 
>> Is there a way I can make this RPM with a new 64 bit binary properly 
>> update the previous RPM installed
>> 
>> that had a 32bit binary in it?
>> 
>>  
>> 
>> yum info still says 32 bit on both the new RPM and the previous RPM.
>> 
>>   Arch        : i386
>> 
>> The only change between the latest RPM and the previous RPM is the 
>> binary file and release version string that was
>> 
>>incremented by one.


>That's pretty weird as there should not be a conflict between a package and its update at all as they are not installed at the same time. Can you post the error message, please?
>
>I wonder if this is a multilib situation where you have both a i386 and an x86_64 package installed and are updating only the i386 package.
>
>Florian

here is my error message.
Thank you for the response.


root at localhost ~]# rpm -Uhv unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386.rpm 
Preparing...                          ################################# [100%]
        file /opt/sbin/netcfg.py from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /root/genSslCert.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /root/getversions.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /root/update_cfg_files.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /root/update_common.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /root/update_unidesk.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386
        file /usr/local/unitools/logconvert.sh from install of unidesk_uniscripts_elm_c7-4.0.0-46.quad.i386 conflicts with file from package unidesk_uniscripts_elm_c7-4.0.0-33.quad.i386

the conflicted files were the files changes since build 33 to 46.
I am actually using 'yum' but I test with 'rpm'.

--thanks

--
Paul Becker
pbecker at unidesk.com


More information about the Rpm-list mailing list