Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. yum error: unpacking of archive failed on file /opt/openproject/log/delete.me

yum error: unpacking of archive failed on file /opt/openproject/log/delete.me

Added by Al C almost 6 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)

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Oliver Günther almost 6 years ago

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

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Al C almost 6 years ago

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

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Oliver Günther almost 6 years ago

What does lsattr /opt/openproject/log/delete.me` output? It looks like that file has been put on an immutable bit (output will show an i). In that case run chattr -i /opt/openproject/log/delete.me and try again.

Best,

Oliver

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Al C almost 6 years ago

here is the output :

lsattr: No such file or directory while trying to stat /opt/openproject/log/delete.me

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Oliver Günther almost 6 years ago

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 ?

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Oliver Günther almost 6 years ago

Hmm, then something must be preventing the extraction of that package. For example, do you use SELinux or acls?

RE: RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Tom Spettigue almost 2 years ago

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:

Total download size: 194 M
Installed size: 530 M
Is this ok [y/d/N]: y
Downloading packages:
openproject-12.5.7-1686715548.53b19adc.centos7.x86_64.rpm                                                                                                                              | 194 MB  00:00:43     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : openproject-12.5.7-1686715548.53b19adc.centos7.x86_64                                                                                                                                      1/1 
Error unpacking rpm package openproject-12.5.7-1686715548.53b19adc.centos7.x86_64
error: unpacking of archive failed on file /opt/openproject/log/delete.me;64920e64: cpio: open
  Verifying  : openproject-12.5.7-1686715548.53b19adc.centos7.x86_64                                                                                                                                      1/1 

Failed:
  openproject.x86_64 0:12.5.7-1686715548.53b19adc.centos7                                                                                                                                                     

Complete!

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Cyril Rohr almost 2 years ago

Hi Tom,

Was it an upgrade or a fresh install? Can you check whether you have enough disk space as well?

Thanks,

Cyril

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Tom Spettigue almost 2 years ago

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.

RE: yum error: unpacking of archive failed on file /opt/openproject/log/delete.me - Added by Tom Spettigue almost 2 years ago

Eh?

  • (1 - 10/10)
Loading...