Oracle Cloud Agent Installation Fails With Error"unpacking of archive failed on file <file name>"
in Linux
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.
Tagged:
0