I made a minor update to a custom RPM specfile and rebuilt the rpm and yum repo. I got no errors when building but when I tried to upgrade the package I got an error:
Updating : my-package-4.10.1-4.el6.noarch 1/2
Error unpacking rpm package my-package-4.10.1-4.el6.noarch
error: unpacking of archive failed on file /usr/share/my-package/host/webroot/js/tinymce/plugins/emotions/js/emotions.js;4f881fcf: cpio: open
my-package-4.10.1-2.el6.noarch was supposed to be removed but is not!
Anyone have any clue to what may have happened?
After doing a colmplete update and trying to install again, I no longer received the error, and the package was updated successfully. I am still very curious about how this happened.