The most recent iRony RPM version (iRony-0.4.6-2.3) generate a transaction error when trying to update with both yum and rpm commands due to a transaction error.
Yum error is: file
/usr/share/iRony/vendor from install of iRony-0.4.6-2.1.el7.kolab_16.noarch conflicts with file from package iRony-0.4.5-3.4.el7.kolab_16.noarch
rpm error:
# rpm -Uvh iRony-0.4.6-2.3.el7.kolab_16.noarch.rpm Preparing... ################################# [100%] file /usr/share/iRony/vendor from install of iRony-0.4.6-2.3.el7.kolab_16.noarch conflicts with file from package iRony-0.4.5-3.4.el7.kolab_16.noarch
The /usr/share/iRony/vendor folder was a folder and it later became a symlink and this is causing troubles.
Forcing the upgrade using the RPM command also fails and leaves a mess (so don't do it!)
# rpm -Uvh iRony-0.4.6-2.3.el7.kolab_16.noarch.rpm --force Preparing... ################################# [100%] Updating / installing... 1:iRony-0.4.6-2.3.el7.kolab_16 ################################# [ 50%] error: unpacking of archive failed on file /usr/share/iRony/vendor: cpio: rename failed - Is a directory error: iRony-0.4.6-2.3.el7.kolab_16.noarch: install failed error: iRony-0.4.5-3.4.el7.kolab_16.noarch: erase skipped
The problem seems to be that the directory was not fully cleaned up before the update, not sure why.
This is an hard to cleanup problem that will block all the updates on the affected machines.
Thank you.
Kind regards.