Content
yum error: unpacking of archive failed on file /opt/openproject/log/delete.me
Added by Al C over 5 years ago
Hello,
I am trying to install a version 7.4.7 on CentOS 7 and I do get this error when installing with yum :
Downloading packages:
openproject-7.4.7-1532077196.a556554d.centos7.x86_64.rpm | 133 MB 00:00:09
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : openproject-7.4.7-1532077196.a556554d.centos7.x86_64 1/1
Error unpacking rpm package openproject-7.4.7-1532077196.a556554d.centos7.x86_64
error: unpacking of archive failed on file /opt/openproject/log/delete.me;5d0ae9f6: cpio: open
!!!! /etc/yum/universal-hooks/posttrans/cp_clear_packman_cache is not executable
Verifying : openproject-7.4.7-1532077196.a556554d.centos7.x86_64 1/1
Failed:
openproject.x86_64 0:7.4.7-1532077196.a556554d.centos7
Complete!
Any clue as to what to do ?
Thanks
Replies (10)
Hi,
the error appears to be related to CPanel. The
cp_clear_packman_cache
` comes from a CPanel installation and this error is unrelated to OpenProject.This thread might possibly help you: https://forums.cpanel.net/threads/etc-yum-universal-hooks-posttrans-cp_clear_packman_cache-is-not-executable.540311/
Best,
Oliver
Thanks, this other thread helped fix part of the problem. Now the '
cp_clear_packman_cache'
not executable is gone, but there is still an error apparently with the archive :Running transaction
Installing : openproject-7.4.7-1532077196.a556554d.centos7.x86_64 1/1
Error unpacking rpm package openproject-7.4.7-1532077196.a556554d.centos7.x86_64
error: unpacking of archive failed on file /opt/openproject/log/delete.me;5d0b2572: cpio: open
Verifying : openproject-7.4.7-1532077196.a556554d.centos7.x86_64 1/1
Failed:
openproject.x86_64 0:7.4.7-1532077196.a556554d.centos7
What does
lsattr /opt/openproject/log/delete.me
` output? It looks like that file has been put on an immutable bit (output will show ani
). In that case runchattr -i /opt/openproject/log/delete.me
and try again.Best,
Oliver
here is the output :
lsattr: No such file or directory while trying to stat /opt/openproject/log/delete.me
Please try again with the current stable 9.0.2 packages. However I do suspect that something in your system is blocking that file. I doubt it is related to the OpenProject package and we probably can't help you there. Maybe you use ACLs or SELinux which is causing
open
to fail ?Hmm, then something must be preventing the extraction of that package. For example, do you use SELinux or acls?
I'm getting this same error with the 12.5.6 packages on CentOS 7, and we have SELinux disabled on this server. This is the output I'm getting:
Hi Tom,
Was it an upgrade or a fresh install? Can you check whether you have enough disk space as well?
Thanks,
Cyril
OpenProject is installed to a drive with 2.3 TB free, and it was/is trying to be a fresh install, but like I said, it doesn't appear to be working. :/
It DOES look as though the package manager has left the
/opt/openproject
directory over there, not sure what else it might've dropped elsewhere. We'd LIKE to have it completely installed to our/storage/web/application_files/openproject
folder, as that lives on a fully-encrypted disk.Eh?