Centos rpm update transaction problem: file conflict

Issues related to applications and software problems
Post Reply
decent
Posts: 1
Joined: 2018/06/26 05:05:56

Centos rpm update transaction problem: file conflict

Post by decent » 2018/06/26 05:15:54

Hey,
I am having a trouble in upgrading the rpm from Project-Adapter-1.0.2-2018.e17.x86_64 to Project-Adapter-1.0.3-2018.e17.x86_64 using puppet.
System detail: CentOS Linux release 7.4.1708, x86_64 GNU/Linux

I am getting the Error:
Error Summary
-------------
Error: /Stage[main]/Profile::Generic_augeas/Mobi_generic_augeas[Project-Adapter]/Package[Project-Adapter]/ensure: change from 1.0.2-2018.el7 to 0:1.0.3-2018.el7 failed: Could not update: Execution of '/bin/yum -d 0 -e 0 -y update mobi-hls-adapter' returned 1: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Transaction check error:
file /etc/cron.d/cleanupsegments from install of Project-Adapter-1.0.3-2018.el7.x86_64 conflicts with file from package Project-Adapter-1.0.2-2018.el7.x86_64
Error Summary
-------------
This is because of folder structure of these two rpm are different:
Project-Adapter-1.0.2-2018.el7.x86_64
/etc/cron.d/cleanupsegments/cleanupsegments.py

Project-Adapter-1.0.3-2018.el7.x86_64
/etc/cron.d/cleanupsegments.py

Note:
In version 1.0.2,
cleanupsegments folder name and cleanupsegments.py file name are same.
But there is no folder named cleanupsegments in version 1.0.3

Even after installing delta rpm the transaction error is coming.
Can anyone please post the correct answer to resolve this problem ?
With un-installing the existing one manually works fine.
Any post may be helpful.

Post Reply