You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Cloud Agent Installation Fails With Error"unpacking of archive failed on file <file name>"

Applies To:

Oracle Cloud Infrastructure 

Oracle Linux x86-64 

Symptoms 

Oracle Cloud Agent installation Fails on OCI Centos Instance with error: 

Transaction Summary 
Install 
1 Package 
Total size: 379 M 
Installed size: 379 M 
Downloading packages: 
Running transaction check 
Running transaction test 
Transaction test succeeded 
Running transaction 
Installing : oracle-cloud-agent-1.37.2-10459.el7x86_64 
Error unpacking rpm package oracle-cloud-agent-1.37.2-10459.el7.x86_64 
error: unpacking of archive failed on file /var/log/oracle-cloud-agent: cpio: mkdir 
Verifying 
: oracle-cloud-agent-1.37.2-10459.el7.x86_64 
Failed: 
oracle-cloud-agent.x86_64 0:1.37.2-10459.el7 

Changes

 Oracle Cloud Agent is being manually installed from a downloaded rpm  

Cause

The /var/log directory is owned by the root user and only root can modify it.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!